Countdown timer

Overview

Timers are essential items that are useful to help us keep to specific pockets of time especially when we need to cook or doing something within a time limit. We can buy countdown timers off the shelf or we can build our own personalized version.

What Will Happen

Press the button A and B on the micro:bit to choose the number of seconds the timer would count down to. To begin, shake the board to start the timer. Once the timer reaches 0, the buzzer will sound off until the timer is reset again.

Connection Guide

Learning Points

  • Using buttons to change the value of a variable
  • Playing tones on the buzzer when a condition is fulfilled

Additional Challenge

Try changing the countdown number to an animation instead and customise your own alarm tune.

Block Editor Code

Click the button below to download the block editor code for this challenge. The hex file is contained in a zip folder.

Refer here for instructions on importing code into Micro:bit. 

This code can be imported into the micro:bit block editor.

Dr Bit Code

Click the button below to download Dr Bit PC softwareThe Dr Bit file is contained within a zip folder.

Click the button below to download the Dr Bit solutions for this challenge.

To download the Dr Bit app click the button below.

Keep in touch

We would love to keep you up to date with all of our latest news, offers and new products.

If you would like to subscribe to our mailing list please click the button below.

Contact Us

ScienceScope Limited
Downside School
Stratton-on-the-Fosse
Radstock
BA3 4RJ
enquiries@sciencescope.uk

Follow Us

#digitaleducationjourney