50% found this document useful (2 votes)
5K views13 pages

Ultra Sonic Sensor Security Sensor

This document describes an Arduino-based ultrasonic security system that uses an ultrasonic sensor to detect objects within a certain range threshold. When an object is detected within the threshold, the system activates a buzzer and LEDs to indicate the distance. The system is designed to provide low-cost home security and can detect objects in dark environments unaffected by factors like color or transparency. It has applications for security purposes in homes, offices, banks, and military establishments.

Uploaded by

Abhiram Grandhi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
50% found this document useful (2 votes)
5K views13 pages

Ultra Sonic Sensor Security Sensor

This document describes an Arduino-based ultrasonic security system that uses an ultrasonic sensor to detect objects within a certain range threshold. When an object is detected within the threshold, the system activates a buzzer and LEDs to indicate the distance. The system is designed to provide low-cost home security and can detect objects in dark environments unaffected by factors like color or transparency. It has applications for security purposes in homes, offices, banks, and military establishments.

Uploaded by

Abhiram Grandhi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 13

ULTRASONIC

SECURITY
SYSTEM
ABSTRACT

This project is a Arduino based security system consists of a Arduino UNO, a


ultrasonic sensor, a piezoelectric buzzer and LEDs. In this project we design and
implement a security system with an ultrasonic sensor module . The ultrasonic sensor
contains a transmitter and a receiver. The Ultrasonic transmitter periodically emits
ultrasonic signals into an open area. If the signal ever hits any physical objects, it will
be reflected back and the receiver part of the sensor will then capture it. The
microcontroller unit (MCU) will constantly check for the receiver output of the
ultrasonic transmitter. If the receiver output is high, the MCU will perform distance
analysis of the object from the sensor using the fact that ultrasonic waves travel in air
at 340m/s. The time taken for the waves to hit the object and return can be calculated
as the time taken for the receiver output to be high after the transmitter has been
initiated to send ultrasonic waves. Once the distance is calculated, MCU checks
whether the object is within the range threshold specified within the MCU for initiating
the alert. If the object is within the range threshold, the MCU initiates the buzzer and
LEDs.
COMPONENTS USED

Arduino UNO
Breadboard
Ultrasonic Sensor-HC-SR04
Buzzers
LEDs
Resistors
Jumper Wires
CIRCUIT DIAGRAM

Breadboard
LEDs
Resistors

Jumper wires Ultrasonic


sensor

Arduino
UNO
Buzzer
ASSEMBLING OF COMPONENTS

STEP 1: SETUP

Connect a red wire from the 5V pin on the Arduino to the positive channel of the breadboard. Connect a black
wire from the GND pin on the Arduino to the negative channel of the breadboard.
Buzzer = pin 11
Ultrasonic Sensor : Echo = pin 10
 Trig = pin 9
LEDs : Red LED = pin 13
 Yellow LED = pin 12
 Green LED = pin 8
The green wires connected to the LEDs should be connected in line to the positive side of the LED, while the
negative side of the LED should be connected to the negative channel of the breadboard using a 220 ohm
resistor.
STEP 2: ASSEMBLY - BREADBOARD

 Firstly, let's connect the 5V and GND pin on the Arduino to the
breadboard. The wire attached to the 5V pin is connected to the
positive channel of the breadboard, and the wire attached to the GND
pin is connected to the negative channel of the breadboard.
STEP 3: ASSEMBLY - ULTRASONIC SENSOR

 Time to connect the HC-SRO4 ultrasonic sensor! Connect the GND


pin on the ultrasonic sensor to the negative channel on the
breadboard. Next connect the Trig pin on the sensor to pin 9 on the
Arduino and connect the Echo pin on the sensor to pin 10 on the
Arduino. Lastly, connect the VCC pin on the ultrasonic sensor to the
positive channel on the breadboard.
STEP 4: ASSEMBLY - LEDS

 The next step is to connect the LEDs to the breadboard and Arduino.
Let's first attach the Green LED. So the way to do this, is to connect the
anode (the longer leg) to pin 8 on the Arduino with a green wire, and to
connect the cathode (the shorter leg) to the negative channel on the
breadboard, using a 220 ohm resistor. Then repeat that step for the
Yellow and then the Red LED, make sure to connect the anode (the
longer leg) of the yellow LED to pin 12 on the Arduino and then connect
the anode of the red LED to pin 13.
STEP 5: ASSEMBLY - BUZZER

 The last part of the setup for this, is connecting the buzzer to the breadboard
and the Arduino. All that is required to do is to connect the longer leg of the
buzzer to pin 11 of the Arduino using a green wire and then connect the
shorter leg of the buzzer to the ground oh Arduino.
WORKING

The system uses ultrasonic sensor that has a transmitter part and a receiver part.
The ultrasonic transmitter periodically emits ultrasonic signals into an open area
in front of it. If the signal ever hits a physical object, it will be reflected back and,
the receiver part of the sensor will then capture it with the object considered
detected as its position is now known.
As the ultrasonic sensor senses the object that is within its range, which
activates the buzzer. The distance of the object is indicated by the three LEDs.
• If the object distance is greater than 80 green led is activated.
• If the object distance is between 40 and 80 yellow led is activated.
• If the object distance is less than 80 red led andt the buzzer gets activated.
RESULTS

Thus, we have designed a home security alarm system using Arduino and PIR
motion sensor, which is handy, portable, cost-effective and highly effective as
well. It detects the object within the range and the buzzer and leds get activated
according to the distance of the object. Such alarm systems are hugely in
demand for security purposes, and thus the given system can be proved useful
and effective.
ADVANTAGES

 This Ultrasonic Security System is handy and portable, and thus can
be easily carried from one place to another.
 Ultrasonic sensors reflect sound off of objects so it is not affected
by color or transparency of objects.
 Their high frequency, sensitivity, and penetrating power makes it
easy to detect external or deep objects. 
 Unlike proximity sensors using light or cameras, dark environments
have no effect on an ultrasonic sensor’s detection ability so it Can be
used in dark environment.
 Not highly affected by dust, dirt, or high-moisture environments.
 This security system is a low cost option thus, easily affordable .
APPLICATIONS

 We can easily set up this system for household purposes.


 This type of motion sensing alarm system can be easily employable
for security purposes at banks, various offices and even for sensitive
establishments such as for military.

You might also like