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 so that there is no disturbing output!
To test the output I am using a piezo electric element
It should also be possible to connect a headphone to the output pins...
On the ESP32 the output is on the Pins GPIO26 and GPIO27
PIEZO | ESP32 |
---|---|
+ | GPIO25 / GPIO26 |
- | GND |