Choose a series resistor for a 5 V Arduino LED
Adjust an LED resistor, estimate current from voltage and forward drop, and compare the calculation with a supported low-voltage Uno example.
0 of 3 complete · Progress saved on this device
Estimate current through the series path
The resistor and LED share one current. With a 5 V output and an assumed 2 V red LED forward drop, the resistor has about 3 V across it. Divide by the resistance in ohms, then multiply by 1,000 to express the result in milliamps. Real forward voltage varies with the device, temperature, and current.
Pick the larger safe value when uncertain
The slider starts at 330 Ω, giving about 9.1 mA in this model. A larger resistance lowers current. Check the actual LED data and board specifications before building. Use the setup only as a low-voltage indicator circuit, and disconnect the board before rewiring.
Verify orientation and wiring
Run the sketch with the modeled LED on D9. The circuit uses a 330 Ω resistor in series. In a physical setup check the LED polarity, the resistor marking, and the ground path if it fails to light. A model result establishes the circuit behavior it simulates, without providing a physical current measurement.
Open the exact Uno example
void setup() {
pinMode(9, OUTPUT);
digitalWrite(9, HIGH);
}
void loop() {}Verified with [email protected] on Uno R3 (2026-12-05 UTC). The matching circuit passed its Uno model checks. This check did not use physical hardware.