Mozzi & ESP32 Audio Kit?

210 views
Skip to first unread message

Martin Gerken

unread,
Feb 20, 2023, 6:47:01 PM2/20/23
to Mozzi-users
Hi there,
the ESP32 Audio Kit is a nice development board https://docs.ai-thinker.com/en/esp32-audio-kit .
Unfortunately, it comes in various flavours. I've got the one with the AC101 codec.
I don't get any sound with Mozzi using this AudioConfigESP32.h:
// Audio output options
#define INTERNAL_DAC 1 // output using internal DAC via I2S, output on pin 26
#define PT8211_DAC 2 // output using an external PT8211 DAC via I2S
#define PDM_VIA_I2S 3 // output PDM coded sample on the I2S data pin (pin 33, by default, configurable, below)

// Set output mode
#define ESP32_AUDIO_OUT_MODE PT8211_DAC

// For external I2S output, only: I2S_PINS
#define ESP32_I2S_BCK_PIN 27
#define ESP32_I2S_WS_PIN 26
#define ESP32_I2S_DATA_PIN 35

I think that I might have to set up the AC101 (there is a working library for that: https://github.com/marcel-licence/AC101 )

So I think I somehow have to integrate that.

Is that the right idea? Did anyone do it yet?

Best, Martin

Phil Schatzmann

unread,
Feb 25, 2023, 4:10:13 AM2/25/23
to Mozzi-users
Reply all
Reply to author
Forward
0 new messages