
How it works
A 5 V battery powers a toggle switch, a 220 Ω resistor and a red LED in series. The battery's positive terminal feeds the breadboard's + rail. The switch, resistor and LED sit in one row, so each lead shares a breadboard column with the next part, and the LED's last lead returns to the − rail and the battery's negative terminal.
The resistor sets the current. The lit LED drops about 1.8 V, leaving about 3.2 V across the 220 Ω resistor. About 15 mA flows through the loop. The switch is a latching single-pole, single-throw type, and its lever position is saved with the circuit, so the light is still on or off when you open the project again.
What to watch
Click the switch lever. The LED lights the moment the contact closes and goes dark when it opens. Hover over both resistor leads. With the switch closed, their voltages differ by about 3.2 V. With it open, the two leads read nearly the same voltage and the LED goes dark.
What's on the bench
- Battery
- LED
- Resistor
- Toggle switch
How it's wired
- hole B+5→hole a10
- hole a17→hole B-9
Try this
- Select the resistor and change it to 1 kΩ in the Inspector. The LED is clearly dimmer, because the current falls to about a fifth.
- Set the battery to 3 V. The voltage across the resistor falls to about 1.3 V and the LED dims.
- Add a second resistor and LED in parallel after the switch. One switch now controls both lights. Each branch has its own resistor to limit its LED's current.



