Diagram of PIR Motion Sensor
Here is a simple project you can do with a PIR (passive infrared)sensor and an LED and Buzzer;
1. Connect the
positive leg of the LED (the longer leg)to digital pin 9 on the Arduino.
2.connect the
negative leg of the LED(the shorted leg)to a ground pin on the Arduino
3. connect the VCC pin
on the PIR sensor to 5V on
the Arduino
4. connect the GND pin
on the PIR sensor to a ground pin on the Arduino.
5. connect the
OUT pin on the PIR sensor to digital pin
2 on the Arduino.
Comments
Post a Comment