Water Drinking Reminder: Fun BBC micro:bit Project (2026)
Water Drinking Reminder using BBC Micro:bit – Overview
The Water Drinking Reminder is a beginner-friendly STEM project using the BBC Micro:bit. It reminds users to drink water at regular intervals using LED icons and sound alerts. Students learn timers, variables, loops, and event-based programming while understanding healthy hydration habits.
Innovation
Unlike a normal reminder, the Micro:bit provides interactive visual and audio notifications and can be reset with a button press.
Materials Required for Water Drinking Reminder
• BBC Micro:bit
• USB cable
• Computer with Microsoft MakeCode
Learning Objectives
Learn variables, loops, timers, conditional statements, LEDs, buttons, and simple program logic.
Procedure for Water Drinking Reminder
- Create a new MakeCode project.
- Initialize a variable called Time.
- Display a happy icon on start.
- Use a Forever loop with a pause block to simulate time passing.
- Increase the Time variable after each interval.
- When the value reaches the reminder limit, display a water-drop LED pattern, scroll the message ‘DRINK WATER’, and play a melody.
- Press Button A to reset the reminder and begin counting again.
Detailed Block-Based Coding Logic
Step 1: Create a New Project
Open Microsoft MakeCode and click New Project.
Name the project: Water Drinking Reminder
This creates a workspace where you can build the program using drag-and-drop coding blocks.
Purpose
- Starts a new Micro:bit project.
- Organizes all coding blocks in one workspace.
Step 2: Add the On Start Block
The On Start block runs only once when the Micro:bit is powered on or reset.
Inside this block:
Set Time = 0
Explanation
The variable Time stores how many reminder intervals have passed.
Every time the program starts, the value begins from zero so the reminder starts fresh.
Concepts Learned
- Variables
- Initialization
Step 3: Display a Welcome Icon
Still inside On Start, add
Show Icon (Happy)
Explanation
When the Micro:bit starts, it displays a smiling face to indicate that the reminder system is active.
This lets the user know the program has started correctly.
Concepts Learned
- LED Display
- Visual Feedback
Step 4: Add the Forever Block
Drag the
Forever
block into the workspace.
Everything inside this block repeats continuously while the Micro:bit is powered.
Explanation
The reminder should continue checking time repeatedly.
The Forever block allows the Micro:bit to run continuously.
Concepts Learned
- Infinite Loop
Step 5: Wait for a Time Interval
Inside the Forever block add
Pause (10000 ms)
(10 seconds for classroom demonstration. It can represent 1 hour or any desired interval in real-life use.)
Explanation
The pause block prevents the program from running too quickly.
It creates a fixed waiting period before checking again.
Concepts Learned
- Timing
- Delays
Step 6: Increase the Counter
After the Pause block add
Change Time by 1
Explanation
Each completed interval increases the Time variable.
Example:
| Reminder Cycle | Time |
|---|---|
| First | 1 |
| Second | 2 |
| Third | 3 |
The variable acts as the reminder timer.
Concepts Learned
- Variables
- Counters
Step 7: Check the Reminder Condition
Add an If block.
If Time ≥ 3
(You may choose any reminder value.)
Explanation
The Micro:bit compares the current value of Time with the reminder limit.
When the value reaches three, it knows it is time to remind the user to drink water.
Concepts Learned
- Conditional Statements
- Decision Making
Step 8: Display the Reminder
Inside the If block add
Show LEDs
Create a simple water drop pattern.
Then add
Show String "DRINK WATER"
Explanation
The LED image immediately grabs attention.
The scrolling message clearly tells the user what action to take.
Concepts Learned
- LED Matrix
- Text Display
Step 9: Play a Melody
Still inside the If block add
Play Melody Power Up
or
Play Tone
Explanation
The sound alert helps the reminder be noticed even when the user is not looking directly at the Micro:bit.
Combining light and sound creates an effective notification.
Concepts Learned
- Audio Output
- User Notifications
Step 10: Reset the Reminder
Add
On Button A Pressed
Inside this block add
Set Time = 0
Show Icon (Happy)
Explanation
After drinking water, the user presses Button A.
The reminder counter resets to zero and the Micro:bit starts counting again for the next reminder cycle.
This makes the reminder reusable instead of a one-time alert.

Applications
Healthy lifestyle reminders, classroom STEM learning, wellness awareness, and beginner IoT concepts.

Conclusion
This Water Drinking Reminder project combines coding with healthy daily habits. It demonstrates how the Micro:bit can solve simple real-world problems while teaching core programming concepts.

FAQs
1. What is a Water Drinking Reminder using BBC micro:bit?
A Water Drinking Reminder is a beginner-friendly micro:bit project that uses a timer, LED display, sound, and buttons to remind users to drink water at regular intervals.
2. How does the micro:bit water drinking reminder work?
The program uses a variable to count reminder intervals. When the counter reaches the chosen value, the micro:bit displays a water-drop pattern, shows “DRINK WATER,” and plays a sound.
3. Can I change the water reminder interval?
Yes. You can change the Pause duration or the reminder counter value in MakeCode to create a shorter or longer reminder interval.
4. Why is a variable used in this project?
The Time variable stores the number of reminder intervals that have passed. The program uses this value to determine when to trigger the reminder.
5. What programming concepts are learned?
Students learn variables, loops, timers, conditional statements, LED displays, buttons, events, and program logic.















