How to set condition from sensor for drive LED without microcontroller ?

Thread Starter

mmc01

Joined Jul 27, 2010
6
I use LDR sensor for turn on LED when dark and I use PIR Sensor for check motion. If somebody pass the sensor then turn on more LED. And set all LED turn off when have no light. It like And Gate circuit. So, I try to use circuit like this.

I use LED 12V 1W 4 light so it is 4W. I test LED by connect to power supply it very bright. But when I connect LED to transistor 2N2222 in circuit it bright a little. how to make LED very bright ?

 

wayneh

Joined Sep 9, 2010
17,498
It would be more typical to put the LED in series with the collector-emitter of the transistor, so that all current thru the LED also passes thru the transistor. That will however change the logic if you use the NPN. You can retain the same logic if you use a PNP. R4 will need to be a lower value to allow more current to flow try the transistor. Plan for the base current to be as much as 10% of the LED current.
 

Alec_t

Joined Sep 17, 2013
14,327
Q3, when on, shorts out the LED. Is that your intention?
You refer to 'more LED' and 'all LED' but you show only one. How do you plan to drive the other LEDs?
 

Thread Starter

mmc01

Joined Jul 27, 2010
6
Q3, when on, shorts out the LED. Is that your intention?
You refer to 'more LED' and 'all LED' but you show only one. How do you plan to drive the other LEDs?
Actually I want turn on 4 LED series when dark and not have motion . And turn on more 4 LED when dark and have motion. I connect 4 LED to output LDR OpAmp circuit. And connect output from op amp to transistor input circuit like this image.

I use PIR sensor like this http://www.adafruit.com/products/189 . I measure output from PIR it's 3.3V when have motion and will be 0.8V when have no motion. But output from opamp is 12V. So I don't know how to design circuit for And Gate. I use this circuit with battery 12V So want to make low power. I'm not sure TR will work all time or not. It may waste the power. This circuit LED not very bright .May be I have to use opto coupler in circuit. Can you help me how to design circuit for make LED very bright.

 

Thread Starter

mmc01

Joined Jul 27, 2010
6
It work with this circuit from shteii01 but LED output alternate on/off. how to invert output on/off for LED .


 
Top