Happy Halloween from Adafruit! Check out some scary #electronichalloween posts, the frightening Halloween section and spooky videos!

June 19, 2009 AT 1:28 pm

Arduino laser camera trigger

Adam writes -

One of my current projects is an Arduino powered camera trigger. I made one using my Arduino a laser pointer, and my digital camera. At first I thought it would be no big deal, but it took a little more effort because of the camera I was using. My Canon Powershot does not allow for remote shutter controll by default, but after a little inernet-vestigation I stumbled on the CHDK (Canon Hack Development Kit). After some firmware hacking and a couple components; I was up and running…

The Key is the CHDK firmware that allows the remote shutter trigger. The laser reflects off of a mirror onto the photoresistor. The photoresistor is being measured by Analog 0. When the beam is broken the Arduino runs through a series of high and low on digital 12 (with varying delay to account for the auto focus feature of the camera). This then triggers the camera to focus and take a picture.

Connecting the camera to the Arduino is done by modifying a mini USB cable. There is a USB remote cable page on the CHDK wiki with instructions/diagrams for making a Homebrew remote. So I just used that but left out the switch and battery because the Arduino would act as the switch power source. We’ll be using the +5V (red wire) and Ground (black wire) – (see below for picture of cable, code, and more pics)


Check out all the Circuit Playground Episodes! Our new kid’s show and subscribe!

Have an amazing project to share? Join the SHOW-AND-TELL every Wednesday night at 7:30pm ET on Google+ Hangouts.

Join us every Wednesday night at 8pm ET for Ask an Engineer!

Learn resistor values with Mho’s Resistance or get the best electronics calculator for engineers “Circuit Playground”Adafruit’s Apps!



2 Comments

  1. David Treadwell

    Have you considered modulating the laser @ 38kHz, then using a remote control receiver as detector? Should increase the signal to noise ratio & extend range.

  2. Would it be worth adding a resistor between pin 12 and the camera to ensure you don

Sorry, the comment form is closed at this time.