Voltage Dividers and Kirchhoff's Laws
Two tools for analysing any circuit: the voltage divider and its loading effect, scaling a sensor voltage for an ADC, and Kirchhoff's voltage and current laws for checking and solving circuits.
1. The voltage divider
Two resistors in series share the supply voltage in proportion to their values. Take the output from the point between them:
Vin ---[R1]---+--- Vout
|
[R2]
|
GND
Vout = Vin × R2 / (R1 + R2)
Example. 9 V, R1 = 1 kΩ, R2 = 2 kΩ: Vout = 9 × 2000 / 3000 = 6 V. Equal resistors give exactly half the input: 5 V with two 10 kΩ resistors gives 2.5 V.
Designing one. If you know Vin, the wanted Vout and R1, rearrange for R2:
R2 = R1 × Vout / (Vin − Vout)
For 5 V to 3.3 V with R1 = 1 kΩ: R2 = 1000 × 3.3 / 1.7 ≈ 1,941 Ω, so use 2 kΩ (E12 value 1.8 kΩ or 2.2 kΩ, or two parts in parallel for a closer match). Check the result with the divider formula.
2. Loading: the divider’s weakness
A divider only gives the calculated voltage when almost no current is drawn from the output. When something connects to it, that load is in parallel with R2:
R2' = (R2 × R_load) / (R2 + R_load) Vout = Vin × R2' / (R1 + R2')
Example. 10 V, R1 = R2 = 1 kΩ, and a load of 1 kΩ: R2’ = 500 Ω, Vout = 10 × 500 / 1500 = 3.33 V, not 5 V.
Rules:
- Keep the load resistance at least 10 times larger than R2 for an error of about 10 percent or less.
- A divider is for signals (measurement, reference voltages, ADC inputs), not for powering things. For power use a regulator, which you meet in the power supply lesson.
- A buffer (an op-amp follower) solves loading by isolating the divider from the load.
- Large resistors give lower current but more noise and more error from the next stage’s input current. Common choices are 1 kΩ to 100 kΩ.
3. Scaling a signal for an ADC
An analogue-to-digital converter (ADC) turns a voltage into a number. A 10-bit ADC with a 5 V reference gives values from 0 to 1,023, so each count is about 4.9 mV:
count = Vin / Vref × (2^bits − 1)
If you must measure a 12 V battery with a 5 V ADC, a divider such as 22 kΩ (R1) and 10 kΩ (R2) scales 12 V down to 12 × 10 / 32 = 3.75 V, within range. The firmware then multiplies the reading by 3.2 to get back to battery volts. Always check the maximum input (a charged battery may be 14.4 V) so the ADC is never overdriven.
4. Kirchhoff’s laws
Kirchhoff’s voltage law (KVL). Around any closed loop, the voltage rises equal the voltage drops. A 12 V supply across two resistors dropping 4 V and 8 V satisfies it: 12 = 4 + 8.
Kirchhoff’s current law (KCL). At any junction, the current flowing in equals the current flowing out. If 0.5 A flows into a node and 0.2 A and 0.1 A flow out on two branches, the third branch must carry 0.5 − 0.3 = 0.2 A.
Uses:
- Checking measurements. If the drops in a series circuit do not add up to the supply, something is wrong with a reading or a part.
- Solving unknowns. Write the equations for loops and junctions and solve them, which also underlies circuit simulators.
- Debugging. A node where more current seems to leave than enter shows a wrong assumption or a hidden path.
5. On your bench
- Build a divider from two 10 kΩ resistors on 5 V. Measure the output. It should be close to 2.5 V.
- Connect a 10 kΩ load to the output and measure again. It should fall to about 1.67 V. Then try a 1 MΩ load and see the change vanish.
- Design a 5 V to 3.3 V divider from E12 values, calculate the expected output, then build and measure it.
- In a three-resistor series circuit, measure each drop and add them: do they match the supply within the tolerance? Compare the sum of the branch currents at a parallel junction with the current from the supply.
6. Hands-on lab: dividers and Kirchhoff
7. Common mistakes
| Mistake | Better |
|---|---|
| Powering a load from a divider | Use a regulator; dividers are for signals |
| Ignoring the load on a divider output | Include R_load in parallel with R2 |
| Dividers with huge resistors feeding an ADC | Keep the source resistance low enough for the ADC’s input |
| No margin above the maximum signal | Design for the highest voltage the source can reach |
| Mixing up which resistor the output is across | Vout is across R2, the one to ground |
8. Key takeaways
- Vout = Vin × R2 / (R1 + R2); rearrange to design R2 = R1 × Vout / (Vin − Vout).
- A load in parallel with R2 lowers the output; keep the load at least ten times R2 or use a buffer.
- Scale signals to the ADC’s range and check the maximum input.
- KVL: the drops in a loop add up to the supply. KCL: current into a node equals current out.
- Use the laws to check measurements and find faults.
A 12 V sensor signal must feed a 3.3 V ADC. You use 33 kΩ on top and 10 kΩ on the bottom. What is the output at 12 V, and is it safe?
Vout = 12 × 10 / 43 = 2.79 V, which is below 3.3 V. If the sensor can reach 14 V the output would be 3.26 V, just inside the limit. For safety, add a margin (for example 39 kΩ and 10 kΩ) and a clamp or protection resistor and diodes on the ADC input.
Can You Explain It?
Close the lesson and answer these without looking back. The goal isn't the wording — it's whether you've formed a usable mental model.
- Derive the voltage divider formula and explain how a load changes the output.
- Describe how you would scale a 12 V signal for a 3.3 V ADC.
- State Kirchhoff's two laws and give an example use of each.
🧪 Want to practise this on your own computer? See how to set up your lab →