Gratis å bruke, uten konto

LED-motstandsberegner

Beregn en strømbegrensende motstand for én eller flere seriekoblede LED-er. Sammenlign E12- og E24-verdier, og kontroller beregnet strøm og motstandseffekt.

Ideelt estimat for en likestrøms seriekrets. Den valgte standardverdien runder motstanden opp, slik at beregnet strøm ikke overskrider målet med de oppgitte idealverdiene. Kontroller databladene for LED og motstand, toleranser, temperatur og variasjoner i forsyningen. Effektforslaget bruker en enkel faktor på 2; det er ingen sikkerhetssertifisering.

Hvordan beregner jeg motstanden til en LED?

Trekk summen av LED-enes fremspenning fra forsyningsspenningen, og del deretter på målstrømmen i ampere. Beregneren runder også opp til en foretrukket E12- eller E24-verdi og anslår strømmen og effekttapet i motstanden.

Veiledning

Slik bruker du LED-motstandsberegner

This calculator picks a current-limiting resistor for one LED, or for several LEDs wired one after another. You enter the supply voltage, the forward voltage of each LED, how many LEDs there are and the current you want. It rounds up to a standard E12 or E24 value, then shows the real current and the heat in the resistor. It is an ideal DC estimate and does not replace a datasheet.

Slik gjør du

  1. Type the supply voltage in volts. Then type the forward voltage of one LED and how many LEDs sit in series. The supply must be higher than all the LED voltages added together.
  2. Type the current you want in milliamps. Then choose E12 or E24 as the family of standard resistor values to pick from.
  3. Press Calculate resistor. The tool lists the LED voltage, the voltage left for the resistor, the exact resistance, the standard value, the real current, the power and a suggested wattage.
  4. Use the example button to load 12 V, one 2 V LED and 20 mA, or Reset to go back. Copy results puts all the lines on your clipboard.

Eksempler

One 2 V LED on a 12 V supply

Du skriver inn
Forsyningsspenning
12
Fremspenning
2
Antall LED-er
1
Ønsket strøm i mA
20
Serie
E12
Du får
Samlet LED-spenning
2 V
Motstandsspenning
10 V
Nødvendig motstand
500 Ω
Standardmotstand
560 Ω (E12)
Faktisk strøm
17.8571429 mA
Motstandseffekt
0.1785714 W
Minste effektklasse
0.5 W

The LED takes 2 V, so 10 V is left for the resistor. 10 divided by 0.02 A is 500 Ω. E12 has no 500 Ω, so the tool goes up to 560 Ω, which gives 10 / 560 = 17.857 mA, a little under the target. Power is 10 V times that current, 0.1786 W. Twice that is 0.357 W, so the next rating at or above it is 0.5 W.

Kjørt med verktøyets egen kode.

Two LEDs in series with E24

Du skriver inn
Forsyningsspenning
9
Fremspenning
3.2
Antall LED-er
2
Ønsket strøm i mA
20
Serie
E24
Du får
Samlet LED-spenning
6.4 V
Motstandsspenning
2.6 V
Nødvendig motstand
130 Ω
Standardmotstand
130 Ω (E24)
Faktisk strøm
20 mA
Motstandseffekt
0.052 W
Minste effektklasse
0.125 W

Two LEDs use 6.4 V, which leaves 2.6 V. 2.6 divided by 0.02 A is 130 Ω, and 130 is an E24 value, so the current lands on 20 mA. With E12 the same inputs give 150 Ω and about 17.33 mA, because E12 has no 130.

Kjørt med verktøyets egen kode.

A supply that is too low

Du skriver inn
Forsyningsspenning
3.3
Fremspenning
2
Antall LED-er
2
Ønsket strøm i mA
20
Serie
E12
Du får
Melding
Check the values. Supply voltage must exceed the total LED forward voltage.

Two 2 V LEDs need 4 V, which is more than the 3.3 V supply. Nothing is left over for a resistor, so the tool shows a message in place of numbers.

Kjørt med verktøyets egen kode.

Når det er nyttig

  • Choose a resistor for a status LED on a battery or a 5 V board.
  • Plan a short string of LEDs that all share one current from a higher supply.
  • Compare the E12 and E24 choices for the same circuit and see which lands closer to the current you want.
  • Check a hand calculation while learning how voltage, current and resistance relate.

