loading
Picture of GoPro Ultrasonic Motion Sensor HC-SR04 controled by arduino
Gopro activated by movement, the ultrasonic sensor move the servo when something appears close to the sensor, it can be programed to take pictures or video, and also it can be programed to stop taking pictures when there is no movement in the sensor.
Advantages over normal infrared motion sensors a.k.a. PIR, is that it can sense reptiles and insects, it can also log the distance of the object, and it haves a range of 4 meters.

Step 1: Get the Parts

Picture of Get the Parts
Materials:

1 Arduino
1 Gopro or any other camera
1 Ultrasonic Motion Sensor HC-SR04
1 Servo
1 100uF/25V capacitor
1 breadboard
lots of rubberbands



 

please help me with the code if i want to add a buzzer and an LED

seaf201 year ago

question... how do I go about changing some parameters like... instead of meassuring in cm i'd like the sensor to read in ft

animes25 (author)  seaf201 year ago

ft = cm * 0.032808

I guess you have to change the serial print lines to:

Serial.print(distance*0.32808);
Serial.println(" ft");

please tell me if it works :D