Choose exam board for KS4 Computer Science (GCSE)
Choose exam board for KS4 English
Choose exam board for KS4 French
Choose exam board for KS4 Geography
Choose exam board for KS4 German
Choose exam board for KS4 History
Choose tier for KS4 Maths
Choose exam board for KS4 Music
Choose exam board for KS4 Physical education (GCSE)
Choose exam board for KS4 Religious education (GCSE)
Choose exam board for KS4 Spanish

      Museum alarm programming and fault finding

      Lesson details

      Learning outcome

      I can program a micro:bit alarm system and test faults in a circuit.

      Key learning points

      1. Micro:bit alarm systems can be programmed in many ways using Tinkercad.
      2. When testing circuits, one component should be tested at a time.
      3. There can be many reasons why a circuit does not work.
      4. Electrical components must have the correct current flow.

      Keywords

      • Millisecond - one thousandth of a second

      • Accelerometer - a device that measures how quickly something is speeding up or slowing down

      • Fault finding - testing electrical equipment to check whether it's working safely and correctly

      • Logical - thinking in steps, using what you already know, and coming up with sensible solutions

      Common misconception

      Connected circuits will always work.

      Circuits need to be checked that the connections are accurate and the components all work.

      Teacher tip

      Set up a circuit on each table that doesn't work for different reasons for pupils to explore and decide the reasons for them not working, have wires cut and stripped ready to be used instead of crocodile clips.

      Equipment

      Wire, wire strippers, micro:bit components, electrical tape, switches

      Content guidance

      Risk assessment required - equipment

      Supervision

      Adult supervision required

      Licence

      This content is © Oak National Academy Limited (2026), 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

      6 Questions

      Q1.
      Which of these is used to measure how bright it is?

      Correct answer: light dependent resistor
      speaker
      buzzer

      Q2.
      What does a magnetometer in a micro:bit do?

      measures sound
      Correct answer: detects magnets and direction
      lights up the screen
      plays music

      Q3.
      What does LED stand for?

      Light Energy Device
      Correct answer: Light Emitting Diode
      Long Electric Display
      Laser Emission Detector

      Q4.
      Which of these is an input on a micro:bit?

      LED light
      buzzer
      Correct answer: push button
      speaker

      Q5.
      Match the word to the definition.

      Correct Answer:input,something that goes into a system
      Correct Answer:output,something that comes out of a system
      Correct Answer:push button,pressing this sends a signal to the micro:bit
      Correct Answer:magnetometer,a sensor that can detect direction or magnetic fields

      Q6.
      Put these steps for how a museum alarm can work in the correct order.

      1 - the LDR senses how bright or dark the room is
      2 - the light level is sent to the micro:bit as input
      3 - the micro:bit uses code to decide what to do with the light level
      4 - the LED lights up as an output to sound the alarm

      4 Questions

      Q1.
      Which code should be replaced by repeat code to make the accelerometer code work?

      An image in a quiz
      on shake
      clear screen
      show leds
      Correct answer: if button A pressed then

      Q2.
      What type of file is downloaded onto the micro:bit?

      dex
      Correct answer: hex
      bex
      nex

      Q3.
      What could be the fault in this circuit?

      An image in a quiz
      the bulb is broken
      Correct answer: the buzzer wires need swapping
      the green wire is only attached on one end
      there are no cells

      Q4.
      What does it mean to fault find logically?

      to guess where the problem might be
      to blame the battery when something doesn’t work
      to randomly replace wires until it works
      Correct answer: to use clear steps to find what’s wrong in the circuit
      Q1 Tinkercad/Autodesk screenshots reprinted courtesy of Autodesk, Inc.

      To help you plan your 6 design and technology lesson on: Museum alarm programming and fault finding, download all teaching resources for free and adapt to suit your pupils' needs...