Limit current
In series with an LED, a resistor helps set the current and protects the LED from excessive current under the intended operating conditions.
Example: LED series resistorMove beyond resistor values and learn how to choose, combine and apply resistors in real circuits. Explore LED current limiting, voltage dividers, signal biasing and power dissipation with practical calculations.
A resistor does not simply “reduce voltage”. Its role depends on where it is connected and what the circuit needs.
In series with an LED, a resistor helps set the current and protects the LED from excessive current under the intended operating conditions.
Example: LED series resistorTwo resistors can create a lower voltage at their junction. The output changes when a load draws current, so divider loading matters.
Example: sensor signal scalingPull-up and pull-down resistors give an input a defined default HIGH or LOW state when a switch or open-collector output is not actively driving it.
Example: push-button inputResistors can establish bias currents and voltages for transistor stages. The correct values depend on the device, topology and required operating point.
Example: transistor bias networkImportant distinction: a resistor dissipates electrical energy as heat. It is not a voltage regulator. A divider may be suitable for a high-impedance signal input, but it is usually a poor substitute for a regulated power supply.
Enter the supply voltage, LED forward voltage and desired current. The calculator estimates the required series resistance and resistor power.
Example: 5 V supply, 2 V LED and 10 mA target.
Use the LED's datasheet for its forward-voltage range and permitted current. A common resistor value may produce a current slightly different from the target. Check the actual current and resistor dissipation in the real circuit.
Resistance alone is not enough. A resistor also has a power rating, commonly expressed in watts.
For a resistor with voltage across it and current through it, power can be calculated using any of these equivalent relationships:
Power is converted mainly into heat. If the resistor dissipates more than its permitted rating, it may overheat, drift in value, become damaged or fail.
Do not select a resistor whose nominal rating is barely equal to the calculated dissipation. Consider ambient temperature, ventilation, enclosure, pulse conditions and the manufacturer's derating curve.
These are common ratings, not automatic approvals for every circuit.
A resistor can become hot even when it is operating within its rating. Keep heat-producing components away from plastics, wires and heat-sensitive parts. Use the manufacturer's power-derating guidance.
A divider's output is taken across the lower resistor. A connected load sits in parallel with that lower resistor and changes the output voltage.
Compare the unloaded output with the loaded output.
Practical rule: a divider is most predictable when the load resistance is much larger than the lower divider resistor. If the load is comparable to or smaller than R2, loading can significantly reduce the output. For powering a device, consider a suitable regulator instead.
Combine available resistors to obtain a useful equivalent value, but remember that each resistor still has its own power and tolerance limits.
Resistances add. The same current flows through each resistor, while the supply voltage is divided between them.
The equivalent resistance is lower than the smallest branch resistance. Each branch has the same voltage.
Use the resistor colour-code calculator to identify a physical resistor's nominal value and tolerance. Standard E-series values mean the exact calculated resistance may not be available as a single component.
A potentiometer contains a resistive track and a movable wiper. Its three terminals can be used as an adjustable voltage divider, or two terminals can be used as a variable resistance.
A potentiometer's total resistance and power rating must suit the circuit. Do not assume every potentiometer can carry motor or lamp current.
Explore Module 01: Potentiometer to LEDUse a low-voltage DC source and compare the calculated current with a real measurement.
Never connect this activity to mains electricity. Use a low-voltage, current-limited supply.
This estimate assumes a 2 V LED drop. The actual LED forward voltage depends on its type, current and temperature.
An LED connected directly to a stiff voltage source can draw excessive current and fail. Use a correctly designed driver or series resistor.
A resistance value may be correct while the selected component's power rating is inadequate.
A load changes the divider ratio. Use a regulator or suitable driver when the load needs a stable supply.
A digital input can float when nothing drives it. Provide a defined logic state using an appropriate resistor or a correctly configured internal pull-up.
Switch off and safely discharge stored energy before measuring resistance. In-circuit parallel paths can also affect the reading.
Check band orientation, tolerance and the component's markings. Confirm uncertain values with a meter when safe and appropriate.
Choose the best answer for each question.
Return to the previous lesson or explore the module directory.
Use the open lessons and experiments at your own pace. For personalised explanations, project-specific troubleshooting, guided practical training or masterclasses, EazyLife offers paid support tailored to your learning goals.
Free or sponsored lesson referrals may be available through active programmes; they are not guaranteed.