Introduction: Burglar Alarm in a Coin Bank Rabbit Using Arduino

Coin bank Rabbit equipped with Ultrasonic Distance Sensor.

Download our FREE Arduino Project Code

Step 1: Prepare All the Components


Requirements:

HC-SR04 Ultrasonic Sensor
4N35 Optocoupler
Arduino Uno
LED

Step 2: Build the Circuit

Construct the circuit as shown.

Step 3: 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

Step 4: Add Optocoupler

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

Step 5: The Coin Rabbit

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

Step 6: Test the Project

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

Microcontroller Contest

Participated in the
Microcontroller Contest