Google Chat:---
+86-0755-88291180
sales@spotpear.com
dragon_manager@163.com
tech-support@spotpear.com
zhoujie@spotpear.com
WhatsApp:13246739196
WhatsApp:13424403025
The ESP32-S3-RS485-2CH is an industrial-grade Wi-Fi wireless communicator built on the ESP32-S3 and supporting peripheral interfaces such as Wi-Fi, Bluetooth, and RS485. It integrates protection circuits such as power isolation and optocoupler isolation, and is suitable for the AIoT field.
| Model | ESP32-S3-RS485-2CH | ESP32-S3-RS485-2CH-U | |
|---|---|---|---|
| Antenna connector | Onboard chip ceramic antenna | External antenna | |
| Microcontroller | ESP32-S3 (ESP32-S3R8 by default, customizable) | ||
| Wireless communication | 2.4 GHz Wi-Fi (802.11 b/g/n), Bluetooth 5 (LE) | ||
USB | Interface type | USB Type-C | |
| Supply voltage | 5V | ||
| Functions | Device power, USB communication, firmware download, and more | ||
Isolated | Interface type | Terminal block | |
| Direction control | Automatically controlled by the MCU hardware flow control setting | ||
| Interface protection | TVS diode protection, surge and ESD protection | ||
| Matching resistor | NC by default; 120R matching resistor reserved, can be enabled with a jumper cap | ||
| Indicator LEDs | PWR | Power indicator; stays red when powered by USB or an external supply | |
| 485_1 | RS485 indicators: | ||
| 485_2 | |||
| Terminal power supply | Supply range | 7V ~ 36V | |
| Appearance | Enclosure | DIN-rail protective enclosure | |
| Dimensions | 91.6 × 23.3 × 58.7 (mm) | ||


| Upper connectors | Lower connectors | |||
|---|---|---|---|---|
| Power terminal | Positive supply: DC 7V ~ 36V | 485_1 terminal | A+ signal pin | |
| Negative supply | ||||
| Type-C | Can be used for device power, | B- signal pin | ||
| SH1.0 | GND | Ground | 485_2 terminal | A+ signal pin |
| 3V3 | 3.3V power output | |||
| GPIO2 | Exposed I/O | B- signal pin | ||
| GPIO1 | Exposed I/O | |||


This chapter contains the following sections. Read them as needed:
New to Arduino ESP32 development and looking for a quick start? We have prepared a comprehensive Getting Started Tutorial for you.
Note: This tutorial uses the ESP32-S3-Zero as a reference example, and all hardware code is based on its pinout. Before you start, we recommend checking the pinout of your development board to ensure the pin configuration is correct.
Installing the ESP32 board
Board installation requirements for the ESP32-S3-RS485-2CH
| Board name | Board installation requirement | Version requirement |
|---|---|---|
| esp32 by Espressif Systems | "Offline" / "Online" installation | 3.2.1 |
Arduino libraries can be installed online or offline. If the library requires offline installation, the provided library files must be used.
Most libraries can be found and installed through the Arduino IDE Library Manager. Libraries that are not listed must be installed manually offline.
For the library installation tutorial, see: Arduino Library Management Tutorial
The library files are provided with the ESP32-S3-RS485-2CH example programs.
Library installation requirements for the ESP32-S3-RS485-2CH
| Library | Description | Version | Library installation requirement |
|---|---|---|---|
| ArduinoJson | Lightweight JSON library | v6.21.4 | "Online" or "Offline" installation |
| PubSubClient | MQTT message subscribe/publish library | v2.8.0 | "Online" or "Offline" installation |
| NTPClient | Network time synchronization client library | v3.2.1 | "Online" or "Offline" installation |


ESP32-S3-RS485-2CH example programs
| Example | Basic example description | Notes |
|---|---|---|
| 01_WIFI_AP | RS485 interface control, Bluetooth control, Bluetooth IP sending, web page control (short range) | Can be flashed directly; the web page is available only after connecting to the device Wi-Fi |
| 02_WIFI_STA | RS485 interface control, Bluetooth control, Bluetooth IP sending, web page control (short range) | The Wi-Fi to connect to must be modified; the web page is available only within the LAN |
Program Description
Notes
Use a Bluetooth debugging app on your phone to connect to the ESP32-S3-RS485-2CH device, obtain the IP after connecting to Wi-Fi, and open the web page through that IP
Connect to the Wi-Fi of the ESP32-S3-RS485-2CH device; the Wi-Fi SSID is ESP32-S3-RS485-2CH and the password is waveshare

Get the current IP by checking the serial port or the Bluetooth debugging app
Open the web page to control the RS485 interface (the device needs a short time to configure after power-up, so opening the web page for the first time after each power-up may be slow)

