DM Sound Board/Dice Tower
Playing DnD as a DM setting the mood is important and I find that music and sound effects can really help with this. I know there are APPs for this but I don’t want to make the game to reliant on technology. (And yes, I do see the irony) Plus rolling actual dice is important to the game play. But we often have the issue of “you did not roll that properly!!”, so I have also incorporate a dice tower into the front of the project and a dice tray to catch them.
This project allows you to add MP3 files to an SD card (with specific track name , see the code) then at the press of a button the sound will be played. The only limit I have found it that the audio file cannot be more than an hour long (depending on the bit rate). Also, only 1 sound effect at a time.
As part of the game I also wanted to include a magical torch that would change colour and brightness depending on the situation. These are controlled through 2 potentiometer sliders on the keyboard.
The ESP32 works as an AP and the torch connects to the WIFI and calls the colour and brightness values periodically.
The torch 3d model comes from:
https://www.thingiverse.com/thing:4579492
So, credit to them, I only adjusted the model to house the ESP8266.
The large slider controls the numbers on the face of the project, this is mainly to indicate a players turn in battle.
It took me a while to get the features I wanted and i am sure there are better ways to program the ESP, but it works.
Have fun with it and change what you need to. Other microcontrollers can offer more pins and is not just for DnD any tabletop game where sound would improve the game play.
Downloads
Supplies
ESP32
https://www.amazon.de/dp/B0BFDNQTCY?psc=1&ref=ppx_yo2ov_dt_b_product_details
ESP8266
5 Volt speaker kit
Fader Variable resistor (Small)
Fader Variable resistor (Large)
SD Card shield
https://www.amazon.de/dp/B077MCQS9P?psc=1&ref=ppx_yo2ov_dt_b_product_details
I2S Decoder
https://www.amazon.de/dp/B0B3LSSH45?psc=1&ref=ppx_yo2ov_dt_b_product_details
Sound Filter
https://www.amazon.de/dp/B08NV25RN9?psc=1&ref=ppx_yo2ov_dt_b_product_details
Arcade Buttons
https://www.amazon.de/dp/B0819ZZRKC?psc=1&ref=ppx_yo2ov_dt_b_product_details
Neo Pixel String
18650 Cells
5V charge board.
Torch Switch
Downloads
Main Project Print
For printing the main part of the project you will either need a large 3d printer or you can split the model yourself.
Took me 5 days to print all this.
Torch Print
Printing the torch did not take to long.