New
New
Year 11

Working with motors

I can connect, test and set up motors using a motor controller board.

New
New
Year 11

Working with motors

I can connect, test and set up motors using a motor controller board.

These resources will be removed by end of Summer Term 2025.

Switch to our new teaching resources now - designed by teachers and leading subject experts, and tested in classrooms.

These resources were created for remote use during the pandemic and are not designed for classroom teaching.

Lesson details

Key learning points

  1. Motors convert electrical energy into motion.
  2. Microcontrollers cannot drive motors directly.
  3. Motor drivers are needed to safely control motors.
  4. The direction and speed of motors can be controlled with code.

Keywords

  • Pin - a physical connection point on a microcontroller, microprocessor or electronic component

  • Ground (GND) - acts as the return path for electric current and is essential for a circuit to work properly

  • Motor controller - hardware that takes signals and manages how a motor behaves

  • Library - a collection of pre-written code that you can use to make programming easier and faster

Common misconception

You can connect a motor directly to a microcontroller and it will work fine.

Microcontrollers send control signals, not power. Motor drivers act like electronic switches to take a signal and safely drive the motors with their own power supply.


To help you plan your year 11 computing lesson on: Working with motors, download all teaching resources for free and adapt to suit your pupils' needs...

Reinforce the message that a motor driver or controller must always be used between the motor and the microcontroller. Microcontrollers like the Raspberry Pi Pico cannot supply enough current to drive motors directly and can be damaged if connected without protection.
Teacher tip

Equipment

Thonny IDE software, Raspberry Pi Pico microcontroller, DC motor controller, DC motors, range of jumper wires, 4 x AA battery pack.

Licence

This content is © Oak National Academy Limited (2025), licensed on Open Government Licence version 3.0 except where otherwise stated. See Oak's terms & conditions (Collection 2).

Lesson video

Loading...

Prior knowledge starter quiz

Download quiz pdf

6 Questions

Q1.
Which of the following best describes physical computing?

writing essays on a computer
only playing video games
connecting to the internet
Correct answer: using code and hardware to interact with the real world

Q2.
What is a microcontroller usually used for?

Correct answer: controlling devices like lights or sensors
browsing the web
storing large files
printing documents

Q3.
Which device would most likely contain an embedded system?

textbook
Correct answer: television remote
ruler
stapler

Q4.
What are the connection points on a microcontroller used to send or receive signals?

Correct Answer: GPIO pins

Q5.
Match each component to its correct description:

Correct Answer:motor,produces movement when powered

produces movement when powered

Correct Answer:LED,lights up when powered

lights up when powered

Correct Answer:button,used to provide input by being pressed

used to provide input by being pressed

Correct Answer:SD card,stores data for later use

stores data for later use

Q6.
Put these steps in order to set up a circuit on a Pico to light up an LED:

1 - connect the LED to a GPIO pin and ground
2 - write code to turn the LED on
3 - upload the code to the Pico
4 - power the Pico

Assessment exit quiz

Download quiz pdf

6 Questions

Q1.
What does GND (ground) do in a circuit?

sends data
increases speed
Correct answer: acts as a return path for electric current
stores code

Q2.
Match each keyword to its correct description:

Correct Answer:motor controller,manages how a motor behaves

manages how a motor behaves

Correct Answer:pin,connection point for signals

connection point for signals

Correct Answer:library,pre-written code to help programming

pre-written code to help programming

Correct Answer:ground (GND),return path for electric current

return path for electric current

Q3.
What hardware is needed between a microcontroller and a motor to safely control the motor’s power?

Correct Answer: motor driver, motor controller

Q4.
Put these steps in order for safely running a motor with a microcontroller:

1 - connect the motor driver to the microcontroller
2 - connect the motor to the motor driver
3 - write code to control the motor
4 - power the circuit

Q5.
What could happen if you connect a motor directly to a microcontroller?

Correct answer: the microcontroller could be damaged
the motor will run perfectly
the motor will be faster
nothing will happen

Q6.
Match each type of motor to its correct description:

Correct Answer:DC motor,spins continuously when powered; speed controlled by voltage

spins continuously when powered; speed controlled by voltage

Correct Answer:servo motor,moves to a specific angle; often used for precise movement

moves to a specific angle; often used for precise movement

Correct Answer:stepper motor,rotates in steps for precise position control

rotates in steps for precise position control

Additional material

Download additional material