Hardware Connection¶
This document introduces what hardware you need to prepare and how to connect them in order to download AT firmware, send AT commands, and receive AT responses. It covers the following four ESP series of modules:
For different series of modules, the commands supported by AT firmware are different. Please refer to ESP-AT Firmware Differences for more details.
What You Need¶
Component |
Function |
---|---|
ESP board |
Slave MCU. |
USB cable (ESP borad to PC) |
Download/Log output connection. |
PC |
Act as Host MCU. Download firmware to Slave MCU. |
USB cable (PC to serial port converter) |
AT command/response connection. |
USB to serial port converter |
Convert between USB signals and TTL signals. |
Jumper wires (serial port converter to ESP board) |
AT command/response connection. |
Please note that in the above picture, four jump wires are used to connect the ESP board and USB to serial converter. If you don’t use hardware flow control, two wires connecting TX/RX and a simpler converter will be enough.
ESP32 Series¶
ESP32 AT uses two UART ports: UART0 is used to download firmware and log output; UART1 is used to send AT commands and receive AT responses. Both UART0 and UART1 use 115200
baud rate for communication by default.
All ESP32 modules use GPIO1 and GPIO3 as UART0, but they use different GPIOs as UART1. The following sections illustrate which GPIOs you should connect for each ESP32 series of modules.
For more details of ESP32 modules and boards, please refer to ESP32 Modules and Boards.
ESP32-WROOM-32 Series¶
Function of Connection |
ESP Board Pins |
Other Device Pins |
---|---|---|
Download/Log output 1 |
|
|
AT command/response 2 |
|
|
Note 1: Connection between individual pins of the ESP board and the PC is already established internally on the ESP board. You only need to provide USB cable between the board and PC.
Note 2: Connection between CTS/RTS is optional, depending on whether you want to use hardware flow control.
If you want to connect your device directly with ESP32-WROOM-32 rather than the ESP board that integrates it, please refer to ESP32-WROOM-32 Datasheet for more details.
ESP32-WROVER Series¶
Function of Connection |
ESP Board Pins |
Other Device Pins |
---|---|---|
Download/Log output 1 |
|
|
AT command/response 2 |
|
|
Note 1: Connection between individual pins of the ESP board and the PC is already established internally on the ESP board. You only need to provide USB cable between the board and PC.
Note 2: Connection between CTS/RTS is optional, depending on whether you want to use hardware flow control.
If you want to connect your device directly with ESP32-WROVER rather than the ESP board that integrates it, please refer to ESP32-WROVER Datasheet for more details.
ESP32-PICO Series¶
Function of Connection |
ESP Board Pins |
Other Device Pins |
---|---|---|
Download/Log output 1 |
|
|
AT command/response 2 |
|
|
Note 1: Connection between individual pins of the ESP board and the PC is already established internally on the ESP board. You only need to provide USB cable between the board and PC.
Note 2: Connection between CTS/RTS is optional, depending on whether you want to use hardware flow control.
If you want to connect your device directly with ESP32-PICO-D4 rather than the ESP board that integrates it, please refer to ESP32-PICO-D4 Datasheet for more details.
ESP32-SOLO Series¶
Function of Connection |
ESP Board Pins |
Other Device Pins |
---|---|---|
Download/Log output 1 |
|
|
AT command/response 2 |
|
|
Note 1: Connection between individual pins of the ESP board and the PC is already established internally on the ESP board. You only need to provide USB cable between the board and PC.
Note 2: Connection between CTS/RTS is optional, depending on whether you want to use hardware flow control.
If you want to connect your device directly with ESP32-SOLO-1 rather than the ESP board that integrates it, please refer to ESP32-SOLO-1 Datasheet for more details.
ESP32-C3 Series¶
ESP32-C3 AT uses two UART ports: UART0 is used to download firmware and log output; UART1 is used to send AT commands and receive AT responses. Both UART0 and UART1 use 115200
baud rate for communication by default.
Function of Connection |
ESP Board Pins |
Other Device Pins |
---|---|---|
Download/Log output 1 |
|
|
AT command/response 2 |
|
|
Note 1: Connection between individual pins of the ESP board and the PC is already established internally on the ESP board. You only need to provide USB cable between the board and PC.
Note 2: Connection between CTS/RTS is optional, depending on whether you want to use hardware flow control.
If you want to connect your device directly with ESP32-C3-MINI-1 rather than the ESP board that integrates it, please refer to ESP32-C3-MINI-1 Datasheet for more details.