-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[guide] DSLR snapshots - gphoto2 triggered #18
Comments
Stumbled across this while doing a google search for how to get DSLRs working with klipper, I had totally forgotten about the shell command extension.. Anyway I made a macro that implements parking the toolhead, maybe someone will find it useful:
|
Woa this is awesome, thanks for sharing! ☺ |
For debugging messages, please use the --debug option.
Please make sure there is sufficient quoting around the arguments. pi@speeder-pad: *** Error *** *** Error *** ?????? whats problem ? |
Please explain your issue properly first. |
whats problem ??? pi@speeder-pad:~$ gphoto2 --auto-detect
|
Please state your issue properly. I don't know anything about your setup, what you did to try to fix it, when those errors happen and so on. And please format any logs you have properly between "```" marks or click on the |
maybe late but it is the USB port you plug it in! |
Use
gphoto2
to trigger a DSLR shutter. With this software you can also transfer pictures to the Linux controlling device as well. Luckily this package is available inside OpenWrt repo:opkg update && opkg install gphoto2 libgphoto2-drivers-ptp2
Note!
There are a lot of other drivers so if with this one your cammera is not detected when you run
gphoto2 --auto-detect
you might have to try others. Look in here forlibgphoto2-drivers-*
packages to find a possible driver name.Connection:
Useful comands
gphoto2 --trigger-capture
gphoto2 --list-files
gphoto2 --get-config capturetarget
gphoto2 --set-config capturetarget=1
to change save location to SD card instead of camera RAMExecuting shell commands in klipper
Unofficial extension here by Arksine
Needs to be copied to
klipper/klippy/extras
Configurations here
Macro tamplate
❗ Make sure the
Capture Target
is set toMemory card
. Usegphoto2 --get-config capturetarget
to check that andgphoto2 --set-config capturetarget=1
to change itUse
GPHOTO_TAKE_FRAME
in slicer after layer changeYou can also create another macro (named for ex:
GPHOTO_TAKE_PARKED_FRAME
) that parks the head and calls the aboveGPHOTO_TAKE_FRAME
macro. This will create nicer timelapses with the head out of the way. Don't forget to useGPHOTO_TAKE_PARKED_FRAME
inside slicer Z layer change instead.video tutorial:
https://www.youtube.com/watch?v=1eAYxnSU2aw
Maybe useful for my D3300:
https://github.com/gphoto/libgphoto2/blob/master/camlibs/ptp2/cameras/nikon-d3300.txt
The text was updated successfully, but these errors were encountered: