Skip to content


micro:bit at home - cookie tin alarm

17 May 2020

Has anyone been in your cookie jar or snooping in your treasure box of precious things? Your BBC micro:bit can help home secret agents keep their things secure...

What you'll make

Get coding

Now open the MakeCode editor where you’ll write the code for your program:

How to transfer your program to your micro:bit

Discover more

The micro:bit cookie jar alarm uses the light sensor input and the LED display output. Find out more about them in the videos below:

There are more micro:bit at home activities to explore:


Let us know how you got on by sharing your project with us. Use the #microbit hashtag on Twitter or Facebook.

Sign up for our weekly email newsletter to get regular updates on new activities and ideas for your micro:bit.

Sign up for our newsletter

Latest stories