Shop by category
Shop all componentsOhm’s law & basics
Give every string its own resistor. Sharing one resistor between parallel strings lets one string hog the current and burn out.
LEDs per string ≤ (Vsupply − 1 V) ÷ VfStrings = LEDs ÷ LEDs per string, rounded upR = (Vsupply − LEDs in string × Vf) ÷ IResistor power = I² × R12 LEDs at 2 V, 20 mA from 12 V: at most 5 LEDs fit in a string, so use 3 strings of 4. Each string needs (12 − 8) ÷ 0.02 = 200 Ω. The supply gives 60 mA and the efficiency is 67%.
Putting LEDs in series wastes less energy than using one resistor per LED, because the same current flows through every LED in the string. Add LEDs to a string until the supply barely has room left for the resistor, then add more strings in parallel.
Keep about 1 V across the resistor so that small changes in supply voltage do not change the brightness much. For 12 V supplies, three red LEDs per string are comfortable and waste little; for strips and panels, a constant-current driver is more efficient than resistors.
LEDs are never exactly alike, so the one with the lowest forward voltage takes more current and can burn out. Give each string of LEDs its own resistor.
Divide the supply minus about 1 V by the LED forward voltage: 5 red LEDs (2 V) or 3 white LEDs (3.2 V) fit on 12 V.
Put three white LEDs (about 3 V each) in series with a resistor per string, and connect the strings in parallel.
LEDs per string ≤ (Vsupply − 1 V) ÷ Vf; Strings = LEDs ÷ LEDs per string, rounded up; R = (Vsupply − LEDs in string × Vf) ÷ I; Resistor power = I² × R.
12 LEDs at 2 V, 20 mA from 12 V: at most 5 LEDs fit in a string, so use 3 strings of 4. Each string needs (12 − 8) ÷ 0.02 = 200 Ω. The supply gives 60 mA and the efficiency is 67%.
Geekobot builds that use it include Alternator charging check light, Darlington touch switch, Letterbox flap notifier and Battery gauge with an OLED. Each has the full parts list, wiring and code.
Results are estimates for design and learning. Check critical designs against the component datasheet. Made by the Geekobot Learning Team. How we write our calculators