Age range: 11-14
Duration: 60 or more mins
  • Computing
  • D&T

Design an alarm for your schoolbag

Use the BBC micro:bit programmable system to create a working prototype

This is one of a series of resources to support the use of the BBC micro:bit in Design and Technology lessons.

Schools are busy environments and it is easy for learner’s bags to be left unattended, taken by mistake or even stolen. Alarm systems using embedded electronics and programmable components can be developed to protect the property of learners during the school day.

In this unit of learning, learners will research, program and develop a working school bag alarm system using the BBC micro:bit.

Activity info, teachers' notes and curriculum links

In this activity, learners will develop their programmable system using the BBC micro:bit and the device’s inbuilt accelerometer to detect movement.

The activity sheet includes teachers' notes, useful web links, and links (where appropriate) to the national curriculum in each of the four devolved nations; England, Northern Ireland, Scotland and Wales.

Remember, it's all free!...and registration is free too!

All activity sheets and supporting resources are free to download, and all the documents are fully editable, so you can tailor them to your students' and your schools' needs.

Available downloads

To download any of the resources on this page please login or register

Activity overview

Design an alarm for your schoolbag activity description, teachers' notes and curriculum links.



Developing the system using the BBC micro:bit accelerometer.



Developing the system - student handout with example programs from the various editors available.

Keep off that bag

Exploring how accelerometers within small devices such as the BBC micro:bit can be used to detect rapid changes in movement and set off the alarm if the bag is moved.

Download from