
Mission Description
Context: Your class is playing a board game but the dice went missing. No worries – you can make a digital dice! This electronic die will give a random number when you shake it, just like rolling a real one.
Task: Program the Junkbot Core’s accelerometer to detect a shake gesture. When a shake is detected, use a random number function to pick a number from 1 to 6. Show this number on the LED matrix (you can display it as dots like a real die or just the numeral). If no shake is happening, the device stays idle or shows “0”.
Expected Output: A handheld digital die that you “roll” by shaking the device. In use, each shake makes the LED display instantly show a new random number between 1 and 6. This output can replace a physical dice, making board games and math activities more tech-integrated and exciting for students.
Student Goal
Program the Junkbot Core’s accelerometer to detect a shake gesture. When a shake is detected, use a
random number function to pick a number from 1 to 6. Show this number on the LED matrix (you can display it as
dots like a real die or just the numeral). If no shake is happening, the device stays idle or shows “0”.
Mission Information
Status
Open
Deadline
December 31, 2025
Category
School
Grade
G2 — Beginner Robotics Missions
Rewards
Recognition, Internships, Prizes
Presented by

Ready to Join This Mission?
Take on the challenge and make a difference with Shake-to-Roll Digital Dice.