A curiosity.
The first:
The trivial circuit for lighting an LED is something like:
Vcc |----| GND R LED
Where the current flowing is (Vcc - Vf)/R. For example, if it's a red LED (say Vf = 1.2V) and a 5V supply, a 200-ohm resistance will run it at
19mA.So, what's going on if I connect an LED with Vf = 1.2V directly (R = 0) to a cell of 1.2V? It seems to light, but what governs the current to the LED?
Another curiosity I've seen argued by non-experts.
Let's say that instead of going directly to the supply, we're using an I/O pin on a microcontroller:
uC pin ----/\\/\\/\\--->|----| GND
Some people justify omitting the resistor by saying that the uC's sink/source capability is only, for example, 25mA. Others (including me, unless I'm schooled otherwise) believe that without the resistor the LED will tend to pull as much as it can until it, the uC, or both are fried for being pushed past specifications. Who's right?
Thanks PSM