PIR sensor || motion sensor || circuit diagram || Detection of object using Arduino Controller With PIR Sensor
Description :
A passive infrared sensor (PIR sensor) is an electronic sensor that estimates infrared (IR) light transmitting from objects in its field of view. They are frequently utilized in PIR-based movement identifiers. PIR sensors are ordinarily utilized in security alerts and programmed lighting applications. PIR sensors distinguish general development, however don't give data on who or what moved. For that reason, a functioning IR sensor is required. PIR sensors are normally called basically "PIR", or now and then "PID", for "latent infrared indicator". The term aloof alludes to the way that PIR gadgets don't emanate vitality for discovery purposes. They work altogether by identifying infrared radiation (brilliant warmth) transmitted by or reflected from objects
Out Put: it will generate digital plus high is motion detect and low if no motion detected.
effective range run: up to 20 feet (6 meters) 110° x 70° discovery go
Supply: 5V-12V yet 5V is perfect in the event that the controller has various specs.
Experiment Circuit:
we have used Arduino R3 and PIR sensor with LED which use to indicate if the object is detected or not.
Pir sensor peepgram |
Experiment Code:
int status=0;
void setup()
{
pinMode(8, OUTPUT);
pinMode(2,INPUT);
}
void loop()
{
status=digitalRead(2);
if(status==HIGH)
{
digitalWrite(8, HIGH);
delay(1000); // Wait for 1000 millisecond(s)
}
else
{
digitalWrite(8, LOW);
delay(1000); // Wait for 1000 millisecond(s)
}
}
For More Help:
Post a Comment