Raspberry Pi Pico Shake Dice (MPU-6050 + OLED Display + Buzzer)
Lost your dice? No problem: shake the circuit and the die rolls on a **0.96 inch OLED**! An **MPU-6050** accelerometer senses the shake, the die wobbles and spins, and once you stop it slows down and lands on a face. The **MODE button** switches between one die and two; roll a double and the screen flashes while the **buzzer** plays a celebration tune. The **Raspberry Pi Pico** reads the sensor straight over I2C, no library needed.

Source Code
Premium Content
Become Premium to view the source code
Unlock Everything with Premium
All project code, FAQ sections, and troubleshooting guides for Premium members. Buy in the mobile app.
FAQ
Premium Content
Become Premium to see FAQs
Unlock Everything with Premium
All project code, FAQ sections, and troubleshooting guides for Premium members. Buy in the mobile app.
