Add components, wire them, place ground and start the simulation. Calculate an LED's series resistor with Ohm's law and verify it in Proteus.
Think of the small indicator lamps on every panel door: "power on", "fault", "motor running". Today most of them are LEDs, and each one has a resistor in front of it. Without that resistor the LED either burns instantly or wears out quickly. Calculating an LED's series resistor is the first and most repeated calculation in electronics. In this lesson you will do that calculation and build your first circuit in Proteus.
Theory: why isn't an LED connected without a resistor?
An LED is a diode. As the voltage across it approaches its threshold (about 1.8-2.2 V for a red LED), the current rises very quickly. So the LED does not limit its own current; the external circuit does. That is why we put a resistor in series and apply Ohm's law to the voltage left across the resistor:
R = (Vsource - Vled) / I
Example: Vsource = 5 V, Vled = 2 V, I = 15 mA
R = (5 - 2) / 0.015 = 200 ohm
Standard value: 220 ohm
Actual current: I = 3 / 220 = 0.0136 A = 13.6 mA
Resistor power: P = 3 x 0.0136 = 0.041 W (a 1/4 W resistor is enough)
The calculated 200 ohm is not a common standard value, so we pick the next standard value up (220 ohm). The current drops a little and the LED stays safe.
Step by step in Proteus
- Create a new project and switch to the schematic tab.
- Press P to open Pick Devices. Type RES in the keywords box and double-click the general-purpose resistor (its description usually says "Generic resistor") to add it to the project.
- In the same window type LED-RED and add it. This is an animated LED model that really lights up during simulation.
- For the source, type BATTERY and add it. Close the window; the three parts now appear in the object selector on the left.
- Click a part in the object selector, then click in the editing area to place it. To rotate, right-click the part and use the rotate commands.
- To draw a wire, click the end of one pin and then the end of the other. Proteus routes the wire for you. Order: battery positive → resistor → LED anode (flat side of the triangle) → LED cathode (side with the bar) → battery negative.
- Switch to terminals mode on the left toolbar, choose GROUND and connect it to the battery's negative terminal. The simulator calculates every voltage relative to this point.
- Double-click the resistor (or right-click and edit properties). Set its resistance to 220. Double-click the battery and set its voltage to 5V.
- Press the play button at the bottom left. The LED lights red; small coloured squares may appear on the pins (red for high, blue for low potential).
- Press stop. Always stop the simulation before making changes.
The LED-RED model has properties such as forward voltage and full drive current. The model looks "fully lit" as the current approaches that value. Default values may differ between versions; double-click the LED to see the values in your version.
Measure the current: connect the ammeter in series
Saying "it's lit" is not enough; an engineer measures. Switch to virtual instruments mode on the left toolbar and choose DC AMMETER. Put the ammeter in series: delete the wire between the resistor and the LED, connect one end of the ammeter to the resistor and the other to the LED anode. Double-click the ammeter and set its display range to milliamps. Start the simulation:
DC AMMETER: about 13 mA
Depending on the forward voltage of the LED model, you will see about 13-14 mA. A few percent difference from your calculation is normal, because in reality (and in the model) the LED voltage is not exactly 2.0 V; it changes slightly with current.
Try it with the mini simulator
In the mini simulator below, change the source voltage and the resistor with the sliders. Drop the resistor from 220 ohm to 100 ohm and watch the current rise to 30 mA; raise it to 1 kOhm and watch it fall to 3 mA. Then try the same values in Proteus and compare the ammeter reading. Seeing two tools give the same result is the fastest way to make the calculation stick.
Field rule: for indicator LEDs that stay on all the time, 5-10 mA is usually more than enough. Modern LEDs are bright even at low current; lowering the current reduces both heat and power consumption.
Common mistakes
Connecting the LED backwards: if the cathode goes to positive, the LED stays dark and the current is zero. If nothing lights in the simulation, check the LED's direction first.
Forgetting ground: without ground the simulator does not know what to measure voltages against and may show an error.
Connecting the ammeter in parallel: an ammeter has very low resistance; in parallel with a part it short-circuits that part. Ammeters always go in series, voltmeters always in parallel.
Exercise
You want to light a green indicator LED from the 24 V DC control supply in a panel. The LED drops 2.2 V and you want 8 mA. Calculate the series resistor and its power, pick a standard value and verify it in Proteus with LED-GREEN.
Hint: find the voltage left across the resistor first. Use that voltage, not 24 V, for the power.
Solution
VR = 24 - 2.2 = 21.8 V
R = 21.8 / 0.008 = 2725 ohm
Standard: 2.7 kOhm (current 8.07 mA) or the safe side 3.3 kOhm (6.6 mA)
P = 21.8 x 0.008 = 0.174 W
Choice: 3.3 kOhm, 1/2 W (1/4 W is borderline and runs hot)
In Proteus set the battery to 24V, enter 3.3k for the resistor, place LED-GREEN and read about 6.6 mA on the ammeter. The power calculation matters here: 0.17 W is close to the limit of a 1/4 W resistor, and inside a closed panel it will run hot. Choosing 1/2 W is the smart move.
In short: always connect an LED with a series resistor, size the resistor for the remaining voltage and don't forget its power rating. In the next lesson you will go deeper into measurement with the voltmeter, ammeter and probes, and build a voltage divider.
// Mini simulator
Move the sliders; the circuit and the values update instantly. Build the same circuit in Proteus and compare.
// Spot the bug +10 XP
Exactly one line below is wrong. Click the faulty line.
3 x 0.0136 = 0.041 W, not 0.41 W. The decimal point slipped by one place. This mistake leads you to an unnecessarily large and expensive resistor; a slip in the other direction burns the resistor. For 0.041 W a 1/4 W resistor is enough.
// Mini quiz
Click an option; you will see right away, with the reason, whether it is correct or not.
Mark it when you finish: your progress is saved and you earn +20 XP.
Tip: ← → keys let you move between lessons.


