Introduction: Arduino Keychain Camera Modify to Motion Detect Camera

Turn your keychain camcorder into motion detect camera.
When motion detected by HC SR501 PIR sensor, camera turn on, take a picture and turn off, waiting for next motion.

Step 1: Wiring

Wiring is very simple.

After cover removed, cut off the battery. Left some cable, easier solder the new wires.

These two wire connected to the arduino vcc and gnd pin.

Now the buttons:

Solder 2-2 wire to the buttons, as the picture shows

These wires connected to the two transistor Collector and Emitter pin.

If the arduino pin HIGH with a transistor Base connect, short the two wire. (button pushed)

If not working, check the wires, replace Collector-Emitter wire.

The Motion sensor (HC-SR501) connected to arduino pin2.

For more details check the pictures and the test video.

Arduino code

ps: still sorry for my english :)