Grade by GradeEssential student suppliesSign in
Applied Design, Skills, and Technologies · Design and Make: Grade 9 Designers, Makers and Entrepreneurs

Electronics and Robotics: Ohm's Law, Circuits and Mechanical Advantage

BC ADST 9: Ohm's law BC ADST 9: mechanical advantage BC ADST 9: robotics codingAbout 45 minutes
Learning goals
  • I can name the components of an electric circuit and explain how components change the path of electricity.
  • I can use Ohm's law (V = IR) to calculate voltage, current and resistance in simple circuits.
  • I can use gear ratios to explain mechanical advantage, torque and speed, and code a simple robot behaviour.
  • I can work safely with batteries and soldering equipment.

Words to know

voltage (V)
The electrical push that moves charges through a circuit, measured in volts.
current (I)
The rate of flow of electric charge, measured in amperes (amps, A).
resistance (R)
How much a component opposes current, measured in ohms.
series circuit
A circuit with only one path for current.
parallel circuit
A circuit with two or more paths for current.
torque
A turning force, found by multiplying force by distance from the turning point (newton metres).

What every circuit needs

Every working circuit has three basic components:

  • a power source (battery, power supply or solar cell) that provides the voltage;
  • conductors (wires, circuit board traces) that carry the current;
  • a load (LED, motor, buzzer, speaker) that uses the energy.

Other components change the path of electricity: a switch opens or closes the path, a resistor limits current, a diode lets current flow one way only, a capacitor stores and releases charge, and a transistor acts as an electronic switch or amplifier that lets a small signal from a microcontroller control a bigger current to a motor.

Circuits for products are often built on a printed circuit board (PCB), designed in software and then made by a factory or a school CNC mill.

Ohm's law

Ohm's law connects voltage (V, in volts), current (I, in amps) and resistance (R, in ohms):

V = I x R, so I = V / R and R = V / I.

Current is often given in milliamps (mA): 1 A = 1000 mA, so 20 mA = 0.02 A.

In a series circuit, resistances add up. In a parallel circuit, current has more than one path, so the total resistance is less than any single branch. Two equal resistors in parallel give half the resistance of one.

100220+6 VSeries: one pathR = 100 + 220 = 320 ohms100100+6 VParallel: two pathstwo 100s give 50 ohms
Two resistors in series and in parallel, each with a 6 V battery. All resistor values are in ohms. The longer battery plate is positive.
Worked example

Choosing a resistor for an LED

An LED needs about 2 V across it and a current of about 20 mA. It will run from a 9 V battery. What resistor is needed? Resistors come in standard values, including 330 and 390 ohms.

  1. Voltage left for the resistor: 9 - 2 = 7 V.
  2. Current in amps: 20 mA = 0.02 A.
  3. Ohm's law: R = V / I = 7 / 0.02 = 350 ohms.
  4. Pick a standard value: 350 isn't standard. Choose the next value up, 390 ohms, so the current is a little lower and safer for the LED.
  5. Check: I = 7 / 390 = 0.018 A, about 18 mA. That is just under 20 mA, so the LED is safe.

About 350 ohms is needed, so use a 390-ohm resistor, giving about 18 mA.

Mechanical devices and mechanical advantage

Robots move with mechanical devices that transfer energy: gears, belts and pulleys, chains and sprockets, linear actuators, pneumatics, bearings and slides.

When a small driver gear turns a larger driven gear, the output turns slower but with more torque (turning force). The gear ratio is driven teeth divided by driver teeth. Gaining force (torque) by giving up speed is called mechanical advantage; here it equals the gear ratio, before friction.

In real machines, friction in gears and bearings turns some energy into heat, so the actual torque is a little less than the ideal value. That is why power efficiency is never 100%. Lubrication and good bearings help.

driver12 teethdriven gear36 teethRatio 36 : 12 = 3 : 1Motor: 300 rpmOutput: 100 rpmSpeed divided by 3,torque about x 3
A 12-tooth driver gear turning a 36-tooth driven gear. Ideal values are shown; friction lowers the real torque slightly.

Robot behaviours with input and output devices

Robots react using input devices (bump switches, distance sensors, light sensors, encoders) and output devices (motors, servos, LEDs, buzzers). Robotics coding links them. Many school robots are programmed on platforms that use blocks, Python or C-like languages. The idea is the same: read inputs, decide, set outputs, repeat.

loop forever:
d = read distance sensor (cm)
speed = (d - 10) x 2
if speed > 100: speed = 100
if speed < 0: speed = 0
set both motors to speed (percent)

Pseudocode for a robot that slows down smoothly as it nears a wall and stops 10 cm away. At 40 cm, speed = (40 - 10) x 2 = 60%.

Battery and soldering safety

Batteries: never connect a wire straight across the terminals (a short circuit), which can make wires and batteries dangerously hot. Keep 9 V batteries away from keys and coins. Stop using any lithium battery that is swollen, hot or damaged, and recycle used batteries at a drop-off such as Call2Recycle instead of the garbage. Soldering: an iron tip can be over 300 °C. Solder only with training and an adult supervising, wear safety glasses (hot solder can spit), keep the iron in its stand, work with ventilation or a fume extractor so you don't breathe the flux fumes, use lead-free solder where possible, and wash your hands afterwards. Tie back hair and keep fingers away from moving gears and belts.

Hands-on activity

Measure Ohm's law

Work with an adult and wear safety glasses. Use a breadboard so no soldering is needed.

  1. Build a circuit with a 6 V battery pack (4 AA cells), a switch and one 330-ohm resistor.
  2. Predict the current: I = 6 / 330, about 0.018 A or 18 mA.
  3. With a multimeter, measure the actual voltage of the battery pack and the current. (Ask your teacher how to set the meter for current.)
  4. Add a second 330-ohm resistor in series. Predict and measure again.
  5. Explain any difference between your prediction and your measurement. (Hint: fresh batteries often give a little more than their labelled voltage.)
Odd fact

Georg Ohm published his law in 1827. Some scientists at the time dismissed his work. Today, the unit of resistance is named after him, and his law is one of the first things every electronics student learns.

Let's practise

1

Name the three basic components of an electric circuit.

2

A 12 V supply drives a 600-ohm load. What is the current?

3

A 0.5 A current flows through a 24-ohm resistor. What is the voltage across it?

4

A 150-ohm and a 330-ohm resistor are in series. What is the total resistance?

5

A 10-tooth driver turns a 40-tooth gear. What is the ratio, and what happens to speed?

6

Using the robot pseudocode, what is the speed at 25 cm and at 8 cm?

More practice

1

What does a diode do?

2

Two 220-ohm resistors are connected in parallel. What is the total resistance?

3

An LED needs 2 V at 15 mA from a 5 V supply. What resistor is needed?

4

Why is the real torque from a gear train a little less than the ideal value?

5

Give two safety rules for soldering.

Check your understanding

Quiz

1.

A 9 V battery is connected to a 300-ohm resistor. What is the current?

2.

What happens to total resistance when you add a second resistor in series?

3.

A motor turns a 15-tooth gear that drives a 45-tooth gear. The output turns...

4.

Which is a safe way to handle batteries?

For parents and teachers

How to help at home: Look at the labels on chargers and devices together and find the volts and amps. Ask your teen to explain V = IR using a garden hose (pressure, flow, a narrow nozzle). Collect used batteries in a container for recycling, with tape over the terminals of lithium and 9 V batteries.

Common mistakes: Forgetting to change mA to A, adding resistances in parallel as if they were in series, picking a resistor value that is too small, mixing up which gear is the driver, and handling a hot soldering iron without its stand.