0% found this document useful (0 votes)
38 views

Motion Detection: Iot Project Team Name: Code Trackers

This document summarizes a motion detection IOT project that uses an Arduino, PIR sensor, LED light, and jumper wires. It explains that motion detection is useful for applications like video mining and intelligent traffic systems. The project records pixel variations over time to determine the background image, and detects motion by comparing current frames to the background. The Arduino code turns on an LED light when the PIR sensor detects motion.

Uploaded by

Sreekar
Copyright
© © All Rights Reserved
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
38 views

Motion Detection: Iot Project Team Name: Code Trackers

This document summarizes a motion detection IOT project that uses an Arduino, PIR sensor, LED light, and jumper wires. It explains that motion detection is useful for applications like video mining and intelligent traffic systems. The project records pixel variations over time to determine the background image, and detects motion by comparing current frames to the background. The Arduino code turns on an LED light when the PIR sensor detects motion.

Uploaded by

Sreekar
Copyright
© © All Rights Reserved
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 9

Motion Detection

IOT PROJECT
Team Name: CODE TRACKERS
Why Motion Detection?
First, the world is dynamic, and motion
information is one of the keys to many
practical applications such as video mining,
Robert navigation, intelligent traffic system,
etc.
Motion Detection is also a basic step to
machine learning, pattern recognition in
dynamic context.
The main principals used in this
project:
Because the objects are always moving, in
image space, every pixel will be disclosed
after the moving objects leave.
According to the above fact, we can record
every pixel’s variations along time axis. We
will get some segments in which the pixel’s
variation is o, along time axis. Among those
segments, we select the largest segment, and
select the middle point from the segment as
the corresponding background pixel.
COMPONENETS:
 Arduino sensor
 Bread board
 PIR Sensor
 LED light
 Jumper Wires
Get background image:
According to the PDIFF, we compute
the largest length in PDIFF along time
axis for every fixed pixel, select the
middle point among the segment as the
corresponding pixel of background.
Then we get the whole background
image.
Motion detection:
We can locate the motion according to
the comparison between a frame at any
time t and the background image;
Circuit Diagram
Programming :
void setup() {
pinMode(2, INPUT);
pinMode(3, OUTPUT);
}
void loop() {
if (digitalRead(2) == HIGH)
{
digitalWrite(3, HIGH);
delay(100);
digitalWrite(3, LOW);
delay(100);
}
}
Conclusion:
Finally we conclude that Arduino sensor
is very useful in our smart daily life as it
reduces the human efforts and time
management ,economically useful.

You might also like