0% found this document useful (0 votes)
26 views3 pages

Positive Differential

This project uses 4 PIR motion sensors and a servo motor controlled by an Arduino microcontroller. The PIR sensors detect infrared radiation from warm bodies like humans and animals. When motion is detected, the PIR sensor produces an electrical pulse that is read by the Arduino. The Arduino then uses the servo motor to rotate the camera mounted on top to align with the active PIR sensor detecting the motion. Each PIR sensor is connected to an Arduino digital input, power, and ground. The servo is also connected - power to one pin, the Arduino digital input 7 to another, and ground to the third pin. A capacitor is added between the servo power and ground to protect the Arduino from power sur

Uploaded by

vhuust
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
26 views3 pages

Positive Differential

This project uses 4 PIR motion sensors and a servo motor controlled by an Arduino microcontroller. The PIR sensors detect infrared radiation from warm bodies like humans and animals. When motion is detected, the PIR sensor produces an electrical pulse that is read by the Arduino. The Arduino then uses the servo motor to rotate the camera mounted on top to align with the active PIR sensor detecting the motion. Each PIR sensor is connected to an Arduino digital input, power, and ground. The servo is also connected - power to one pin, the Arduino digital input 7 to another, and ground to the third pin. A capacitor is added between the servo power and ground to protect the Arduino from power sur

Uploaded by

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

Working:

This project is composed 4 PIR sensors and a servo motor, all of which are
controlled by the arduino, atmega 328P based microcontroller.PIRs are basically
made of a pyroelectric sensor, which can detect levels of infrared radiation.
When a warm body like a human or animal passes by, it first intercepts one half
of the PIR sensor, which causes a positive differential change between the two
halves. When the warm body leaves the sensing area, the reverse happens,
whereby the sensor generates a negative differential change. These change
pulses are what is detected.
This electrical pulse is detected and processed by arduino with the digital.read function, this in turn
sets the position of the servo by digital.write function, along the PIR sensor from which the motion
change is detected.
The camera is mounted over the base, controlled by the servo motor, hence , whenever the atmega
328P microcontroller inside arduino board reads any motional change in form of electric pulse produced
by the PIR, it instructs the servo to align the camera along the motion detection.

WIRING:

The wiring for this project is simple and straightforward, we have used the HC-
SR501 model PIR sensors for this project. Each PIR sensor needs to be
connected to a digital input (2-6) on the Arduino, 5V power, and ground.
The servo motor is attached to the stand where the camera sits, and rotates
the camera to align with the active PIR sensor. Using the pinout of the servo
motor,we have connected one pin to power, another pin to the Arduino digital
input 7, and the last pin to ground. Before powering the Arduino, we made
sure to connect a 100F capacitor between the power and ground of the
motor to help protect the board from the power surges that occur when the
motor moves.

You might also like