I want to place LEDs on the outputs of a PIC to indicate when each output is high, but I want the LED to load the output as little as necessary. So, I thought I would use a 2N2222 to control each LED as shown in the attached schematic. With the green LED that I plan to use, and a 1k resistor, the current through the LED is 2.38mA, and the LED is bright enough for my purposes.
So, according to the "rule of thumb" (which I don't like, but don't have an alternative for), I would want .238mA of base current to Q1, which would calculate to 21k for R1. Sure enough, a 22k gives me .169mA, which I guess is close enough to the "rule of thumb." At that point, the current through the LED is 2.32mA, still bright enough for me.
But, if I make R1 51k, the current through the LED is unchanged, but the base current is down to .073mA. What's wrong with that, and why shouldn't I minimize the base current so long as the LED current remains at 2.3x mA?
Thanks.
So, according to the "rule of thumb" (which I don't like, but don't have an alternative for), I would want .238mA of base current to Q1, which would calculate to 21k for R1. Sure enough, a 22k gives me .169mA, which I guess is close enough to the "rule of thumb." At that point, the current through the LED is 2.32mA, still bright enough for me.
But, if I make R1 51k, the current through the LED is unchanged, but the base current is down to .073mA. What's wrong with that, and why shouldn't I minimize the base current so long as the LED current remains at 2.3x mA?
Thanks.
Attachments
-
9.3 KB Views: 162