Skip to content
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 - mainboard GPIO triggered #16

Open
ihrapsa opened this issue Jul 20, 2021 · 0 comments
Open

[guide] DSLR snapshots - mainboard GPIO triggered #16

ihrapsa opened this issue Jul 20, 2021 · 0 comments
Labels
documentation Improvements or additions to documentation

Comments

@ihrapsa
Copy link
Owner

ihrapsa commented Jul 20, 2021

This macro triggers pin PC6 on the Creality v4.2.2 board display port and can be used to trigger a 3.3V relay module in order to act as a shutter for your DSLR.
Call this cheese macro inside your slicer layer change post processing settings.

Note!
To make parked snapshots you have to put this cheese macro inside another macro that parks the head and call this latter macro inside the slicer instead.

Many thanks to Fry Sennberg for this

[output_pin dslr_shutter]
pin: PC6

[gcode_macro cheese]
gcode:
  SET_PIN PIN=dslr_shutter VALUE=1 ; set pin high
  G4  P200 ; dwell for x ms
  SET_PIN PIN=dslr_shutter VALUE=0 ; set pin low

image

image

Screenshots taken from here: https://klipper.wiki/index.php/Creality_4.2.2

@ihrapsa ihrapsa added the documentation Improvements or additions to documentation label Jul 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant