Go Down

Topic: PIR Sensor problem (Read 730 times) previous topic - next topic

amansammy

Hello, so i found the pir sensor code on this site. Link : http://www.arduino.cc/playground/Code/PIRsense .
But gotta ask where do i connect the +ve of the sensor ? 5v or 3v3 ? Please help..
Minds are like parachutes. They only function when they are open.

terryking228

Hi, What sensor do you have??  If it has 3 pins, Vcc, GND and Signal, then Vcc is usually +5V.

take a look here: http://arduino-info.wikispaces.com/BrickStarterSet

If your sensor looks like the Motion Sensor there, click on the sensor picture. The following page has information and code to test it (scroll down towards bottom).. 



Regards, Terry King terry@yourduino.com  - Check great prices, devices and Arduino-related boards at http://YourDuino.com
HOW-TO: http://ArduinoInfo.Info

Go Up