GIPO - Canon EOS R8 - 2.5mm
How can I configure my Prusa MK4S with the GPIO board to trigger a camera and take a picture right after each layer change? The camera uses a 2.5 mm AUX input, and I currently use a microswitch on another printer to trigger it. I’d like to switch to using the GPIO functionality on the MK4S instead. How can I achieve this, and what G-code or methods are recommended?
RE: GIPO - Canon EOS R8 - 2.5mm
Try the following post. He demonstrates triggering a cellphone to take stop-motion pictures. It should be somewhat similar to what yay need.
RE: GIPO - Canon EOS R8 - 2.5mm
When I first read it and watched the video, it became clear that this wasn’t a simple solution. Disappointing.
RE: GIPO - Canon EOS R8 - 2.5mm
Your situation should be quite a bit simpler using your Canon camera. You’ll just need the GPIO board. You probably wont even have to do any soldering if you already have a shutter release cable. Just plug it in to the GPIO board and setup the gcode to use pin 0 as an output per the video.
RE: GIPO - Canon EOS R8 - 2.5mm
The cable used to take a picture is a standard 2.5mm AUX cable. From what you’re saying, I simply need to plug one end into the AUX port on the GPIO board and the other end into the camera’s 2.5mm AUX input.
After that, I should call M262 P0 B0 to set pin 0 as an output pin.
This shouldn’t send any electrical current through the cable to the camera that could damage it, correct?
Or do I need to connect it in a different way? I don’t want to risk damaging my $1600 camera. 🙂
RE:
I am just checking the Canon R8.
Cable Jack 2.5 mm to Jack 2.5 mm is just plug and play.
The pins in the open drain section are not able to send any current to nowhere.
They are basically just connecting pin from the open drain section to the GND.
Use M262 P0 B0 to set the pin 0 as output.
Use M264 P0 B1 to connect the pin 0 to GND.
Use G4 P200 to wait 200ms.
Use M264 P0 B0 to disconnect the pin 0 from GND.
So the whole G-Code is:
M262 P0 B0 M264 P0 B1 G4 P200 M264 P0 B0
Btw... I am using Canon R5C... 😅
RE: GIPO - Canon EOS R8 - 2.5mm
You’re correct on the cable hookup. The connection will appear to your camera exactly the same as a micro switch. All it does is closes a circuit, just like the micro switch does. You’ll need to add gcode for the layer changes, per the video. I look forward to seeing some time-lapse video from you soon!
The cable used to take a picture is a standard 2.5mm AUX cable. From what you’re saying, I simply need to plug one end into the AUX port on the GPIO board and the other end into the camera’s 2.5mm AUX input.
After that, I should call M262 P0 B0 to set pin 0 as an output pin.
This shouldn’t send any electrical current through the cable to the camera that could damage it, correct?
Or do I need to connect it in a different way? I don’t want to risk damaging my $1600 camera. 🙂
RE: GIPO - Canon EOS R8 - 2.5mm
You’re correct on the cable hookup. The connection will appear to your camera exactly the same as a micro switch. All it does is closes a circuit, just like the micro switch does. You’ll need to add gcode for the layer changes, per the video. I look forward to seeing some time-lapse video from you soon!
The cable used to take a picture is a standard 2.5mm AUX cable. From what you’re saying, I simply need to plug one end into the AUX port on the GPIO board and the other end into the camera’s 2.5mm AUX input.
After that, I should call M262 P0 B0 to set pin 0 as an output pin.
This shouldn’t send any electrical current through the cable to the camera that could damage it, correct?
Or do I need to connect it in a different way? I don’t want to risk damaging my $1600 camera. 🙂
It depends on the signaling of his microswitch. If the microswitch connects to ground when closed then yes, the GPIO board (which mostly acts like a microswitch to ground) should work, and won't need a debounce circuit. If his microswitch connects to some logical high signal there might be some additional circuitry required.
Without knowing the details of the camera trigger circuit (schematic, signaling levels, etc) that already works with his camera, I'm unable to give more than the hand-waving paragraph, above.
See my (limited) designs on:
Printables - https://www.printables.com/@Sembazuru
Thingiverse - https://www.thingiverse.com/Sembazuru/designs
RE: GIPO - Canon EOS R8 - 2.5mm
I already wrote answer here but I see it is "Awaiting moderation" 😡
So I gave the answer again on Youtube, where @512mb also asked.