KlipperWrt
KlipperWrt copied to clipboard
[guide] DSLR snapshots - mainboard GPIO triggered
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
Screenshots taken from here: https://klipper.wiki/index.php/Creality_4.2.2