esp32a1s
esp32a1s
ESP32-A1S Specification
Version V1.4
Copyright ©2020
Copyright © 2020 Shenzhen Ai-Thinker Technology Co., Ltd All Rights Reserved Page 1 of 18
ESP32-A1S SoC module
Note
The contents of this manual may be changed due to the version upgrade of the product or other reasons.
Shenzhen Ai-Thinker Technology Co., Ltd. reserves the right to modify the contents of this manual without
any notice. This manual is only used as a guide, and Shenzhen Ai-Thinker Technology Co., Ltd. makes
every effort to provide accurate information in this manual, but Shenzhen Ai-Thinker Technology Co., Ltd.
does not ensure that the contents of the manual are completely true,, All statements and information in this
manual. and the recommendations do not constitute for any warranty, express or implied.
Copyright © 2020 Shenzhen Ai-Thinker Technology Co., Ltd All Rights Reserved Page 2 of 18
ESP32-A1S SoC module
CONTENT
1.Product overview.....................................................................................................................................................5
2. Pin function............................................................................................................................................................ 8
3. Function description............................................................................................................................................. 10
4. Electrical parameters............................................................................................................................................ 12
5. Design guidance................................................................................................................................................... 14
6. Module internal chip connection table................................................................................................................. 16
7. Reflow soldering curve.........................................................................................................................................17
8. Package Information.............................................................................................................................................18
9. Contact us............................................................................................................................................................. 18
Copyright © 2020 Shenzhen Ai-Thinker Technology Co., Ltd All Rights Reserved Page 3 of 18
ESP32-A1S SoC module
Copyright © 2020 Shenzhen Ai-Thinker Technology Co., Ltd All Rights Reserved Page 4 of 18
ESP32-A1S SoC module
1.Product overview
ESP32-A1S is an ultra-small, powerful module.Built-in advanced low-power dual-core 32-
bit CPU and CodeC audio decoding chip, it can be widely used in various IoT applications,
suitable for home smart devices, smart audio, story machine solutions, etc. It is an ideal
solution for IoT applications.
Appearance size
Copyright © 2020 Shenzhen Ai-Thinker Technology Co., Ltd All Rights Reserved Page 5 of 18
ESP32-A1S SoC module
Characteristics
Copyright © 2020 Shenzhen Ai-Thinker Technology Co., Ltd All Rights Reserved Page 6 of 18
ESP32-A1S SoC module
Main parameters
Table 1 main parameters instruction
Size 32*19*3 mm
Certification FCC/CE
SPI Flash Default 32Mbit, maximum support 128Mbit
Audio format M4A、AAC、FLAC、OGG、OPUS、MP3、WAV、RA、VQF etc,.
Audio output Support 1 headphone output and 1 left and right speaker output
Audio input Support 3 analog microphone inputs
IO 14
UART rate Support 300 ~ 4608000 bps ,default 115200bps
Bluetooth Bluetooth 4.2 BR/EDR and stander BLE, support A2DP,AVRC etc,.
Wi-Fi 802.11 b/g/n/e/i, support DLNA
On-chip sensors Hall sensor、Temperature sensor、Capacitive touch sensor
Spectrum range 2412 ~2484MHz
Antenna On-board PCB antenna/ IPEX
802.11b: 17±2 dBm (@11Mbps)
Transmit power 802.11g: 14±2 dBm (@54Mbps)
802.11n: 13±2 dBm (@MCS7)
Copyright © 2020 Shenzhen Ai-Thinker Technology Co., Ltd All Rights Reserved Page 7 of 18
ESP32-A1S SoC module
2. Pin function
ESP32-A1S module is connected to 38 interfaces, table 2.1 and table 2.2 is the interface definition.
table 2.1 ESP32-A1S Pin diagram
2 3V3 3.3V power supply(VDD); The output current of the external power
supply is recommended to be above 500mA
3 SENSOR_VN GPI39,SENSOR_VN,ADC1_CH3,ADC_H,RTC_GPIO3
4 SENSOR_VP GPI36,SENSOR_VP,ADC_H,ADC1_CH0,RTC_GPIO0
5 IO34 GPI34,ADC1_CH6,RTC_GPIO4
Copyright © 2020 Shenzhen Ai-Thinker Technology Co., Ltd All Rights Reserved Page 8of 18
ESP32-A1S SoC module
19 GND Ground
20 GND Ground
29 IO5 GPIO5,VSPICS0,HS1_DATA6,EMAC_RX_CLK
30 IO18 GPIO18,VSPICLK,HS1_DATA7
31 IO23 GPIO23,VSPID,HS1_STROBE
32 IO19 GPIO19,VSPIQ,U0CTS,EMAC_TXD0
33 IO22 GPIO22,VSPIWP,U0RTS,EMAC_TXD1
34 IO21 GPIO21,VSPIHD,EMAC_TX_EN
36 TXD0 GPIO1,U0TXD,CLK_OUT3,EMAC_RXD2
37 RXD0 GPIO3,U0RXD,CLK_OUT2
38 GND Ground
Copyright © 2020 Shenzhen Ai-Thinker Technology Co., Ltd All Rights Reserved Page 9of 18
ESP32-A1S SoC module
Strapping Pin
Build-in LDO
(VDD_SDIO) voltage
Pin Default 3.3V 1.8V
MTDI/GPIO12 Pull down 0 1
System startup method
Pin Default SPI Flash startup method Download start mode
GPIO0 Pull up 1 0
GPIO2 Pull down / 0
Note: The working voltage of the built-in flash is 3.3V, and the MTDI needs to be pulled down or
left floating when powering on the chip with built-in flash
3. Function description
CPU and RAM
ESP32 contains two low-power Xtensa®32-bit LX6 MCUs. On-chip storage includes:
448KBytes ROM for program startup and kernel function call
520 KB on-chip SRAM for data and instruction storage
8KBytes of SRAM in RTC (RTC slow memory) can be accessed by the coprocessor in Deep-
sleep mode
The 8KBytes of SRAM in RTC, that is, RTC fast memory, can be used for data
storage and accessed by the main CPU during RTC startup in Deep-sleep mode
1kbit EFUSE, of which 256 bits are dedicated to the system (MAC address and chip
settings); the remaining 768 bits are reserved for user applications, which include
Flash encryption and chip ID
Codec
AC101 is a highly integrated audio codec chip with high mixed signal integration. The
integrated digital phase-locked loop supports a wide range of input/output frequencies. It can
generate the audio clock required by the codec from the standard audio crystal rates of
22.5792MHz and 24.576MHz.
2 ADCs and 2 DACs @ 24 bits and interphase locked loop processing with flexible clocking
scheme
The signal-to-noise ratio during the playback path of the digital-to-analog converter can reach
up to 100dB
The signal-to-noise ratio is as high as 95dB during the recording path
Capacitor-free stereo headphone driver, [email protected]
Two stereo differential speaker outputs\
Two low-noise analog microphone offsets
Copyright © 2020 Shenzhen Ai-Thinker Technology Co., Ltd All Rights Reserved Page 10of 18
ESP32-A1S SoC module
TWI/RSB control interface
A 24-bit 8KHz~192KHz I2S/PCM interface
Support digital copyright control of digital-to-analog converter playback output
Soft mute circuit to suppress popping
Crystal oscillator
Supports crystal oscillators with frequencies of 40 MHz, 26 MHz and 24 MHz. The accuracy of
the crystal oscillator is between ±10 PPM, and the operating temperature range is between -
40°C and 85°C. Please select the correct crystal type when using the download tool. In the
circuit design, the ground adjustment capacitors C1 and C2 are added to the input and output
terminals of the crystal oscillator, respectively. The value of the two capacitors can be flexibly
set, ranging from 6 pF to 22 pF. However, the specific capacitance value can only be
determined after matching the overall performance of the entire circuit. Generally speaking, if
the frequency of the crystal oscillator is 26 MHz, the capacitance values of C1 and C2 are
within 10 pF; if the frequency of the crystal oscillator is 40 MHz, the capacitance values of C1
and C2 are 10 pF<C1, C2<22 pF. The frequency of the RTC crystal oscillator is usually 32 kHz
or 32.768 kHz. Due to the internal calibration used to correct the frequency offset, the frequency
of the crystal oscillator may exceed the range of ±20 PPM. When the chip is working in low-
power mode, the device should select an external low-speed 32 kHz crystal oscillator clock
instead of the internal RC oscillator to obtain an accurate wake-up time.
Power consumption
ESP32 has advanced power management technology that can switch between various power saving
modes
Active mode: The chip's radio frequency is in working condition. The chip can receive,
transmit and listen to signals
Modem-sleep mode:The CPU keeps running and the clock can be configured. Wi-
Fi/Bluetooth baseband and radio frequency off
Light-sleep mode:The CPU is suspended. RTC and ULP coprocessors run. Any wake-up
event (MAC, host, RTC timer or external interrupt) will wake up the chip
Copyright © 2020 Shenzhen Ai-Thinker Technology Co., Ltd All Rights Reserved Page 11of 18
ESP32-A1S SoC module
4. Electrical parameters
ESP32-A1S series modules are electrostatic sensitive devices, special precautions need to be taken
when handling
Unless otherwise specified, the test environment for the specifications listed in this chapter is:
VBAT= 3.3V,TA= 27℃
Limit parameters:
Rated value Condition Value Unit
Storage - -40~85 ℃
temperature
Maximum welding - 260 ℃
temperature
Supply voltage IPC/JEDEC J-STD-020 +3.0~+3.6 V
Wi-Fi RF characteristics:
Description Min Typical value Max Unit
General
features
Input frequency 2412 - 2484 MHz
Input resistance - 50 - Ω
Input launch - - -10 dB
PA output power 15.5 16.5 21.5 dBm
Sensitivity
DSSS,1Mbps - -98 - dBm
CCK, 11 Mbps - -90 - dBm
OFDM, 6 Mbps - -93 - dBm
OFDM, 54 Mbps - -75 - dBm
HT20, MCSO - -93 - dBm
HT20, MCS7 - -73 - dBm
HT40, MCSO - -90 - dBm
HT40, MCS7 - -70 - dBm
Copyright © 2020 Shenzhen Ai-Thinker Technology Co., Ltd All Rights Reserved Page 12of 18
ESP32-A1S SoC module
MCS32 - -91 - dBm
Adjacent
Channel
Suppression
OFDM, 6 Mbps - 37 - dB
OFDM, 54 Mbps - 21 - dB
HT20, MCS0 - 37 - dB
HT20, MCS7 - 20 - dB
∆f2avg/∆f1avg - - -0.92 - -
ICFT - - -10 - kHz
Frequency drift rate - - 0.7 - kHz/50us
Frequency drift - - 2 - kHz
Copyright © 2020 Shenzhen Ai-Thinker Technology Co., Ltd All Rights Reserved Page 13of 18
ESP32-A1S SoC module
5. Design guidance
5.1 Application circuit
Copyright © 2020 Shenzhen Ai-Thinker Technology Co., Ltd All Rights Reserved Page 14of 18
ESP32-A1S SoC module
5.2 Antenna layout requirements
(1) For the installation position on the motherboard, the following two methods are recommended:
Solution 1: Put the module on the edge of the main board, and the antenna area extends out of the
edge of the main board.
Solution 2: Put the module on the edge of the motherboard, and hollow out an area at the antenna
position on the edge of the motherboard.
(2)In order to meet the performance of the on-board antenna, it is forbidden to place metal parts
around the antenna.
Copyright © 2020 Shenzhen Ai-Thinker Technology Co., Ltd All Rights Reserved Page 15of 18
ESP32-A1S SoC module
5.4 Use of GPIO port
(1) There are some GPIO ports on the periphery of the module. If you need to
use it, it is recommended to connect a 10-100 ohm resistor in series with the IO
port. This can suppress overshoot and make the levels on both sides more
stable. It is helpful for EMI and ESD.
(2) For the pull-up and pull-down of special IO ports, please refer to the
instructions in the specification. This will affect the startup configuration of the
module.
(3)The IO port of the module is 3.3V. If the main control and the IO level of
the module do not match, you need to add a level conversion circuit.
(4)If the IO port is directly connected to a peripheral interface, or a terminal
such as a header, it is recommended to reserve an ESD device near the terminal
of the IO trace.
Copyright © 2020 Shenzhen Ai-Thinker Technology Co., Ltd All Rights Reserved Page 16of 18
ESP32-A1S SoC module
Copyright © 2020 Shenzhen Ai-Thinker Technology Co., Ltd All Rights Reserved Page 17of 18
ESP32-A1S SoC module
8. Package Information
As shown in the figure below, the packaging of ESP32-A1S is tape.
9. Contact us
Official website:https://www.ai-thinker.com
Development DOCS:https://docs.ai-thinker.com
Official Forum:http://bbs.ai-thinker.com
Sample purchase:https://ai-thinker.en.alibaba.com/
Business cooperation:[email protected]
Technical support:[email protected]
Company Address:Room 403,408-410, Block C, Huafeng Smart Innovation Port, Gushu
2nd Road, Xixiang, Baoan District, Shenzhen.
Tel :0755-29162996
Copyright © 2020 Shenzhen Ai-Thinker Technology Co., Ltd All Rights Reserved Page 18of 18