Program Description
Notes
Use a Bluetooth debugging app on your phone to connect to the ESP32-S3-RS485-2CH device, obtain the IP after connecting to Wi-Fi, and open the web page through that IP
Before flashing, open MAIN_WIFI_STA/WS_Information.h and change STASSID and STAPSK to the Wi-Fi SSID and password to connect to. The device connects to the configured Wi-Fi automatically after power-up.
Get the current IP by checking the serial port or the Bluetooth debugging app
Open the web page to control the RS485 interface (the device needs a short time to configure after power-up, so opening the web page for the first time after each power-up may be slow)

This chapter contains the following sections. Read them as needed:
New to ESP32 ESP-IDF development and looking to get started quickly? We have prepared a general Getting Started Tutorial for you.
Please Note: This tutorial uses the ESP32-S3-Zero as a teaching example, and all hardware code is based on its pinout. Before you start, it is recommended that you check the pinout of your development board to ensure the pin configuration is correct.
For the ESP32-S3-RS485-2CH board, ESP-IDF V5.5.2 or later is required.
The following guide uses Windows as an example, demonstrating development using VS Code + the ESP-IDF extension. macOS and Linux users should refer to the official documentation.
The screenshots in this section use ESP-IDF V5.5.2 as an example. When installing, please select the ESP-IDF version that matches your board's example.
Download the installation manager from the ESP-IDF Installation Manager page. This is Espressif's latest cross-platform installer. The following steps demonstrate how to use its offline installation feature.
Click the Offline Installer tab on the page, then select Windows as the operating system and the ESP-IDF version you need (the version shown in the screenshot is for reference only — choose the version that fits your actual needs).

After confirming your selection, click the download button. The browser will automatically download two files: the ESP-IDF Offline Package (.zst) and the ESP-IDF Installer (.exe).

Please wait for both files to finish downloading.
Once the download is complete, double-click to run the ESP-IDF Installer (eim-gui-windows-x64.exe).
The installer will automatically detect if the offline package exists in the same directory. Click Install from archive.

Next, select the installation path. We recommend using the default path. If you need to customize it, ensure the path does not contain Chinese characters or spaces. Click Start installation to proceed.

When you see the following screen, the ESP-IDF installation is successful.

We recommend installing the drivers as well. Click Finish installation, then select Install driver.

Download and install Visual Studio Code.
During installation, it is recommended to check Add "Open with Code" action to Windows Explorer file context menu to facilitate opening project folders quickly.
In VS Code, click the Extensions icon in the Activity Bar on the side (or use the shortcut Ctrl + Shift + X) to open the Extensions view.
Enter ESP-IDF in the search box, locate the ESP-IDF extension, and click Install.

For ESP-IDF extension versions ≥ 2.0, the extension will automatically detect and recognize the ESP-IDF environment installed in the previous steps, requiring no manual configuration.
| Example | Basic example description | Notes |
|---|---|---|
| 01_WIFI_AP | RS485 interface control, Bluetooth control, Bluetooth IP sending, web page control (short range) | Can be flashed directly; the web page is available only after connecting to the device Wi-Fi |
| 02_WIFI_STA | RS485 interface control, Bluetooth control, Bluetooth IP sending, web page control (short range) | The Wi-Fi to connect to must be modified; the web page is available only within the LAN |
Program Description
Notes
Use a Bluetooth debugging app on your phone to connect to the ESP32-S3-RS485-2CH device, obtain the IP after connecting to Wi-Fi, and open the web page through that IP
Connect to the Wi-Fi of the ESP32-S3-RS485-2CH device; the Wi-Fi SSID is ESP32-S3-RS485-2CH and the password is waveshare

Get the current IP by checking the serial port or the Bluetooth debugging app
Open the web page to control the RS485 interface (the device needs a short time to configure after power-up, so opening the web page for the first time after each power-up may be slow)

Program Description
Notes
Use a Bluetooth debugging app on your phone to connect to the ESP32-S3-RS485-2CH device, obtain the IP after connecting to Wi-Fi, and open the web page through that IP
Before flashing, open components/esp_bsp/bsp_common.h and change WS_STA_SSID and WS_STA_PASS to the Wi-Fi SSID and password to connect to. The device connects to the configured Wi-Fi automatically after power-up.
Get the current IP by checking the serial port or the Bluetooth debugging app
Open the web page to control the RS485 interface (the device needs a short time to configure after power-up, so opening the web page for the first time after each power-up may be slow)

Debugging tools
Monday-Friday (9:30-6:30) Saturday (9:30-5:30)
Email: services01@spotpear.com