DM Sound Board/Dice Tower

by green3000j in Circuits > Arduino

555 Views, 2 Favorites, 0 Comments

DM Sound Board/Dice Tower

IMG_4181.JPG
IMG_4169.JPG
IMG_4179.JPG
IMG_4181.JPG
IMG_4186.JPG
IMG_4188.JPG

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.

Supplies


ESP32

https://www.amazon.de/dp/B0BFDNQTCY?psc=1&ref=ppx_yo2ov_dt_b_product_details

 

ESP8266

https://www.amazon.de/-/en/AZDelivery-D1-Mini-ESP8266-12F-Compatible/dp/B0754N794H/ref=sr_1_3?keywords=esp8266+d1+mini&qid=1678539899&sprefix=esp8266%2Caps%2C85&sr=8-3

 

5 Volt speaker kit

https://www.amazon.de/-/en/Logitech-S150-Speaker-System-Black/dp/B000XUQ2LI/ref=sr_1_5?keywords=logitech+lautsprecher&qid=1678540143&sr=8-5

 

Fader Variable resistor (Small)

https://www.amazon.de/-/en/sourcing-Variable-Resistors-Straight-Potentiometer/dp/B09FDHC21L/ref=sr_1_8?keywords=schiebepotentiometer&qid=1678540026&sprefix=slide+%2Caps%2C84&sr=8-8

 

Fader Variable resistor (Large)

https://www.amazon.de/-/en/sourcing-Variable-Resistors-Potentiometer-Straight/dp/B09DY1DRKJ/ref=sxin_16_ci_mcx_mi_sr_m_ts?content-id=amzn1.sym.d98c75f4-2909-4f84-a62f-ee5c3dfade0e%3Aamzn1.sym.d98c75f4-2909-4f84-a62f-ee5c3dfade0e&cv_ct_cx=schiebepotentiometer&keywords=schiebepotentiometer&pd_rd_i=B09DY1DRKJ&pd_rd_r=443c3e62-67e3-46d7-9110-a66cde3ea8ce&pd_rd_w=3qypd&pd_rd_wg=ccLR7&pf_rd_p=d98c75f4-2909-4f84-a62f-ee5c3dfade0e&pf_rd_r=418YWSB4P32ZR2H022ZZ&qid=1678540086&sbo=RZvfv%2F%2FHxDF%2BO5021pAnSA%3D%3D&sprefix=slide+%2Caps%2C84&sr=1-2-d8d8b8a8-006e-4060-801d-7ea508439501

 

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

https://www.amazon.de/BTF-LIGHTING-WS2812B-Length-Addressable-Waterproof/dp/B01CDTED80/ref=sr_1_1_sspa?keywords=neopixel&qid=1678543037&sr=8-1-spons&sp_csd=d2lkZ2V0TmFtZT1zcF9hdGY&psc=1


18650 Cells

https://www.amazon.de/-/en/sspa/click?ie=UTF8&spc=MToyMzE5Nzg0NzQxNzEyNjIzOjE2Nzg1NjMwMTQ6c3BfYXRmOjIwMTI4OTY2NDU3ODk4OjowOjo&url=%2Fdp%2FB0BY338HWQ%2Fref%3Dsr_1_2_sspa%3Fkeywords%3D18650%26qid%3D1678563014%26sr%3D8-2-spons%26sp_csd%3Dd2lkZ2V0TmFtZT1zcF9hdGY%26psc%3D1


5V charge board.

https://www.amazon.de/-/en/Dekaim-Lithium-Li-Ion-Charger-Circuit/dp/B09FT1MZFK/ref=sr_1_6?crid=3NSN74FKMMUF9&keywords=5v+ladestation+schaltung&qid=1678563082&sprefix=5v+charge+boost+circuit%2Caps%2C81&sr=8-6

 

Torch Switch

https://www.amazon.de/-/en/sspa/click?ie=UTF8&spc=MTo2OTkwMjY2MDQ4MDg4MTYwOjE2Nzg1NjM0NTE6c3BfbXRmOjIwMDQxMzAxMzg4ODk4OjowOjo&url=%2FHUAREW-Rocker-Lockable-Self-Locking-Position%2Fdp%2FB09VZ74QCL%2Fref%3Dsr_1_18_sspa%3Fcrid%3D1YVC1P3JFAH1G%26keywords%3Dkleiner%2Bschalter%26qid%3D1678563451%26sprefix%3Dsmall%2Bswitch%252Caps%252C87%26sr%3D8-18-spons%26sp_csd%3Dd2lkZ2V0TmFtZT1zcF9tdGY%26psc%3D1



 

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.

Wiring and Code Sound Board

Wiring and Code Torch