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

By the end of this lesson you will be able to tell series from parallel circuits and calculate the total resistance and current of each.
So far every circuit has had one path. Real robots join parts together, and there are only two ways to do it: one after another (series) or side by side (parallel). Knowing both lets you build the voltage divider at the heart of our night lightβs light sensor in the next lesson.
The two patterns side by side:
flowchart LR
subgraph Series
direction LR
S1["Supply +"] --> SA["R1"] --> SB["R2"] --> S2["GND"]
end
subgraph Parallel
direction LR
P1["Supply +"] --> PA["R1"] --> P2["GND"]
P1 --> PB["R2"] --> P2
end
Parts in series share the same current, because there is only one route. Resistances add up:
R total = R1 + R2 + R3
The supply voltage is shared between the parts, each taking a slice in proportion to its resistance.
Robot example: two red LEDs in series on 4.5 V. Each drops 2.0 V, so together 4.0 V, leaving 0.5 V for the resistor. For 10 mA:
R = 0.5 / 0.010 = 50 ohm (use 56 ohm from the E12 series)
Both LEDs share the same 10 mA, so they glow equally. If one LED fails open, both go out, because the loop is broken.
Parts in parallel share the same voltage, because they connect to the same two points. The current splits between them, and the more paths you add, the less total resistance:
1 / R total = 1 / R1 + 1 / R2 + 1 / R3
Two equal resistors in parallel give half the resistance. Three equal ones give a third.
Robot example: two LEDs side by side, each with its own resistor. Each branch draws its own 10 mA, so the battery supplies 20 mA in total. If one LED fails, the other keeps shining.
Why not share one resistor? Even slightly different LEDs would hog the current, and one could get too much. Give each branch its own resistor.
# Run on your computer or the Pico
# Series and parallel resistor calculators
def series(*resistors):
return sum(resistors)
def parallel(*resistors):
return 1 / sum(1 / r for r in resistors)
print("1k + 2.2k in series: ", series(1000, 2200), "ohm")
print("1k || 1k in parallel: ", parallel(1000, 1000), "ohm")
print("10k x 3 in parallel: ", round(parallel(10000, 10000, 10000), 1), "ohm")
print("Two LEDs, 20 mA from 4.5 V:", 2 * 10, "mA total from the battery")
Output:
1k + 2.2k in series: 3200 ohm
1k || 1k in parallel: 500.0 ohm
10k x 3 in parallel: 3333.3 ohm
Two LEDs, 20 mA from 4.5 V: 20 mA total from the battery
A handy trick: if you are short of a value, combine what you have. Need 5k? Two 10k in parallel. Need 20k? Two 10k in series.
Why this matters: the night lightβs sensor is two resistances in series (the LDR and a fixed resistor), and the sensor and the LED branch are two separate paths in parallel across the same supply. Every circuit in this course is made of these two patterns.
Common mistakes:
Teachers: the series LED exercise needs a supply above 4 V, so it works with the 3 x AA pack but not on 3.3 V. If you only have USB or Pico power in your room, run the parallel exercise and use the calculator helper for the series one.
parallel() helper to find which two E12 resistors in parallel get closest to 150 ohm.Why: Their forward voltages add up to about 4 V, more than the supply has.
Quick quiz 1 of 3
Two 1k resistors are in parallel. What is the total resistance?
Quick quiz 2 of 3
Why give each parallel LED its own resistor?
Quick quiz 3 of 3
Three red LEDs (about 2.0 V each) in series on a 4.5 V pack. What happens?
Comments