← all lessons
DC Circuits · #3 of 48

Series/Parallel + Voltage Divider

Resistor Combinations

Why it matters

Real circuits combine resistors. Series adds resistance; parallel reduces it. Voltage dividers are everywhere — sensors, level shifting, battery monitoring.

The idea

Series Resistors

Resistors in series: R_total = R1 + R2 + R3 + …

Parallel Resistors

Resistors in parallel: 1/R_total = 1/R1 + 1/R2 + 1/R3 + …

Voltage Divider

Two resistors in series create a fraction of the input voltage: V_out = V_in × (R2 / (R1 + R2))

flowchart LR
    Vin["V_in"] --> R1["R1"]
    R1 --> Vout["V_out"]
    Vout --> R2["R2"]
    R2 --> GND["GND"]

V_out = V_in × (R2 / (R1 + R2))

Why It Matters

Voltage dividers are used for:

Demo

Use the calculator to explore:

Series R1+R2
37000 Ω
Parallel R1∥R2
7297 Ω
Divider Vout
3.07 V
Divider current
0.114 mA

Key takeaways

Going deeper

For parallel resistors, if R1 = R2, then R_total = R1/2. If you have N equal resistors in parallel, R_total = R / N. Voltage dividers have a loading effect — if you connect a load (like an ADC), the effective resistance changes. Use high-impedance inputs or buffer with an op-amp.

Math details

Series resistors:
  R_total = R1 + R2 + R3 + ...

Parallel resistors:
  1/R_total = 1/R1 + 1/R2 + 1/R3 + ...

  For two resistors:
  R_total = (R1 × R2) / (R1 + R2)

Voltage divider:
  V_out = V_in × (R2 / (R1 + R2))

  Current through divider:
  I = V_in / (R1 + R2)

  Power in each resistor:
  P_R1 = I² × R1
  P_R2 = I² × R2

Example: Battery monitoring
  Battery: 4.2V (fully charged LiPo)
  Want: 0-3.3V for ESP32 ADC
  Use: R1 = 10kΩ, R2 = 27kΩ
  V_out = 4.2V × (27k / (10k + 27k)) = 4.2V × 0.73 = 3.07V (safe!)

Implementation

LLM Prompt: Voltage Divider Calculator

Write a Rust function that calculates voltage divider output given V_in, R1, R2.
Include validation: warn if output exceeds 3.3V (ESP32 max) or if current
through divider exceeds 1mA (wasteful for battery-powered devices).

Lab Exercise: Battery Monitor

  1. Design voltage divider: 4.2V LiPo → 0-3.3V for ADC
  2. Calculate R1 and R2 (hint: use R1=10kΩ, R2=27kΩ)
  3. Build circuit on breadboard
  4. Measure V_out with multimeter (should be ~3.07V at 4.2V input)
  5. Verify it scales linearly as battery voltage changes

full glossary →