Go Down

Topic: PIR Sensor problem (Read 750 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
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy