SparkFun Electronics will be closed on July 3rd, 2015 in observance of Independence Day. Any orders placed after 2:00pm MT on July 2nd will be shipped out after the weekend. Thanks!
Description: This is a simple to use motion sensor. Power it up and wait 1-2 seconds for the sensor to get a snapshot of the still room. If anything moves after that period, the ‘alarm’ pin will go low.
This unit works great from 5 to 12V (datasheet shows 12V). You can also install a jumper wire past the 5V regulator on board to make this unit work at 3.3V. Sensor uses 1.6mA@3.3V.
The alarm pin is an open collector meaning you will need a pull up resistor on the alarm pin. The open drain setup allows multiple motion sensors to be connected on a single input pin. If any of the motion sensors go off, the input pin will be pulled low.
We’ve finally updated the connector! Gone is the old “odd” connector, now you will find a common 3-pin JST! This makes the PIR Sensor much more accessible for whatever your project may need. Red = Power, White = Ground, and Black = Alarm.
Based on 2 ratings:
1 of 1 found this helpful:
(1) Signal wire is black, ground wire is white.
These should be reversed. I might have killed two of my sensors because the wire colors don’t match up to expectations.
(2) The manual says that there should be a 10k pullup resistor on the arduino, why can’t this be built into the electronic itself? The power rail is right there.
There are other PIR sensors on the market. Stay away from this one.
Hi, Pin outs for this sensor are clearly listed in the product description. (Red = Power, White = Ground, and Black = Alarm.) Sorry that this color pattern is not satisfying for you. As for the pull up resistor, some processors have built in pullup resistors. So leaving the sensor bare allows for a wider range of applications.
i had it hooked up to an LED and it was flashing like crazy whether there was motion or not. Then I found this site http://bildr.org/2011/06/pir_arduino/ and added the resistor and the code from the site. It stlill didn’t work, there was no output on the screen saying “motion detected” I am using an Arduino uno, any ideas as to what I’m doing wrong? Thanks in advance. I’ve loved all the other products I’ve ordered from you including the Drum kit Kit ai - I got that working without any problem.
Hi, It sounds like you should get in touch with our Technical Support team. They’ll be happy to try to help you get up and running. Tech support @ sparkfun .com