Arduino Camera Flash Control

by randofo in Circuits > Arduino

28552 Views, 57 Favorites, 0 Comments

Arduino Camera Flash Control

main1.jpg
This is a simple method for controlling a camera flash using an Arduino. The nice thing about this method is that it uses an optoisolator to separate the Arduino from potentially high voltage spikes produced by the flash. I choose to use and optoisolator instead of a relay because the response time is much quicker, which is important when dealing with split second camera timing. Being able to control a camera flash in this manner is not only useful for Photography, but can come in handy for making a haunted house display (and miscellaneous hijinks).

Go Get Stuff

1.jpg
You will need:

- Arduino
- Camera Flash (with input jack)
- Breadboard
- MOC3021 optocoupler (Triac)
- 220 ohm to 1K resistor
- 3/32" mono plug
- Solid core wire

Wire the Plug

2A.jpg
2B.jpg
2C.jpg
2D.jpg
Open the casing for your plug and solder a red wire to the center terminal pin and a black wire to the outer terminal.

Reassemble the casing.

Wire It Up

3A.jpg
3B.jpg
3C.jpg
3D.jpg
3E.jpg
3F.jpg
Connect pin 13 from the Arduino to one leg of a 1K resistor.

Connect the other leg of the 1K resistor to pin 1 of the chip (this is the pin next to the dot).

Connect ground from the Arduino to pin 2 on the chip.

Connect the red wire from the 3/32" plug to pin 6 and the black wire to pin 4.

Plug It In

4A.jpg
Insert your plug into the trigger port on the electronic flash.

Program and Go

5A.jpg
Program the Arduino with the following code:

Assuming that your flash is turned on, it should now be triggered every 7 seconds.