I'm guessing this is a fairly obvious question... I've soldered together a simple AND logic gate circuit using two transistors, but when I open the first switch and close the second the LED unexpectedly comes on - see the first attachment. Transistors are BC547s. I can add a pull down resistor between the two transistors to prevent this, so I'm assuming its something to do with the voltage between the two transistors floating.
Running a simulation shows that the voltage between the two transistors is 2.5V with both switches open (second diagram), which seems to show the transistors are acting as a voltage divider between +5V and GND. When I close the second switch only, the voltage drops to 1.55V (20mA above the LED voltage).
It looks like current is flowing from base to emitter of the second transistor to power the LED, however from what I read the BE junction can be treated as a Zener, with a breakdown voltage of 6V (
according to the datasheet). As my voltage is well below this breakdown, where does the current to supply the LED come from?