Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
What if you added a resistor between the transistor and ground the same size as the pull up?
I think you also need a current limiter in series with the LED
It doesn't. When D1 is on D3 drops the D2 voltage below its turn-on point.
Yes, but then the current through D2 would be drastically reduced and you would have to increase the supply volts above 5V. D2 current is already slightly lower than for D1.
Why would you want to use a zener when an ordinary diode does the job?
Yes.Why would D2 not be turning off fully? Because Q1 collector voltage is now higher?
Correct. So because R1 has been reduced Q1 collector voltage is higher. D3 still drops 0.6V, so D2 voltage is also higher and is enough to partly turn D2 on.But Q1 is not shunting more or less current than before.
I was just playing about with the simulation. It makes little difference to the result.Why did the value of R1 change (3k to 10k)?
Sorry, don't quite follow that.I don't suppose it would make any difference if R3 was connected to the emitter versus being connected to the collector (connecting D3 between R2 and R3)?
The original is already robust ;-). But if you want to play, why not download the LTSpice simulator from Linear Technology. It's FREE.I like your solution. I'm just playing with it to see if/where it can be made robust
Not necessary. D2 turns fully off in the first circuit. Besides, that would reduce D2 current further.it may make sense to stack a second 1N4148 to raise the on voltage of D2 a little higher
Didn't know such animals existed. Lowest I've come across is 3V. An ordinary diode is a fair 0.6V reference (at least, in this application).changing D3 to (low voltage) zener, something around slightly high than 1 volt.
This would do it (as has been proposed before). Note that R5 may need adjusting, depending on the 'low' output voltage of the comparator, to match the D1 and D2 currents.Any one have any thoughts on how to run the bicolor LED from a standard open collector output?
This would do it (as has been proposed before). Note that R5 may need adjusting, depending on the 'low' output voltage of the comparator, to match the D1 and D2 currents.
Thinking about the 2-pin dual LED and LM393, here's a circuit which should do the trick if both comparators in the LM393 chip are available. It would be preferable, though, to replace the LM393 with a comparator (or op-amp) IC having push-pull outputs, so that pull-up resistors could be eliminated to reduce component count.