Unit bundle · Key Stage 3

Physical Computing – Year 8 Computing lessons

Six Year 8 physical computing lessons: sensors, inputs and outputs, and programming a micro:bit in Python to build Plant Buddy.

Also in a bundle Year 8 Computing – a full year of KS3 lessons 36 lessons for £89 · save 38% on buying separately

Smart devices – fitness bands, automatic doors, plant sensors – are small computers that sense the world and act on it. Building on the loops and selection pupils wrote in 8.1, this unit moves Python off the screen and into a device: pupils name the sensors and actuators in real smart devices, program a micro:bit (on a board or the free online simulator), make it respond to sensor readings in real time, model a full control system before building it, and finish by testing a Plant Buddy prototype for the school gardening club against measurable success criteria.

Unit 8.6 is taught in Year 8, Summer 2, and answers one big question: How do computers sense and control the physical world? Every lesson uses the same real-world context (smart devices that help people), and pupils make plant Buddy: a micro:bit prototype that warns when a plant is too dark or too cold. The careers link is an embedded systems engineer: an embedded systems engineer writes the programs that run on microcontrollers inside devices such as smart thermostats and fitness bands, and tests them against real sensor readings – what pupils do with Plant Buddy.

What happens in each lesson:

Lesson 1, Inputs, outputs and sensors: How do smart devices sense and change the world around them? Main task: type an input–process–output table for an automatic plant-watering device: two sensors and what each detects, the processor's decision and one actuator.

Lesson 2, Programming a micro:bit in Python: How do we program the tiny computer inside a device? Main task: write a micro:bit program that, inside a while True loop, shows a happy face when button A is pressed and scrolls WATER ME when button B is pressed.

Lesson 3, Sensor readings and selection: How can a device decide when to respond to a reading? Main task: write a Plant Buddy program that reads the light level in a loop and shows a sad face when it is below a threshold of 60, and a happy face otherwise.

Lesson 4, Modelling a physical system: How can we model a system before we build it? Main task: type a flowchart that models an automatic plant-watering system as numbered steps, naming the shape of each step (e.g. 3. [Decision] Is moisture < 300? Yes → 4, No → 5): read the moisture, compare it with a threshold, switch the pump on or off, and loop back. Then name the step the loop returns to and say what the feedback loop does.

Lesson 5, Build, test and evaluate: How do we know our prototype is good enough for its user? Main task: complete a final test table for your Plant Buddy prototype – test, expected and actual result for each success criterion – then refine one part and explain the change.

Lesson 6, Progress Check: 16-question check: 15 multiple-choice questions + one applied question.

Misconceptions it tackles include
“A sensor switches things on by itself – the light sensor turns the light on”; “The micro:bit keeps checking the buttons by itself, so the if lines do not need a loop”; “The threshold is the sensor reading”. Each is planned into a hinge question before the main task or an exit question, so you find out who still holds it.

National Curriculum coverage (KS3 computing programme of study): NC1, design, use and evaluate abstractions that model real-world problems and physical systems; NC3, two or more languages, at least one textual; data structures; modular programs with procedures or functions; NC5, hardware and software components and how they communicate with each other and other systems.

It builds on 8.1 Python: Iteration and Boolean Operators (while loops, if/elif/else, comparison and Boolean operators); 7.3 How Computers Work (input, process, output and the CPU); 8.2 Boolean Logic and Circuits (decisions from on/off signals). It leads on to 9.5 Modelling the Real World (abstraction, states and rules, simulations), 9.6 Digital Project for a Real User (requirements, testing and evaluation with a client) and GCSE Computer Science 1.1 (embedded systems).

Adapting it for your school
No boards needed: everything runs in the free micro:bit Python simulator at python.microbit.org. If you have micro:bits, pupils can flash the same code to them in lessons 2, 3 and 5. Lesson 4 is the flex lesson: if time is short, draw the watering flowchart together at the end of lesson 3 instead. Swap Plant Buddy for another smart device your pupils care about (a step counter, a night light, a fridge-door alarm): the sensor, threshold and loop patterns stay the same. If the computers are not available, use the unplugged slides and printed code: the learning is the same.

Two versions in one download. The "With quiz" folder is for schools with a Code & Commerce Quizzes subscription: wherever the lessons use a Progress Check, its multiple-choice questions are ready-made on the quiz site for you to set, with a printed version as the backup. The "Without quiz" folder is the same teaching for standalone use, with no mention of the quiz site and every check on paper. You don't need a quiz subscription to use it.

What's included

  • 6 lesson slide decks (PowerPoint)
  • 6 lesson plans (Word)
  • 6 worksheets, plus 5 support versions with scaffolds (Word)
  • Medium term plan with intent, key words, misconceptions and adaptive teaching notes (Word)
  • Progress Check lesson to assess the unit, with an applied question
  • Build test and evaluate - Quiz Quiz Trade Cards
  • Department licence: every teacher in your department can use and adapt it
  • Two versions of the files: one for Code & Commerce Quizzes subscribers and one for standalone teaching, no quiz site needed

In this bundle

Worth £24 bought separately at £4 a lesson. The bundle saves you 16%.

More for KS3 Computing

See all

Written for the specifications named. Not endorsed by or affiliated with any exam board.