By Kevin McAleer, 5 Minutes
Page last updated November 24, 2026

By the end of this lesson you will be able to explain voltage, current and resistance in your own words, and say which one a given measurement is.
Three words come up in every electronics conversation: voltage, current and resistance. They sound abstract, but each one answers a simple question about your robot. In this lesson we meet all three, and by the end you will know what each one feels like on a real circuit, starting with the first step of our night light: a battery lighting an LED.
Imagine a tank of water on a hill, connected to a pipe that runs downhill to a water wheel.
A bigger hill (more voltage) pushes more water. A narrower pipe (more resistance) lets less through. That single relationship is Ohm’s law, and we meet it properly in the next lesson.
The three ideas meet in one loop. Follow it from the battery round to the battery:
flowchart LR
B["Battery positive<br>voltage pushes"] --> R["Resistor<br>resistance holds back"]
R --> L["LED<br>lights up"]
L --> N["Battery negative<br>0 V, ground"]
N -.->|"current flows round the loop"| B
Voltage is always measured between two points. Saying “this wire is 3.3 volts” really means “this wire is 3.3 volts above ground”. Ground (GND, 0 V) is the shared reference point that everything else is measured against.
Voltages you will meet in robotics:
Current is the flow of electric charge around a loop. It leaves the positive terminal of a battery, travels through the parts, and returns to the negative terminal. If the loop is broken anywhere, say a wire comes out, the current stops everywhere. That is why we call it a circuit: a circle.
A typical indicator LED uses about 10 mA. A small hobby motor might draw 200 mA running and over 1 A when stalled. That difference is a big deal later in the course.
Every component resists current a little. A resistor is a part made to resist on purpose, so you can control how much current flows. Our night light will use resistors to protect the LED, to build a light sensor, and to switch a transistor.
Here is a tiny script that lists the current our first circuit would draw. We have not met the formula yet, so just run it and read the output. It will make sense in the next lesson.
# Run on your computer or the Pico
# Current through a resistor when a battery pack is connected across it
battery_volts = 4.5 # three AA cells
for resistance in (100, 330, 1000, 10000): # ohms
amps = battery_volts / resistance
print(f"{resistance:>6} ohm -> {amps * 1000:.1f} mA")
Output:
100 ohm -> 45.0 mA
330 ohm -> 13.6 mA
1000 ohm -> 4.5 mA
10000 ohm -> 0.5 mA
Same voltage, but more resistance means less current. That is the pipe getting narrower.
Why this matters: an LED lets almost any current through once it is on. Without a resistor, it would take as much as the battery could give, and burn out in a flash. Resistance is how we keep parts alive.
battery_volts to 3.3 (the Pico’s 3V3 pin) and rerun. How do the currents change?Why: Voltage is the push between two points. Current is the thing that moves. Mixing them up makes later lessons confusing, especially when measuring with a multimeter.
Quick quiz 1 of 3
Which statement is correct?
Quick quiz 2 of 3
You raise the resistance in a circuit and keep the same battery. What happens to the current?
Quick quiz 3 of 3
What does 4k7 mean?
Comments