This project is an ESP32-based electronic dice using a Waveshare ESP32-S3 Matrix board. It utilizes an accelerometer to detect motion and displays dice symbols on an LED matrix.
- Uses accelerometer for motion detection
- Automatic sleep mode to minimize power consumption
- Waveshare ESP32-S3 Matrix board (Link)
- Install PlatformIO: PlatformIO Installation Guide
- Clone the repository:
git clone https://github.com/valeronm/esp32-dice.git cd esp32-dice
- Connect your Waveshare ESP32-S3-Matrix board
- Build and upload the firmware:
pio run --target upload
- Monitor serial output:
pio device monitor
Shake the device to roll the dice. The result will be displayed on the LED matrix.
The device features an automatic sleep mode to minimize power consumption when not in use. However, due to the quiescent current of the LEDs, the total current consumption in deep sleep is approximately 25 mA.
MIT