ESP32 + SigmaDSP Equalizer
Replaces a classic op-amp tone-control circuit with an ESP32 driving an Analog Devices SigmaDSP.
- Stars
- 2
- Forks
- 1
- Updated
- 2 yr ago
- Created
- Aug 24, 2024
- License
- Apache-2.0
This project aims to be more adaptable to people's preferences by utilizing others' libraries to replace the traditional equalizer circuit (NE5532A/AP, OPA2604, etc).
Table of Contents
- How to connect ADAU14/1701 board?
- How to connect Rotary Encoder?
- How to connect WS2812B Strip
- What Libraries are required for this project?
- LICENSE
ADAU1701/1401
Here is the information on how to wire the ADAU1701/1401 board to the ESP32:
| ADAU1701/1401 | ESP32 |
|---|---|
| 5V | VIN or External Power Supply |
| SCL | GPIO 22 |
| SDA | GPIO 21 |
| GND | GND |
Rotary Encoder
Four encoders (bass, center, treble, and volume) are the default amount; however, you can change this number to suit your needs. For additional information, here is the current wiring for 4 encoders:

| Rotary Encoder (Bass) | ESP32 |
|---|---|
| VIN | 3.3V |
| CLK | GPIO 16 |
| DT | GPIO 4 |
| GND | GND |
| Rotary Encoder (Middle) | ESP32 |
|---|---|
| VIN | 3.3V |
| CLK | GPIO 5 |
| DT | GPIO 17 |
| GND | GND |
| Rotary Encoder (Treble) | ESP32 |
|---|---|
| VIN | 3.3V |
| CLK | GPIO 27 |
| DT | GPIO 14 |
| GND | GND |
| Rotary Encoder (Volume) | ESP32 |
|---|---|
| VIN | 3.3V |
| CLK | GPIO 25 |
| DT | GPIO 26 |
| GND | GND |
WS2812B LED Strip
Regarding the LED, the Arduino file sets that there will be four strips. Each strip will include eleven LEDs in total, with the first LED of the four strips being illuminated to indicate a zero. It is also advised to use an external power source because the LEDs will take a significant amount of current. For additional information, here is the current wiring for 4 LED strips:

| WS2812B (Bass) | ESP32 |
|---|---|
| VCC | External 5V Power Supply |
| DIN | GPIO 33 |
| GND | GND |
| WS2812B (Middle) | ESP32 |
|---|---|
| VCC | External 5V Power Supply |
| DIN | GPIO 32 |
| GND | GND |
| WS2812B (Treble) | ESP32 |
|---|---|
| VCC | External 5V Power Supply |
| DIN | GPIO 18 |
| GND | GND |
| WS2812B (Volume) | ESP32 |
|---|---|
| VCC | External 5V Power Supply |
| DIN | GPIO 19 |
| GND | GND |
Libraries Requirement
https://github.com/MCUdude/SigmaDSP
https://github.com/igorantolic/ai-esp32-rotary-encoder
https://github.com/adafruit/Adafruit_NeoPixel
LICENSE
Apache License
Related
ESP32-S31 Multi-Codec Sink
Multi-codec Bluetooth A2DP audio sink for the ESP32-S31 on ESP-IDF v6.1 — LDAC, aptX/HD/LL, LHDC-v5, Opus, LC3plus, AAC, SBC. Runs entirely on internal SRAM
ESP32 Hi-Fi A2DP Sink
ESP32 hi-res Bluetooth speaker firmware: A2DP sink + AVRCP with LDAC, LHDC V5 (192 kHz/24-bit), aptX, aptX HD, AAC, SBC, Opus and Samsung SSC decoders. Own BT host stack, ESP-IDF 6.1.
BDK Speaker Firmware
ESP32 A2DP speaker firmware on its own Bluetooth host: LHDC V5 up to 192 kHz/24-bit, LDAC, aptX HD/LL, Opus, AAC, an integer-only DSP and a 16×16 LED matrix.
Live demoWalkthrough