Open Collector means LED must be connected between Pin 7 and +5 Volt Rail, not to ground.I keep the PS amps clamped low because I'm usually working with logic circuits and don't want to cook them if I miss wire something. Yes the mA drain is puzzling me as it is more than double what I expected. There is somethin unexpected going on here (which is why I posted this). I knew the output 2N2222 should not have been needed, but added it due to the large mA being sank and thought it may have been due to the LED (it isn't). Placing the LED emitter following didn't work, but led me down a new path with surprising results. I eliminated the xstor, used a pot for the R5 pullup and still had the same bright light at first and dimming quickly results. So I started thinking outside the box and played some what ifs with the circuit and found this. I eliminated R5 pullup and tied the LED directly to the 311 Pin7 output. I moved the pullup pot to between Pin1 and Gnd. It works, but now pull 61mA when off and lighting the LED. I hooked up my scope to Pin7 and watched the output voltage. It starts to rise when Pin2 reaches 2.48V. Pin7 slowly increases as voltage to Pin7 drops? There is no sharp "digital" output , it ramps up "analog". Even stranger is that as I decrease the voltage to Pin2 the circuit current rises from 0 to61mA at 2.48V and at 1.48V it drops off sharply to 40mA, then at 1.38V it goes back up again. Something is going on here that I don't understand. There is NO pullup resistor and the Pin7 output is powered? It is listed as being FL (floating voltage) output instead of open collector which I don't really understand what FL is. This seems to be the crux of my problem. I already tried the LM741 and LM339 and they worked perfectly and are OC (the 741 is actually an Op-Amp used as a comparator).
LM311 can SINK current, it cannot source current
It is very similar to a Normal Open Relay Contact that "closes" to Ground only.
And ADD a 330 Ohm current limiting resistor in SERIES with that LED !
Last edited: