<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof">
If the original LED signal comes from a MCU and you have spare pins then another approach which uses less board area is to have two LEDs, one on the front panel and another hidden inside the module. Run a resistor from VCC to the two LEDs, then feed the other
ends of the LEDs to two pins on the same MCU port. Writing to the port causes and instantaneous change from one LED to the other. However because the LEDs are in different locations, 100nF from the LED/resistor joint to ground may be needed to smooth out
the last wrinkles.<br>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Synth-diy <synth-diy-bounces@synth-diy.org> on behalf of Neil Johnson via Synth-diy <synth-diy@synth-diy.org><br>
<b>Sent:</b> 24 February 2023 11:16<br>
<b>To:</b> Scott Bernardi <scottbernardi55@gmail.com><br>
<b>Cc:</b> synth-diy@synth-diy.org <synth-diy@synth-diy.org><br>
<b>Subject:</b> Re: [sdiy] Signals leaking into the PSU?</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">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">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>
_______________________________________________<br>
Synth-diy mailing list<br>
Synth-diy@synth-diy.org<br>
<a href="http://synth-diy.org/mailman/listinfo/synth-diy">http://synth-diy.org/mailman/listinfo/synth-diy</a><br>
Selling or trading? Use marketplace@synth-diy.org<br>
</div>
</span></font></div>
</body>
</html>