Files
klubhaus-doorbell/libraries/audio-tools/examples/examples-stream/streams-generator-analog/README.md
2026-02-12 21:00:02 -08:00

1.1 KiB

I2S Analog Output Test

This is a simple basic test for the ESP32 analog output using I2S.

We just send a generated sine wave and expect to hear a clean signal. Please note the log level should be set to Warning so that there is no disturbing output!

Make sure that you do not use any noisy power supply!

Output Device: Earphones

You can also use some simple earphones

DAC

On the ESP32 the stereo output is on the Pins GPIO25 and GPIO26

Earphone ESP32 UNO R4
Left GPIO25 A0
Righ GPIO25 GND
GND GND GND

Output Device: Piezo Electric Element

To test the output I am using a piezo electric element

DAC

On the ESP32 the stereo output is on the Pins GPIO25 and GPIO26

PIEZO ESP32 UNO R4
+ GPIO25 A0
- GND GND