Ultra Sonic Sensor Security Sensor
Ultra Sonic Sensor Security Sensor
SECURITY
SYSTEM
ABSTRACT
Arduino UNO
Breadboard
Ultrasonic Sensor-HC-SR04
Buzzers
LEDs
Resistors
Jumper Wires
CIRCUIT DIAGRAM
Breadboard
LEDs
Resistors
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
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