<div dir="ltr">I breadboarded it, and it did work with 0 - 5v, but that may be because my transistors were mismatched. <div><br></div><div>I have done the red-green LED thing on an LFO.</div><div><a href="https://www.bernacomp.com/elec/og2/og2_lfo.gif">https://www.bernacomp.com/elec/og2/og2_lfo.gif</a><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Feb 24, 2023 at 3:16 AM Neil Johnson <<a href="mailto:neil.johnson71@gmail.com">neil.johnson71@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Scott,<br>
<br>
> Here's a way to keep a constant current driving a flashing LED using a differential pair. It only takes one extra resistor and transistor compared to the standard transistor<br>
> I whipped up a page for it:<br>
> <a href="https://www.bernacomp.com/elec/og2/constant_current_led.html" rel="noreferrer" target="_blank">https://www.bernacomp.com/elec/og2/constant_current_led.html</a><br>
<br>
Thanks - an interesting solution. My only concern would be driving it<br>
from 0V to 5V. At 0V both bases are at the same voltage so the<br>
current will split between the two transistors depending on their<br>
matching. If they were both perfectly matched then the current would<br>
split equally between the two paths, so the LED would see half of the<br>
"on" current.<br>
<br>
Driving it from a bipolar signal is fine, for example, for a -5V to<br>
+5V input you get a sinusoidal-ish LED current (according to sims<br>
anyway ;) ) for lovely smooth on-off transitions (probably makes the<br>
tone warmer too, more analogue-y richness with a mellow undertone,<br>
like melting butter oozing over hot crumpets.... errr..... nice.....).<br>
And you could extend this to drive two LEDs (say, red and green) for<br>
extra blinky goodness. Or you get to choose the polarity of the drive<br>
(inverting as you have drawn, or non-inverting if the LED is in the<br>
other collector).<br>
<br>
Cheers,<br>
Neil<br>
</blockquote></div>