PowerDice (Smart IoT Dice)
Obliczymy ostateczną cenę na podstawie wybranego pliku. Sprawdzisz ją i zaakceptujesz przed płatnością.
Orientacyjna cena wydruku pliku
1,12 € – 1,37 € netto (bez VAT)
Dla pliku: PowerDice (battery case)_brim_flow_0.1mm_PLA_MK3SMMU2S_1h39m.gcode
To wstępna wycena jednego pliku. Dokładną cenę poznasz przed zamówieniem.
Plik i założenia wyceny
Plik użyty do wyceny
Średnia wycena orientacyjna: 1,24 € netto (środek widełek).
- Masa podana przez autora
- 7 g
- Czas druku podany przez autora
- 1,65 godz.
- Materiał u źródła
- PLA
- Materiał wyceny
- PLA
- Drukarka wyceny
- Bambu Lab P1S - 0.4 nozzle
- Proces wyceny
- 0.20mm Standard
Orientacyjna wycena wyłącznie wybranego pliku, oparta na masie i czasie druku podanych przez autora. Warianty plików nie są sumowane. Ostateczna cena zostanie obliczona po analizie pliku.
Zapisane na tym urządzeniu.
Smart device that looks like standalone playing dice.
- Ocena
- 0 / 5
- Polubienia
- 1
- Pobrania
- 4
- Wydruki
- 0
- Wyświetlenia
- 76
- Oceny
- 0
Aktualizacja u źródła:
Informacje o modelu
- Źródło
- Printables
- Kategoria
- Electronics
- Licencja
- 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!