Wednesday, 14 August 2019

Arduino & ultra Sonic Range Finder Based Security System

About this undertaking

This is a straightforward caution framework made with assistance of ringer, LED and a Ultrasonic sensor otherwise called Proximity/Distance Sensor (HC-SR04). One can stop the bell by squeezing the catch.

Circuit Diagram



Steps:

Connect the +5V and GND of Arduino UNO to the breadboard.

For LED: Connect the cathode (Shorter stick of LED) to ground and the Anode (longer stick of LED) with a 330 or 220 ohm resistor. Interface the second stick of resistor with stick 6 of the Arduino as shows in schematics.

For Buzzer: Connect the Positive terminal with stick 8 of Arduino and negative terminal to GND.

For Ultrasonic Sensor: Connect the VCC and GND . Associate the Trigger stick to stick 12 and Echo stick to stick 13 of Arduino.

The arrangement is presently prepared. Presently load the code in Arduino IDE and afterward Upload it to Arduino. Check the Serial Monitor readings.

Download Code from here 

Tip: You can fix this alert close to the entryway. The most extreme separation estimated by it 4 meters. So change the code in like manner and keep it to such an extent that on the off chance that anybody comes quite close to the entryway, the bell should ring!

No comments:

Post a Comment