esp32 soundboard project
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Hendrik Langer 49d93a8fca freertos tasks 8 years ago
doc documentation stub 8 years ago
lib new platformio project 8 years ago
src freertos tasks 8 years ago
.gitignore instructions how to build and flash with platformio 8 years ago
.gitlab-ci.yml WIFI credentials from secret variables 8 years ago
README.md sound: first try 8 years ago
platformio.ini platformio: switch to Arduono Framework with Staging version 8 years ago

README.md

ESP32 Soundboard

Soundboard (computer program), a web application or computer program with buttons that play short, often humorous sound clips.

Hardware

  • ESP32 µC
  • MAX98357A PCM Input Class D Audio Power Amplifiers
  • [SD card]

Wiring

SD card

SD card pin ESP32 pin Notes
CS GPIO05
DI GPIO23 (MOSI)
SCK GPIO18 (SCK)
DO GPIO19 (MISO)
CD GPIO17 optional

Touch

ESP32 Touch pad GPIO Notes
T0 04
T1 00 also bootloader (not usable on dev board)
T2 02 also bootloader (not usable on dev board)
T3 15
T4 13
T5 12
T6 14
T7 27
T8 33
T9 32

I2S

MAX98357A ESP32 pin
LRC 25
BCLK 26
DIN 22
GAIN (VCC)
SD -

Build

git clone https://dev.xd0.de/hendrik/soundboard.git
cd soundboard
virtualenv .
source bin/activate
pip install -U platformio
platformio run -t upload && platformio device monitor -b 115200
  • Convert mp3 files: sox ~/Music/input.mp3 -c 1 -r 11025 output.wav trim 0 30
  • SD card is tested with one FAT16 partion

ToDo

  • Prototype
  • Keypad layout
  • internal DAC?
  • Add-ons?
  • dynamic keypad thresholds

References