How To Setup Octoprint to take Timelapses with a DSLR camera
YouTube Viewers YouTube Viewers
10.4K subscribers
10,385 views
0

 Published On Jun 27, 2021

In this video, I setup Octoprint on a Raspberry Pi 3 B+ with GCode System Commands to take timelapses with my Nikon D5300 DSLR camera.



Equipment used:
Raspberry Pi 3 B+
Nikon D5300 DSLR Camera
Prusa MK2.5S 3D Printer

Changes in octopi-wpa-supplicant.txt:
WPA/WPA2 secured network
Remove hashtags, and set your wifi name and password
uncomment the correct country for your raspberry pi at the bottom


Putty Host Name (or IP Address):
octopi.local

Default Octopi Username: pi
Default Octopi Password: raspberry

Linux commands:
sudo raspi-config
sudo apt-get update
sudo apt-get install gphoto2
gphoto2
gphoto2 --auto-detect
gphoto2 --auto-detect --set-config capturetarget=1 --trigger-capture

GCode System Commands:
OCTO1 gphoto2 --auto-detect --set-config capturetarget=1 --trigger-capture

Slicer Settings:
G60 S01 ; This stores the current location of the hot end to memory
G0 X200 Y180 ; This moves the hot end to X200 and Y180
M400 ; wait for previous commands to finish before continuing
G4 P0500 ; This pauses the hotend for half a second
OCTO1 ; This tells Octoprint to send a command to gphoto2 to take a picture
G61 S01 ; This moves the hot end back to the location that was stored in memory.



Download Octoprint:
https://octoprint.org/download/



Download Balena Etcher:
https://www.balena.io/etcher/


Download Notepad++:
https://notepad-plus-plus.org/downloads/


Download PuTTy:
https://www.putty.org/


00:00:00 Intro
00:00:28 Discussion
00:01:08 Hardware Used
00:01:21 Download Octoprint
00:01:50 Download balenaEtcher
00:02:16 Flash Octoprint to SD Card
00:02:58 Modify File on SD Card
00:04:11 Move SD Card to Pi
00:04:26 Setup Octoprint in Browser
00:05:05 Update Octoprint
00:05:22 Download PuTTY
00:05:46 Connect to Pi with PuTTY
00:06:28 Change pi user Password
00:07:20 Update/Install gphoto2
00:08:18 Test gphoto2
00:09:10 Install GCode System Commands
00:10:02 Test OCTO setup
00:10:18 Change Slicer settings
00:10:30 Slice and Print
00:11:02 Timelapse and Discussion
00:11:47 Outro

show more

Share/Embed