Burglar Alarm in a Coin Bank Rabbit Using Arduino
by ALP Electronic Innovation in Circuits > Microcontrollers
2433 Views, 5 Favorites, 0 Comments
Burglar Alarm in a Coin Bank Rabbit Using Arduino

Prepare All the Components




Requirements:
HC-SR04 Ultrasonic Sensor
4N35 Optocoupler
Arduino Uno
LED
Build the Circuit

Construct the circuit as shown.
Add the Ultrasonic Sensor

Connect the following:
VCC to arduino 5v
GND to arduino GND
Echo to Arduino pin 3
Trig to Arduino pin 2
Add Optocoupler

The sound is optional if you have a separate project kit.
Use the Optocoupler and connect to Pin 4 of Arduino Uno.
The Coin Rabbit

Install all LEDs inside the Coin rabbit's eyes & hands.
Also, the Ultrasonic distance sensor.
Test the Project

Test the sensor.
Supply 9 volts battery of from Power Digital Supply to your Arduino.