Microbit Dice

The Project

In this project, I turned the microbit into a digital dice. When I shake the microbit, it uses its built-in accelerometer to detect the movement and then randomly displays a number from 1 to 6 on its LED screen—just like rolling a real dice! This project was inspired by board games, where we often misplace dice or need a fair and fun way to roll. With this digital dice, I can play games anywhere, without needing a physical one. The most interesting part was learning how to use the random number generator and the shake detection feature. The difficult part was making sure the shake movement worked smoothly and didn’t trigger too many times at once. Thank you for exploring my project !

Hardware

About the team

  • India

Team members

  • Sara