/esp32gong

ESP32 based Gong with embedded webserver, Audio/Sound player, OTA and more

Primary LanguageC++MIT LicenseMIT

esp32gong

ESP32 based Gong with embedded webserver, Audio/Sound player, OTA and more - e.g. for Sparkfun thing or Espressif DevKitC

features

  • C++, ESP-IDF
  • Wifi AP/STA mode (GPIO0 button will toggle mode)
  • Stores config in NVS
  • Basic SPIFFS read/write access for storing uploaded files on flash on dedicated data partition
  • Webserver
  • Webclient with TLS support
  • Captive webserver in Access Point mode
  • Responsive Web UI based on Phonon 1.4.5
  • Data embedding (such as HTML, CSS, font files, audio...)
  • Url/Querystring parser
  • WAV decoder
  • Audio player to I2S devices (e.g. Adafruit MAX98357A)

todo:

  • mongoose dns server replacment
  • OTA finalization
  • WebServer TLS support
  • mp3 support

build

  • Setup ESP-IDF toolchain according to http://esp-idf.readthedocs.io/en/latest/
  • run make menuconfig and adjust serial port
  • the partition table partitions.csvsetup assumes that the ESP32 has at least 4MB flash available, so that their is a remaining of 896MB flash for SPIFFS data area

hardware

  • SparkFun thing
  • Adafruit MAX98357A
  • Standard 3" speaker
  • 3D printed case - Fusion 360 model

gong speaker-box

speaker-box with sparkfun thing