PowerDice (Smart IoT Dice)
We calculate the final price from your selected file. You review and accept it before payment.
Estimated printing price per file
€1.12 – €1.37 net (excluding VAT)
For file: PowerDice (battery case)_brim_flow_0.1mm_PLA_MK3SMMU2S_1h39m.gcode
This is an estimate for one file. You’ll confirm the exact price before ordering.
File and estimate settings
File used for this estimate
Average indicative estimate: €1.24 excluding VAT (range midpoint).
- Weight reported by the author
- 7 g
- Print time reported by the author
- 1.65 hr
- Source material
- PLA
- Estimate material
- PLA
- Estimate printer
- Bambu Lab P1S - 0.4 nozzle
- Estimate process
- 0.20mm Standard
Indicative estimate for the selected file only, based on the author’s weight and print time. File variants are not added together. The final price is calculated after file analysis.
Saved on this device.
Smart device that looks like standalone playing dice.
- Rating
- 0 / 5
- Likes
- 1
- Downloads
- 4
- Makes
- 0
- Views
- 76
- Reviews
- 0
Updated at source:
Model information
- Source
- Printables
- Category
- Electronics
- License
- Creative Commons — Attribution — Share Alike
⚠ This project is currently in early development.
🎲 Smart IoT Dice (ESP32-C3 + MQTT)
I made a smart device that acts like a standalone playing die, but it's a bit bigger and way more powerful. It’s not just for games – it can control your entire smart home! 🏠✨
It can turn on the lights 💡, send e-mails 📧, start music 🎵, or trigger whatever automation you want.
⚙ How it works?
Basically, the dice connects to your WiFi 📶 and communicates with your local MQTT server. Since it runs on battery, MQTT is the perfect choice for lightweight, fast communication.
When you flip the dice, it uses an internal accelerometer to detect which side is facing up and instantly sends that information to the server. The rest of the magic 🪄 happens there.
You can integrate this dice directly with excellent software like:
🏠 Home Assistant
🔴 Node-RED
🔄 n8n
🚀 Possibilities are endless:
Side 1: Turn on the living room lights 💡
Side 2: Wake on LAN (run your PC) 🖥
Side 3: Start your favorite playlist on Spotify 🎶
Side 4: Send an "I'm busy" e-mail or Slack status ⛔
...
It can also serve as a time tracking tool. Commercial alternatives like "Timeular" exist but cost €50+ and lack open customization.
🛠 Hardware Requirements
To build the cube itself, you will need:
🧠 Main Board: Seeed Studio XIAO ESP32C3 – tiny but powerful.
📐 Sensor: ADXL345 (GY-291) – 3-Axis Accelerometer.
🔋 Power: Li-Po Battery 3.7V / 320mAh (e.g., Akyga AKY0300).
🖍 Black marker (dots are painted)
⚡ Resistors (Voltage Divider): Used for battery voltage monitoring.
My build: 2x (2x 100kΩ Resistors).
Recommended (Seeed Wiki): 2x 220kΩ Resistors.
🔘 Button: I used a salvaged tactile switch (desoldered from an old Siemens Speedstream modem), but you can use a replacement rated for at least 0.5 A, as the switch directly connects/disconnects the battery from the Xiao.
🧵 Misc: Wires, 2x Screws, Soldering iron, and 3D printed parts.
Cost: ~€24 (excluding 3D printing filament/time)
💻 Software Requirements
To run the automation logic, you'll need a device running 24/7 (like a Raspberry Pi 🍓 or NAS) with:
MQTT Broker (e.g., Mosquitto or NanoMQ)
Automation Logic: Home Assistant, Node-RED, or n8n.
🏗 Build & Assembly
Total dimensions are 45x45x45mm.
The model consists of 4 separate 3D-printed parts.
All models are available as Tinkercad Projects.
Example circuit:
https://circuitcanvas.com/p/bfxgqpgykhrte89nrw1
Example code:
https://github.com/pr0way/PowerDice
Skills required: Soldering 👨🏭 and some patience!