Chris' Engineering Tech Corner
PIR Triggered Relay Circuits
by, 11-08-2013 at 07:37 PM (3800 Views)
I've had several customers call about using our PIR sensor as a motion activated light or to activate some other device when motion is detected. Sometimes we get customers that don't have any interest in microcontrollers but still need the light or device to come on for some time and then turn itself off. So for those who want the equivalent of a motion activated light using Parallax sensors and parts this Mini-Project is for you.
The circuit is built around the 555 Timer IC, undoubtedly one of the classic integrated circuits used for many years in many projects. Combined with a PIR sensor, a couple of transistors and a relay board you can easily turn on a device when motion is detected and have it turn off after a certain amount of time, set by the values of R1 and C1. With the values listed the delay time is approximately 2 minutes. This can be increased/decreased by setting R1/C1 or you could replace R1 with a 1 M potentiometer and have an adjustable delay time that is easier to set.
The delay time starts from the last trigger of the PIR. In other words, the circuit is re-triggerable. If the PIR senses motion during the delay the countdown is reset just like most commercial motion activated systems.
The entire circuit runs from a single 5V power supply and whether you use the Single Board Relay (#27115) or the Dual Relay Board Kit (#27114) you can control 120VAC lights or other devices using these relays. If you use the Dual Relay Board Kit you will also need a 12V Relay Supply.
Theory of Operation:
When the PIR Sensor detects motion Q1's collector, which is normally pulled high by R2 is biased and pulls the 555 TRIG pin low starting the timing cycle. At the same time Q2 is biased clearing the charge on C1. C1 begins to charge via R1 until the threshold voltage is reached. Any time the PIR is re-triggered C1 is cleared again allowing the timing cycle to effectively start over. Once the timing cycle is complete the 555 OUT goes high which can be used to trigger the input on either Relay Board. This circuit works with our PIR Sensor Rev A (#910-28027) or Rev B (#555-28027).