MOULDLKnowledge BaseElectrical Knowledge Base3D Model DownloadsMembership
中文版Model Store »
Knowledge Base › Electrical Knowledge Base › LED driver circuits and choosing the current limiting resistor
HomeModels
Table of contents

On this page

Electrical & Electronic Basics (600 articles)

Quick Reference

  • PLC & Programming
  • Electrical & Electronic Basics (monthly)(每月更新中)
  • Electrical Control & Drawings (monthly)(每月更新中)
  • Drives & Actuators (monthly)(每月更新中)
  • Sensors & Detection (monthly)(每月更新中)
  • Industrial Communication & Networks (monthly)(每月更新中)
  • HMI & Host Systems (monthly)(每月更新中)
  • Industrial Robots & Motion Control (monthly)(每月更新中)
  • Mechatronic System Integration (monthly)(每月更新中)
  • Fault Diagnosis & Standards (monthly)(每月更新中)

LED driver circuits and choosing the current limiting resistor

An LED without a resistor is a blown LED on a schedule, because its V-I curve turns vertical at turn on. This page covers the resistor calculation for indicator LEDs, the series and parallel rules, and when constant current becomes mandatory.

1. How it works

An indicator LED needs its current fixed by the external circuit: the forward drop of 1.8 to 2.2 V for red and yellow, 3.0 to 3.4 V for blue, green and white, leaves the supply minus the drop across the resistor, and Ohm sizes it: R equals Vcc minus Vf times n over If. On a 5 V rail a red LED at 10 mA wants about 300 ohms, giving the familiar 270 to 330 ohm value; a white one wants 150 to 220 ohms. Give the resistor a two times power margin, which at these currents means a quarter watt part is fine.

2. Practice and pitfalls

Series strings multiply the drop and must satisfy Vcc greater than n times Vf; parallel strings never share one resistor, because the string with the lowest Vf hogs the current and ages fastest, so each parallel branch carries its own resistor. Small SMD indicators run happily at 2 to 3 mA and 680 ohms to 1 k on 5 V. Power LEDs above 100 mA are a different animal: their drop falls as they heat, so a fixed resistor lets current run away, and a constant current driver with thermal feedback is the only correct answer.

3. LED current limiting quick table

ColorVfTypical IfR on a 5V supply
Red and yellow1.8 to 2.2V10mA270 to 330 ohms
Blue, green, white3.0 to 3.4V10mA150 to 220 ohms
Small SMD indicator2.0 to 3.2V3mA680 ohms to 1k
Infrared emitter1.2 to 1.5V20mA180 to 220 ohms
Power LED3.0 to 3.6V350mA and upConstant current driver

4. Notes

Size R from supply minus drop over current with a two times power margin, give each parallel string its own resistor, and move power LEDs to a constant current driver before thermal runaway does.

5. References

The quantities and component characteristics discussed here follow current national standards and the corresponding IEC documents: Semiconductor devices follow IEC 60747 and GB/T 4586, graphic symbols GB/T 4728, with lighting safety per IEC 60204-1. Always check the device datasheet and the product design file for ratings and derating.

6. Cautions

⚠️ Three common pitfalls:
① Wiring parallel LED strings through one shared resistor: the lowest drop string hogs current, dims first and dies first
② Driving a 3 W LED from a fixed resistor because it lights up fine: as the junction heats the current climbs and the LED burns within minutes
③ Hiding an indicator LED across 24 V with no resistor to save a part: the junction opens in the first second

Locate the issue with the approach above, then confirm with measurements; safety-related circuits must follow the standards and manufacturer requirements.

Related reading

Related 3D models: Ready to build it? Download free 3D models & CAD drawings at MOULDL »
MOULDL · Electrical Knowledge Base · free self-study reference for electrical & automation engineers, 3D CAD models at MOULDL