26 lines
642 B
Markdown
26 lines
642 B
Markdown
|
|
# 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 so that there is no disturbing output!
|
||
|
|
|
||
|
|
|
||
|
|
### Output Device: Piezo Electric Element
|
||
|
|
|
||
|
|
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
|
||
|
|
|
||
|
|
|