Duet 2 trigger device from Gcode
-
Hello,
So I've been interested in triggering external devices (i.e. a camera) which require either a leading edge or falling edge. The signal can be up to 24V, but the logical 0 is less than 1.2V and the logical 1 is 3V and above. I would like to send an M command to signal the trigger during the gcode. First thought was to use a fan output, but I don't believe the pwm will provide the single leading edge I need to trigger once. Maybe a heater output could be used?
Does anyone have a suggestion on signaling an on/off trigger signal? I'm currently using the Duet 2 wifi with a Duex 5 board on the E3D Toolchanger system.
Best,
Chris
-
-
@phaedrux said in Duet 2 trigger device from Gcode:
take a look here
https://duet3d.dozuki.com/Wiki/Using_servos_and_controlling_unused_IO_pins
Thanks for the information. I must have read this document several times already. It summarizes the method for defining pins well.
I think I'll use the CS5 pin to ground for my application. The hiccup I've had in the literature is finding out what the supplies voltages are. Based on the referenced document, there is no PWM and I believe the output is 3.3V when triggered for CS5 pin.