Customizable prophecy hardware platform based on the Magic 8 Ball toy with shake detection, screen animation, and prophecy rendering, is recommended here.
- RP2350 board
- 1.28 inch LCD module
- MPU-9250 accel and gyro module
- Li-ion battery charger board TP4056
- Li-ion battery
Follow the diagram below to correctly connect all hardware components.
Repurposed shell from a broken Magic 8 Ball toy, used as the enclosure for the device.
The firmware handles all core device functionality, including:
- Reading motion data from the MPU-9250 sensor
- Detecting shake gestures using configurable acceleration thresholds
- Generating pseudo-random prophecies
- Rendering text and basic graphics on the LCD display
- Monitoring battery voltage levels and status indicators
Build and flash the firmware using Visual Studio Code with the Pico extension installed.
The firmware was flashed using a Raspberry Pi Debug Probe.
- Invert and activate Hold the device with the viewing window facing downward. Gently shake to initialize the response mechanism.
- Submit your query Clearly speak your question aloud while holding the device steady.
- Reveal the outcome Rotate the device so the viewing window faces upward. Observe the displayed prophecy.
- Shake thoroughly for accurate results The prophecy is generated using accelerometer input-insufficient movement may affect outcome quality.
- Hardware compatibility The codebase was originally developed for the RP2040 platform and may require adjustments for optimal performance on RP2350.
- Optional guidance Prophecies are provided for entertainment purposes only; adherence is not required.
- Low battery indicator A red triangle signifies that the battery level is low.





