Using our website means you agree to using cookies which help us improve microbit.org.Learn more
Skip to content

News

micro:bit at home - water bottle alert

16 May 2020

Turn your BBC micro:bit into a handy water bottle alarm, so you can tell if your water bottle has been tilted since you left it - which might suggest someone else has drunk from it.

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 water bottle alert uses the accelerometer 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:

Share!

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