Hi,
How many series diodes in the base do you think it takes to be sure of no NPN conduction when the switch is closed? Considering 1N4007 diodes and same diode used everywhere.
(LTspice and jpeg cct attached)
Pedantically, you can't have that. There is always -some- non-
base-controlled collector leakage. Practically, seems like you
could dispense with all but one of the diodes if your switch
and wiring can hold less than 100-200mV on the base against
the 3mA or so through the 4.7K pullup (plus the 40mA for the
relay). In fact I question why you don't just put the 4.7K to the
bottom of the coil from the NPN base and lose all the diodes.
Thanks, looks good but i wasnt sure if the red led would be totally off, with 1n4148 across it?
ill have to pull the datasheet....
Nice ..less comps than the attached
My simulation shows only about a tenth of a microamp through a red LED when off.
If that's not sufficient, then add another 1N4148 diode in series with the LED.
Or you could use a small Schottky diode such as the BAT54, instead of the 1N4148, which has a lower forward drop.
If you'd rather use a transistor to control the LED and eliminate the current through its 1k resistor when it is off, below is the circuit using a small N-MOSFET.