Skip to content

valeronm/esp32-dice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ESP32 Dice

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.

Features

  • Uses accelerometer for motion detection
  • Automatic sleep mode to minimize power consumption

Hardware

  • Waveshare ESP32-S3 Matrix board (Link)

Getting Started

  1. Install PlatformIO: PlatformIO Installation Guide
  2. Clone the repository:
    git clone https://github.com/valeronm/esp32-dice.git
    cd esp32-dice
  3. Connect your Waveshare ESP32-S3-Matrix board
  4. Build and upload the firmware:
    pio run --target upload
  5. Monitor serial output:
    pio device monitor

Usage

Shake the device to roll the dice. The result will be displayed on the LED matrix.

Power Consumption

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.

License

MIT

About

ESP32-based electronic dice using a Waveshare ESP32-S3 Matrix board.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published