The `Ai-Thinker ESP32 Audio Kit <https://docs.ai-thinker.com/en/esp32-audio-kit>`_ is a development board for the ESP32 SoC from Espressif, based on Ai-Thinker ESP32-A1S audio module.
..list-table::
:align:center
* - .. figure:: esp32-audio-kit.png
:align:center
Ai-Thinker ESP32 Audio Kit board
Features
========
- ESP32-A1S module
- Audio Earphones Output
- Audio LINEIN Input
- 2 Microphones in the board (stereo audio input)
- 8 Buttons in the boards (1 RST Button and 7 user buttons)
- MicroSD card slot
Some of the ESP32 I/O pins are broken out to the board's pin header.
Serial Console
==============
UART0 is, by default, the serial console. It connects to the on-board
Silabs CP2102 converter and is available on the USB connector (UART label).
It will show up as /dev/ttyUSB[n] where [n] normally is 0 if you don't have
another USB/Serial adapter connected in your computer.
Buttons and LEDs
================
Board Buttons
-------------
There are eight buttons labeled as RST, BOOT, KEY1..KEY6.
The RST button is not available to software.
The BOOT button is connected to IO0. On reset it is used as a strapping
pin to determine whether the chip boots normally or into the serial
bootloader. After reset, however, the BOOT button can be used for software
input.
Board LEDs
----------
There are several on-board LEDs for that indicate the presence of power
and USB activity.
I/O Mapping
===========
===== ========================= ==========
I/O Signal Notes
===== ========================= ==========
0 BOOT Button
2 DATA0 SDCard
4 DATA1 SDCard
5 KEY6 Button
12 DATA2 SDCard
13 KEY2 Button/DATA3 SDCard (DIP Switch)
14 CLK SDCard
15 CMD SDCard/JTAG MTDO (DIP Switch)
18 KEY5 Button
19 KEY3 Button/LED5
21 CTRL Audio AMP
22 LED4
23 KEY4 Button
34 SDCard Detect
36 KEY1 Button
===== ========================= ==========
Configurations
==============
All of the configurations presented below can be tested by running the following commands::