Here is a simple Optoisolator Circuit (also known as an Optocoupler) that I use for my Nikon D750 camera, for an external remote Digital Shutter Trigger on my Camera’s Power Slider.
It is highly recommended that you isolate your Camera’s Trigger Control Circuit from any external voltage, even an Arduino!!! The only way to efficiently and effectively do this is via an Optical Isolation Circuit!!!
R1 and R2 are Current Limiting Resistors in this circuit and are designed for the 4N25 Phototransistor Optocoupler, driven from a Digital Logic CMOS Buffer IC, powered by a 12v Power Supply (I use a 12v Batt. for remote shoots to power my camera slider and the logic that controls the slider).
Stop breadboarding and soldering – start making immediately! Adafruit’s Circuit Playground is jam-packed with LEDs, sensors, buttons, alligator clip pads and more. Build projects with Circuit Playground in a few minutes with the drag-and-drop MakeCode programming site, learn computer science using the CS Discoveries class on code.org, jump into CircuitPython to learn Python and hardware together, or even use Arduino IDE. Circuit Playground Express is the newest and best Circuit Playground board, with support for MakeCode, CircuitPython, and Arduino. It has a powerful processor, 10 NeoPixels, mini speaker, InfraRed receive and transmit, two buttons, a switch, 14 alligator clip pads, and lots of sensors: capacitive touch, IR proximity, temperature, light, motion and sound. A whole wide world of electronics and coding is waiting for you, and it fits in the palm of your hand.
Python for Microcontrollers — Python snakes its way on the SparkFun SAMD21 Mini, Hackaday.io, 10k thanks, and Tim’s magazine #Python #Adafruit #CircuitPython @circuitpython @micropython @ThePSF @Adafruit
Get the only spam-free daily newsletter about wearables, running a "maker business", electronic tips and more! Subscribe at AdafruitDaily.com !
Usually you want separate controls for trigger and focus. I made a similar rig for firing 32 Canon DSLRs simultaneously. If you want the photos to be guaranteed at the same time, then you must apply the focus line (even when using manual focus) wait for a short period, say around a second, and then trigger. Asserting the focus line puts the camera into an ‘alert’ state, where it is expecting the trigger, and in this condition there is a fixed latency. Just in case that may help someone else.