Introduction: Motion Triggered Camera With Raspberry Pi

Raspberry Pi with HC-SR501 Passive Infrared Sensor to detect squirrel's appearance, and then trigger SONY A6300 to record the video at the best angle and distance.

Step 1: What You Need:

Picture of What You Need:
  • A camera, I used SONY A6300
  • Raspberry Pi, mine is version 2 model B
  • HC-SR501 motion sensor, with some cables

For a list of supported camera, please check here:

Step 2: Connect the Sensor to the Pi

Picture of Connect the Sensor to the Pi

5V, GND, and any GPIO pin

Remember the pin number, you will need it in the python script.

Step 3: Connect the Rest

Picture of Connect the Rest

  1. Make sure the camera is in PC Remote mode (SONY A6300)
  2. Connect the Raspberry Pi to the camera
  3. Connect the power source to the Raspberry Pi

For a list of supported camera, please check here:

Step 4: Setup the Raspberry Pi

Picture of Setup the Raspberry Pi

Please follow the steps at my GitHub:

Then you can do some tests.

Step 5: Do Something Fun

Picture of Do Something Fun

You can use this setup to capture some wild animals you couldn't do before.

Step 6: Some Sample Videos. Enjoy!


About This Instructable




More by seesunmoon:Motion Triggered Camera With Raspberry Pi$10 Ladder GolfFish Tank CD Player
Add instructable to: