Learning Goals 5 min
By the end of this lesson you will be able to:
- Name the three quantities in Ohm's Law — voltage, current and resistance — and the unit each one is measured in.
- Rearrange
V = I × Rto calculate any one of the three when you know the other two. - Predict how much current would flow if the Arduino's
5Vpin was connected toGNDthrough a 220 Ω resistor, a 1 kΩ resistor and a 10 kΩ resistor — and explain which value would make an LED glow brightly.
Warm-Up 10 min
Last lesson we wired the Arduino's 5V and GND pins to the breadboard's power rails. Today we learn the maths that decides what we plug between them.
Quick-fire puzzle
Imagine a long garden hose connected to a tap in Petaling Jaya. The tap is open and water is rushing through. Now answer these without peeking:
- You squeeze the hose tightly halfway down. What happens to how fast water comes out the other end?
- You squeeze the hose much harder. What happens now?
- What part of an electrical circuit acts the same way as squeezing the hose?
Reveal the answer
- The water slows down. The squeeze is making the path narrower, so less water can get through per second.
- Even less water comes out. A harder squeeze means a narrower path means less flow.
- A resistor does the same thing to electricity. The tighter the squeeze (the larger the resistor value), the smaller the current that gets through.
That single idea — that a resistor "squeezes" current — is what Ohm's Law lets you calculate exactly.
New Concept 20 min
The big idea — water in a hose
Every electrical circuit has three properties that work like a water hose:
- Voltage (symbol
V, measured in volts) is the water pressure. How hard the electricity is being pushed. - Current (symbol
I, measured in amperes or milliamps) is the water flow. How much electricity actually moves per second. - Resistance (symbol
R, measured in ohms) is the narrowness of the hose. How much the flow is restricted.
Ohm's Law in three forms
These three quantities are tied together by a famous formula called Ohm's Law:
V = I × R
That single equation can be rearranged three ways depending on which quantity you are trying to find:
- Find voltage:
V = I × R - Find current:
I = V ÷ R— the one you will use most. - Find resistance:
R = V ÷ I
Quantities and units
| Quantity | Symbol | Unit | What it measures |
|---|---|---|---|
| Voltage | V | volt (V); millivolt (mV) = 0.001 V | Electrical pressure pushing electrons along. |
| Current | I | ampere (A); milliamp (mA) = 0.001 A | How much electricity flows per second. |
| Resistance | R | ohm (Ω); kilohm (kΩ) = 1000 Ω | How hard the circuit is squeezing the flow. |
Everyday voltages
| Source | Voltage | Note |
|---|---|---|
| AA battery | 1.5 V | Single-cell, safe. |
| 9V battery (square) | 9 V | Used with the Arduino's barrel jack. |
Arduino's 3V3 pin | 3.3 V | For sensors and modules that need 3.3 V. |
Arduino's 5V pin | 5 V | Our default supply for Level 1. |
| UK / Malaysia wall socket | 230 V AC | Never touch. Stay with the Arduino — adults handle mains. |
How you'll write down a calculation
For the rest of this lesson, work each Ohm's Law problem out on paper or in your notebook — exactly the way you'd lay out a maths sum. Show every step. That way you can spot where a calculation went wrong, and your teacher can give credit for correct working even if the final number is off.
Example: a 220 Ω resistor across the Arduino's 5 V pin.
- Given:
V = 5 V,R = 220 Ω - Find:
I - Formula:
I = V ÷ R - Working:
I = 5 ÷ 220 = 0.0227 A = 22.7 mA
Why it matters
Without Ohm's Law you would either burn out components (too much current melts LEDs and chips) or have them be invisible (too little current makes nothing happen). Every electronic component in this course has a current limit. Ohm's Law tells you exactly what resistor to use to stay safely under it.
Worked Example 20 min
Goal: predict how much current flows when the Arduino's 5V pin is connected through different resistors to GND.
Step 1 — write down what you know
- Arduino's
5Vpin produces 5 V. - Resistor value: 220 Ω.
- We want to find the current (
I).
Step 2 — pick the right form of Ohm's Law
We know V and R, we want I. So use:
I = V ÷ R
Step 3 — plug in the numbers
I = 5 ÷ 220 = 0.02272…amperes- Convert to milliamps:
0.02272 × 1000 = 22.7 mA
So a 220 Ω resistor across 5 V lets about 22.7 mA flow. A standard LED is happy at 20 mA — so this resistor would let an LED glow brightly, safely.
Step 4 — compare to a bigger resistor
What if we swapped to a 10 kΩ resistor instead?
I = 5 ÷ 10000 = 0.0005amperes = 0.5 mA- That is 45 times less current. An LED would be so dim you would not see it.
Step 5 — write it up in your notebook
A neat one-line summary of both calculations side-by-side:
V = 5 V(from the Arduino 5V pin)- 220 Ω:
I = 5 ÷ 220 = 22.7 mA→ bright LED - 10 kΩ:
I = 5 ÷ 10 000 = 0.5 mA→ invisible LED
What changed since last lesson? The hardware is exactly the same as L01-04. The new skill is sitting at your desk and being able to predict what would happen before you wire anything up.
Try It Yourself 20 min
Work each problem out in your notebook. Show your formula, your numbers and your answer with units.
Goal: A 1 kΩ resistor is connected from 5V to GND. How much current flows?
- Given:
V = 5 V,R = 1 000 Ω - Find:
Iin milliamps - Formula:
I = V ÷ R - Working:
I = ____ ÷ ____ = ____ A = ____ mA
Goal: A small buzzer is rated to handle a maximum of 30 mA at 5 V. What is the smallest resistor you can safely put in series with it?
Hint: use R = V ÷ I and convert 30 mA to amps first (30 mA = 0.030 A).
- Given:
V = 5 V,I_max = 30 mA = 0.030 A - Find:
Rin ohms - Formula:
R = V ÷ I - Working:
R = ____ ÷ ____ = ____ Ω
Goal: You want an LED to glow gently — about 5 mA — from a 5 V supply. An LED "uses up" about 2 V of the supply itself, so the resistor only sees 5 − 2 = 3 V across it. What resistor do you need?
- Given:
V_resistor = 3 V,I_desired = 5 mA = 0.005 A - Find:
Rin ohms - Formula:
R = V ÷ I - Working:
R = ____ ÷ ____ = ____ Ω - Closest standard resistor in the kit: ____ Ω
Mini-Challenge 15 min
Plan the LED circuit
Combine today's Ohm's Law skill with the breadboard layout from ARD-L01-04. You will not build this yet — that happens in two lessons' time — but you should be able to plan it on paper.
Your task:
- On a sheet of paper, draw the Arduino UNO and a breadboard side by side.
- Pick a resistor value from the kit — 220 Ω, 470 Ω, 1 kΩ or 10 kΩ — that will let about 15 mA flow through an LED. Assume the LED drops 2 V, so the resistor sees 3 V.
- Use Ohm's Law to prove your resistor choice gives a current close to 15 mA. Write the calculation next to your drawing.
- Mark on the drawing exactly which breadboard holes the resistor and LED would plug into, and which wires go where.
It works if a partner can read your drawing and your calculation and agree on three things:
- Your resistor maths gives a current between 5 mA and 25 mA (safe and visible).
- The resistor and the LED are in series — they sit one after the other in the path from
5VtoGND, not side by side. - Nothing in your drawing connects
5Vdirectly toGNDwithout going through the resistor and LED.
Reveal one possible wiring answer
A6. The 220 Ω resistor now lies flat along row D, from D6 to D11 — well below the LED, so the two parts no longer sit on top of each other. Column 11's tie strip lifts the current up to the LED's anode at B11. The bulb lights up. Current leaves through the cathode at B10, and the black jumper at C10 carries it round the bulb to the − rail, then back to GND. The maths: I = (5 − 2) ÷ 220 ≈ 13.6 mA — bright but safe.Recap 5 min
Voltage is the push, current is the flow, resistance is the squeeze. They are tied together by V = I × R, which you can rearrange three ways to find any quantity from the other two. Bigger resistor → smaller current → dimmer LED.
- Voltage (V)
- Electrical pressure, measured in volts. The Arduino's
5Vpin gives 5 V. - Current (I)
- How much electricity flows per second, measured in amperes (A) or milliamps (mA). 1 A = 1000 mA.
- Resistance (R)
- How hard a circuit squeezes the flow, measured in ohms (Ω) or kilohms (kΩ). 1 kΩ = 1000 Ω.
- Ohm's Law
- The formula
V = I × R. The single most useful equation in electronics. - Short circuit
- Connecting
5Vdirectly toGNDwith no resistance in between. Don't.
Homework 5 min
Three calculations. Answer all three in your notebook. For each one show the formula, your numbers and your answer with units.
V = 5 V,R = 470 Ω. FindIin milliamps.V = 9 V(a 9 V battery),I = 20 mA. FindRin ohms.- You want exactly
10 mAto flow from5Vthrough a resistor (no LED, just the resistor) toGND. What value ofRdo you need?
Bring back next class: your notebook page or a phone photo of the page, with all three calculations worked out neatly.