PIR triggering at regular intervals
fadecomic
Posts: 6
Hi,
I have a Parallax PIR sensor from Radio Shack, and it is behaving oddly. If I rig up a very simple circuit--i.e. 5V, GND, and a LED (with resistor of course), the LED begins to flash very regularly. It's not random. It's almost like a timer. This is, needless to say, unexpected. Anybody else have this experience? If so, what might it mean?
Thanks
I have a Parallax PIR sensor from Radio Shack, and it is behaving oddly. If I rig up a very simple circuit--i.e. 5V, GND, and a LED (with resistor of course), the LED begins to flash very regularly. It's not random. It's almost like a timer. This is, needless to say, unexpected. Anybody else have this experience? If so, what might it mean?
Thanks
Comments
That's quite possible. One culprit could be air. These types of sensor detect changes in thermal bodies, and wafting air from a window or heat vent, can do it.
For obvious reasons, the sensor itself cannot be moving, or even held in your hand. It must be stationary.
Try testing the sensor in a different room. You don't mention what you're using for the 5V. It should be a nicely regulated and stable power supply.
It's a 5 V power supply, regulated by an LM7805 with all the proper caps. The sensor is facing the ceiling, but I've also tried covering it completely. The blinking pattern doesn't start right away. It's difficult to tell for certain, but it seems like it happens after the first time the sensor triggers.
Wasn't sure which rev, but yep, that was it. Works like a champ now. Thanks.
It's worth noting that a 2n3904 did not work, but a MOSFET (I had an IRF520N sitting around) did. The 3904 gave the same results as no transistor. Perhaps with a large resistor it would work, but I didn't try that.
The difference between Rev A and Rev B is that the Rev B module will say "Rev B" to the right of the dome, opposite from the jumper.
I will try this evening before the trick-or-treaters show up and let you know how it goes. I honestly don't remember which one I grabbed.