Begrensninger

  • It treats each LED as a fixed voltage drop. A real LED's forward voltage changes with current, colour, temperature and from one part to the next.
  • It only handles LEDs in one series chain on a steady DC supply. Parallel LEDs, pulsed or PWM drive and AC supplies are not modelled.
  • The inputs must be positive, the LED count must be from 1 to 100, and the supply must be above the combined LED voltage.
  • Resistors in these families are sold with a tolerance, commonly 10% for E12 and 5% for E24, and the tool does not apply it. The power advice is a plain 2x margin, not a safety rating.

Tips

  • Read the forward voltage and the maximum current on the LED datasheet, then aim for a target current below that maximum.
  • Leave some room between the supply and the LED voltages. When the gap is small, a tiny error in the forward voltage changes the current a lot.
  • Run both E12 and E24. The finer E24 list often gets closer to the current you asked for.

Kilder

Vanlige spørsmål

How do I calculate the resistor for an LED?

Add up the forward voltages of the LEDs, subtract that from the supply voltage, and divide what is left by the current you want in amps. The tool does this, then rounds up to a standard value.

Why is the resistor larger than my exact result?

The tool always moves up to the next standard value in the list you chose. A slightly larger resistor passes slightly less current, so the real current stays at or below your target in the ideal model.

What is the difference between E12 and E24?

They are lists of preferred resistor values. E12 has 12 steps in each factor of ten and E24 has 24, so E24 gives finer choices and a closer match to the exact value.

Can I use it for LEDs wired in parallel?

No. The tool assumes every LED shares one chain and the same current. For parallel branches, work out each branch on its own, and check the datasheets because LEDs do not always share current evenly.

How is the suggested wattage chosen?

It multiplies the voltage across the resistor by the real current to get its heat, doubles that, and shows the next common rating at or above the result. Enclosures and hot places may need more.

Why do I get a message and no numbers?

The most common cause is a supply voltage that is not higher than the LED voltages added together. Values that are zero, negative or empty, or more than 100 LEDs, also stop the calculation.

Is the result safe to build from?

Treat it as a first estimate. It ignores tolerances, temperature and supply swings, so check the LED and resistor datasheets and measure the finished circuit. Nothing you type is uploaded; the sums run in your browser.

Hvordan beregner jeg motstanden til en LED?

Trekk summen av LED-enes fremspenning fra forsyningsspenningen, og del deretter på målstrømmen i ampere. Beregneren runder også opp til en foretrukket E12- eller E24-verdi og anslår strømmen og effekttapet i motstanden.

Lastes kretsverdiene mine opp?

Nei. Beregningen kjøres i denne nettleseren. Verdiene du oppgir, lastes ikke opp eller lagres av verktøyet.

Hvilken motstand trenger jeg til en 12 V-forsyning og en LED på 2 V ved 20 mA?

Den ideelle motstanden er (12 − 2) ÷ 0,02 = 500 Ω. Denne beregneren velger 560 Ω fra E12, som gir omtrent 17,9 mA og et effekttap på 0,179 W i den ideelle modellen.

Kan jeg seriekoble flere LED-er?

Ja. Angi antallet LED-er og fremspenningen til hver av dem. Beregneren summerer fremspenningene og bruker deretter den gjenværende forsyningsspenningen til å beregne motstanden.

Hvordan velger jeg effekten på motstanden?

Verktøyet anslår motstandens effekttap ut fra den valgte motstanden og viser den neste vanlige effektklassen som er lik eller større enn det dobbelte av anslaget. Denne enkle marginen tar ikke hensyn til kapsling, omgivelsestemperatur, ventilasjon, pulslaster eller produsentens derating. Kontroller databladet og forholdene i kretsen.

Beviser dette at LED-kretsen min er trygg?

Nei. Fremspenningen til LED-en og forsyningsspenningen varierer, og denne idealiserte beregneren kontrollerer ikke transienter, kabling, temperatur eller komponentgrenser. Kontroller de faktiske databladene, og rådfør deg med en kvalifisert fagperson ved behov.