13-11-2012, 01:27 PM
Security Light & Switch with PIR Sensor Update
Security Light.docx (Size: 52.49 KB / Downloads: 29)
Abstract
In keeping with the spirit of his design, I retained the Darlington arrangement, and the transistor type number—however, I changed the transistors from common collector to common emitter configuration, and connected the relay between the collector output and the positive rail. The relay now utilizes a 12V coil—to use an existing 5V relay, simply add a resistor in series with the coil whose value is scaled up from the coil resistance. Also, I connected the LED across the relay coil rather than powering it via the 2nd relay contact—this way, only one form “C” relay contact is required thus making the relay less expensive—of course it can be done either way. I eliminated some additional, unneeded components.
Datasheet links
SB0061 PIR Sensor (complete PIR module):
epled-2008.en.made-in-china
BISS0001 PIR Sensor (interface IC that goes inside many PIR modules):
How it works
When motion is detected, the output (pin 2) goes to 5V and current flows through R2 to the base of Q1. The emitter current of Q1 becomes the base current of Q2—the current gain of a Darlington is the hFE squared or about 10,000 to 50,000 (very high). This easily provides adequate drive current for the relay. R1 provides a means of conducting any potential leakage in Q1 to common and also helps Q2 to turn off faster. D1 is the back diode that circulates the relay coil current when Q1 & Q2 turns off thus preventing a damaging voltage transient.
Testing
No, I did not build and test this one—I just happen to know from experience that this circuit will work OK—if the circuit was new to me, I would definitely Protoboard and test because Murphy may be lurking somewhere. Murphy’s Law states that anything that can go wrong will go wrong… Such is true as I have proven it numerous times.