I am playing with three +/- 3.2 Vf blue LEDs in series on a breadboard, using a 12V battery. I have many different kinds of resistors to choose from.

As explained here at 08:35 and here, to calculate the resistance necessary to protect the LED(s), I subtract the forward voltage from the supplied voltage to first find the voltage drop of the imaginary resistor. Here: 12 - (3.2 x 3) = 2.4 . I then use Ohm’s, dividing the resistor’s voltage drop with the current necessary to drive the LED(s) (as per the manufacturer’s specs? But let’s suppose 20 mA). Here: 2.4 / 0.02 = 120.

jmdNvD9klqQLIQa.png

  1. I don’t understand what The Engineering Mindset means by “our resistor needs to remove the remaining voltage”. That sounds like adding up to what the power source supplies. Doesn’t that leave us with 0V to work with, meaning, no work should happen…? Or is the “remaining EXCESS voltage” we’re talking about here?
  2. In the image, I’m using a honking 1.2kOhm resistor, so how on earth are the LEDs emitting light? Does the above calculation mean that I could keep decreasing the resistance all the way to 120 Ohms-ish and still without them burning out?

Obviously a layperson here, so explain it as if I was five. 🥰

  • Steve@startrek.website
    link
    fedilink
    arrow-up
    2
    ·
    3 hours ago

    LEDs will light at very small current. Try the largest value resistor you have just to see what the do.

  • wjrii@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    ·
    6 hours ago

    What size resistor is needed?

    Step 1: Guess.

    Step 2: See if LED either refuses to shine or blows up on breadboard.

    If Yes, return to step 1.

    If No, solder it up.

  • eleijeep@piefed.social
    link
    fedilink
    English
    arrow-up
    7
    ·
    8 hours ago

    Your initial explanation is correct, and you are calculating the current-limiting resistor correctly (120 Ohm).

    With a 1.2kOhm resistor, you are limiting the current to (2.4V / 1200 Ohm) = 2mA. For this LED that’s clearly enough current to emit light. The manufacturer’s datasheet might give you a curve that shows the current range it operates under, but if not then just don’t exceed the forward current (I_f) that they specify. If you replace your resistor with a potentiometer then you could adjust the brightness of the LEDs by varying the resistance. If you have a multimeter you could measure the currents and voltages in the circuit and verify that they are what you expect.

    The law you want to understand in order to explain a circuit like this is Kirchhoff’s voltage law. Don’t get confused by Ohm’s law, since that only applies to linear devices (resistors) and diodes are non-linear devices that do not obey Ohm’s law. Ohm’s law is only relevant to calculate the current through the current-limiting resistor. Diodes have a “forward-voltage” which is the voltage drop across them, irrespective of current flowing through them.

  • MuttMutt@lemmy.world
    link
    fedilink
    English
    arrow-up
    7
    arrow-down
    1
    ·
    8 hours ago
    1. With a series circuit the voltage consumed by each component is divided equally based on their resistance. To understand this a bit better I suggest looking up a voltage divider and building one. There really isn’t “excess voltage” but certain electronics want to run at a particular level of voltage so a resistor is put in series to reduce the voltage the diode in this case sees.

    2. Ohms law explains a lot of this https://learn.sparkfun.com/tutorials/voltage-current-resistance-and-ohms-law/all there is a direct correlation between voltage, amperage, and resistance in a circuit.

  • Limonene@lemmy.world
    link
    fedilink
    arrow-up
    5
    ·
    8 hours ago
    1. “Remove the remaining voltage” is probably not the best way to describe it. A better way to describe it is that there simply can’t be remaining voltage, mathematically. It has to add up to zero on both sides. On the supply side, it’s 12V for the battery, and on the consuming side, it’s 12V from the resistor plus LEDs.

    Think of it like water pressure in pipes. There is an absolute pressure at any point in a water system, just like the voltage in a circuit. If the bottom of the LEDs is defined as 0V, then the LEDs cause a voltage of 9.6V at the top. The battery produces 12V. Connecting the resistor between 9.6V and 12V causes a 2.4V drop across the resistor.

    The LEDs have their 3.2V each to work with. The resistor has its 2.4V to work with.

    1. You probably have very bright very efficient LEDs. I calculate you should be getting around 2mA, about a tenth of the typical nominal current for LEDs that size. 2mA Will certainly make them light up visibly, even if much less than their maximum brightness. I would expect them to survive 120 ohms, but do consult the datasheet. If you’re worried about burning them out, put a current meter in series with the LEDs to check. Brief small overcurrent conditions, like 50mA for a tenth of a second, probably won’t burn out the LEDs completely. You could also check the current by measuring the voltage across the resistor and calculating the current, because resistors tend to be pretty precise and stable.
    • bizarroland@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      6 hours ago

      From what I understand, the resistor is limiting the amount of current draw that can be drawn into the LEDs because otherwise LEDs will draw whatever voltage is applied to them and burn out if it’s over their limit.

      The resistor itself should not absorb very much energy, and what energy it does absorb would be turned into heat.

  • MelodiousFunk@lemmy.zip
    link
    fedilink
    arrow-up
    3
    ·
    edit-2
    7 hours ago

    Or is the “remaining EXCESS voltage” we’re talking about here?

    This exactly. Those LEDs will likely run with a very wide range of resistors… for a little while, anyway. Make the resistor too small and the magic smoke will come out faster (too much voltage across the LEDs). Too big, and they’ll be dim or unlit (too little voltage). What you want is the Goldilocks zone where each LED is getting its rated voltage.

    The other users did a much better job of explaining the whys than my out-of-practice ass can. Have fun!

  • mkwt@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    8 hours ago
    1. I think they’re talking about what you call “excess” voltage. If you start at any point in the circuit and go all the way around, adding positive battery voltage and negative voltage drops, the result should be 0 V when arrive back at the starting point. The 0 V constraint is physically required because the starting point and ending point of the measurement are the same point.
    2. You might want to check what the actual voltage across each diode is. If actual voltage drop per diode is lower than you expected, then the drop across the resistor will be higher, and the current in the circuit will be higher (I = V_R / R). It could also be that you have 2 mA LEDs, not 20 mA.