Pages: [1]   Go Down
Author Topic: PIR Sensor problem  (Read 672 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Jr. Member
**
Karma: 0
Posts: 98
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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..
Logged

Minds are like parachutes. They only function when they are open.

Topsham, Vermont USA
Offline Offline
Edison Member
*
Karma: 24
Posts: 1766
... in The Woods In Vermont
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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).. 



Logged

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

Pages: [1]   Go Up
Jump to: