ESP32-2432S0248R-PLUS

产品概述 / Product Overview
ESP32-2432S0248R-PLUS 是一款基于 ESP32-WROOM-32E 无线通信模组开发的 2.8 英寸彩色触摸屏开发板,集成 LCD 显示、XPT2046 电阻触摸、Type-C、TF 卡、RGB 指示灯、串口及扩展接口。
ESP32-2432S0248R-PLUS is a 2.8-inch touch display development board based on the ESP32-WROOM-32E wireless module, integrating LCD display, XPT2046 resistive touch, Type-C, TF card, RGB LED, UART and expansion ports.
适用场景 / Applications
适用于物联网控制终端、智能家居控制面板、工业数据显示、传感器采集显示、教学实验、Wi‑Fi / 蓝牙交互界面等项目。
Suitable for IoT terminals, smart home panels, industrial data display, sensor monitoring, education, and Wi‑Fi / Bluetooth HMI projects.
接口标注 / Interface Layout
中英文客户展示图
套装清单 / Package Contents
亚克力版本 / 不带亚克力版本
产品特点 / Key Features
Product Highlights显示与触摸 / Display & Touch
2.8 英寸 TFT LCD,分辨率 240 × 320,LCD 驱动采用 ST7789,初始化建议采用 BGR 色序;触摸芯片采用 XPT2046(XP2046) 电阻触摸方案。
2.8-inch TFT LCD, 240 × 320 resolution, ST7789 LCD driver with recommended BGR initialization; XPT2046 resistive touch controller.
无线与扩展 / Wireless & Expansion
ESP32-WROOM-32E 支持 2.4GHz Wi‑Fi、Bluetooth / BLE,板载 TF 卡座、RGB 指示灯、串口接口、音频接口和扩展接口,便于二次开发。
ESP32-WROOM-32E supports 2.4GHz Wi‑Fi, Bluetooth / BLE. The board includes TF card slot, RGB LED, UART, audio and expansion ports.
基本参数 / Basic Specifications
Hardware Specification| 项目 / Item | 参数 / Specification |
|---|---|
| 产品型号 / Model | ESP32-2432S0248R-PLUS |
| 主控模组 / Main Module | ESP32-WROOM-32E |
| 无线功能 / Wireless | 2.4GHz Wi‑Fi 802.11 b/g/n, Bluetooth / BLE |
| 显示屏 / Display | 2.8-inch TFT LCD, 240 × 320 |
| LCD 驱动 / LCD Driver | ST7789,BGR 初始化 / ST7789 with BGR initialization |
| 触摸方式 / Touch Type | 电阻触摸 / Resistive Touch |
| 触摸芯片 / Touch Controller | XPT2046 / XP2046 |
| USB 接口 / USB Port | USB Type‑C,供电、下载、串口调试 / Power, programming and serial debugging |
| 存储接口 / Storage | TF / MicroSD Card Slot |
| 按键 / Buttons | SW1, SW2 |
| 指示灯 / Indicator | On-board RGB LED |
| 板卡尺寸 / Board Size | 86mm × 50mm |
| 逻辑电平 / Logic Level | 3.3V |
| 供电方式 / Power Supply | USB Type‑C 5V input / external 3.3V battery port |
| 开发环境 / Development | Arduino IDE, PlatformIO, ESP-IDF, MicroPython compatible |
ESP32-WROOM-32E 模组参数 / Module Parameters
Core Module| 项目 / Item | 参数 / Specification |
|---|---|
| 模组型号 / Module | ESP32-WROOM-32E |
| CPU | Xtensa® dual-core 32-bit LX6,最高 240MHz / up to 240MHz |
| ROM / SRAM | 448KB ROM, 520KB SRAM, 16KB RTC SRAM |
| Flash | 常规 4MB Flash,具体以批次为准 / Standard 4MB Flash, subject to batch configuration |
| Wi‑Fi | 802.11 b/g/n,2.4GHz |
| Bluetooth | Bluetooth v4.2 BR/EDR and Bluetooth LE |
| 天线 / Antenna | 板载 PCB 天线 / On-board PCB antenna |
| GPIO | 模组可提供多路 GPIO,实际可用引脚以本开发板映射为准 / Available pins depend on board mapping |
| 模组尺寸 / Module Size | 18.0mm × 25.5mm × 3.1mm |
接口说明 / Interface Description
Connector FunctionsUSB Type‑C
用于开发板供电、程序下载和串口调试。
Used for power supply, firmware programming and serial debugging.
2.0P 音频接口 / Audio Port
预留音频相关接口,可用于音频输入/输出或功放相关应用,具体功能由用户程序定义。
Reserved for audio input/output or amplifier-related applications depending on user firmware.
外置扩展口 / External Expansion Port
预留 SPI / GPIO 扩展信号,便于连接外部传感器、外设模块或用户自定义扩展板。
Reserved SPI / GPIO expansion signals for external sensors, modules or custom boards.
外置 3.3V 电池接口 / Battery Port
接口规格为 1.25P,左侧为正极,右侧为负极。请勿接反,请勿输入 5V。
1.25P connector. Left pin is positive, right pin is negative. Do not reverse polarity or input 5V.
1.25P 串口接口 / UART Port
用于串口通信、调试或外接串口模块。
Used for UART communication, debugging or external serial modules.
TF 卡座 / TF Card Slot
可用于数据存储、图片资源存储、配置文件读取等应用。
Used for data storage, image resources and configuration files.
GPIO 映射表 / GPIO Mapping Table
From Uploaded Mapping Sheet| 模块 / Module | 信号/丝印 / Signal | GPIO | 代码宏 / Macro | 方向 / Direction | 说明 / Description |
|---|---|---|---|---|---|
| 主控 | RESET | EN | LCD_RST=-1 | 输入复位 | 接 ESP32 EN 不占用 GPIO Connected to ESP32 EN; does not occupy a GPIO. |
| LCD/ST7789 | LCD_SCK | GPIO14 | LCD_SCK=14 | 输出 | LCD SPI 时钟 VSPI LCD SPI clock, VSPI bus. |
| LCD/ST7789 | LCD_MISO | GPIO12 | LCD_MISO=12 | 输入 | LCD SPI MISO ST7789 默认不读屏 LCD SPI MISO; ST7789 normally does not require screen readback. |
| LCD/ST7789 | LCD_MOSI | GPIO13 | LCD_MOSI=13 | 输出 | LCD SPI MOSI LCD SPI MOSI data line. |
| LCD/ST7789 | LCD_RS / DC | GPIO2 | LCD_RS=2 | 输出 | LCD 数据/命令选择脚 LCD data/command select pin. |
| LCD/ST7789 | LCD_CS | GPIO15 | LCD_CS=15 | 输出 | LCD 片选 LCD chip select. |
| LCD/ST7789 | LCD_BL | GPIO21 | LCD_BL=21; BACKLIGHT_PIN=21 | 输出 | LCD 背光控制 LCD backlight control. |
| 触摸/XPT2046 | RTP_IRQ / SENSOR_VP | GPIO36 | RTP_IRQ=36; TOUCH_IRQ=36 | 输入 | 触摸中断 输入专用脚 Touch interrupt; input-only GPIO. |
| 触摸/XPT2046 | RTP_DOUT / SENSOR_VN | GPIO39 | RTP_DOUT=39; TOUCH_MISO=39 | 输入 | 触摸 SPI DOUT/MISO 输入专用脚 Touch SPI DOUT/MISO; input-only GPIO. |
| 触摸/XPT2046 | RTP_DIN | GPIO32 | RTP_DIN=32; TOUCH_MOSI=32 | 输出 | 触摸 SPI DIN/MOSI Touch SPI DIN/MOSI. |
| 触摸/XPT2046 | RTP_CS | GPIO33 | RTP_CS=33; TOUCH_CS=33 | 输出 | 触摸片选 Touch chip select. |
| 触摸/XPT2046 | RTP_SCK | GPIO25 | RTP_SCK=25; TOUCH_CLK=25 | 输出 | 触摸 SPI 时钟 Touch SPI clock. |
| 电池 | BAT_ADC | GPIO34 | BAT_ADC=34; BAT_ADC_PIN=34 | 输入 | 电池电压 ADC 输入专用脚 Battery voltage ADC; input-only GPIO. |
| RGB 三色灯 | RGB_R | GPIO17 | RGB_LED_R=17 | 输出 | 板载 RGB 红色通道 按 RGB=17/22/16 记录 On-board RGB LED red channel; RGB=17/22/16. |
| RGB 三色灯 | RGB_G | GPIO22 | RGB_LED_G=22 | 输出 | 板载 RGB 绿色通道 按 RGB=17/22/16 记录 On-board RGB LED green channel; RGB=17/22/16. |
| RGB 三色灯 | RGB_B | GPIO16 | RGB_LED_B=16 | 输出 | 板载 RGB 蓝色通道 按 RGB=17/22/16 记录 On-board RGB LED blue channel; RGB=17/22/16. |
| 音频 | AUDIO_IN | GPIO26 | AUDIO_IN=26 | 输入/ADC | 音频输入预留 Reserved audio input. |
| 音频 | AUDIO_EN | GPIO4 | AUDIO_EN=4 | 输出 | 音频/功放使能预留 Reserved audio/amplifier enable control. |
| 扩展 SPI | SPI_CS | GPIO27 | SPI_CS=27 | 输出 | 扩展 SPI 片选预留 Reserved expansion SPI chip select. |
| SD 卡 | SD_MOSI | GPIO23 | SD_MOSI=23 | 输出 | SD SPI MOSI 预留 Reserved SD SPI MOSI. |
| SD 卡 | SD_MISO | GPIO19 | SD_MISO=19 | 输入 | SD SPI MISO 预留 Reserved SD SPI MISO. |
| SD 卡 | SD_SCK | GPIO18 | SD_SCK=18 | 输出 | SD SPI 时钟预留 Reserved SD SPI clock. |
| SD 卡 | SD_CS | GPIO5 | SD_CS=5 | 输出 | SD 卡片选预留 Reserved SD card chip select. |
包装版本 / Package Versions
Acrylic / Non-Acrylic亚克力版本 / Acrylic Version
- 1 个开发板 / 1 Development Board
- 1 个亚克力外壳 / 1 Acrylic Case
- 1 条 1.25 转 4P 杜邦线 / 1 × 1.25 to 4P DuPont Cable
- 1 支触控笔 / 1 Touch Pen
- 1 条 USB Type‑C 数据线 / 1 USB Type‑C Data Cable
不带亚克力版本 / Non-Acrylic Version
- 1 个开发板 / 1 Development Board
- 1 条 1.25 转 4P 杜邦线 / 1 × 1.25 to 4P DuPont Cable
- 1 支触控笔 / 1 Touch Pen
- 1 条 USB Type‑C 数据线 / 1 USB Type‑C Data Cable
- 不包含亚克力外壳 / Does not include acrylic case
推荐初始化配置 / Recommended Initialization
ST7789 BGR + XPT2046TFT_eSPI 示例配置 / TFT_eSPI Example
#define ST7789_DRIVER
#define TFT_WIDTH 240
#define TFT_HEIGHT 320
#define TFT_MISO 12
#define TFT_MOSI 13
#define TFT_SCLK 14
#define TFT_CS 15
#define TFT_DC 2
#define TFT_RST -1
#define TFT_BL 21
#define TFT_BACKLIGHT_ON HIGH
// Important: use BGR color order
#define TFT_RGB_ORDER TFT_BGR
#define SPI_FREQUENCY 40000000XPT2046 触摸配置 / Touch Example
#define TOUCH_IRQ 36
#define TOUCH_MISO 39
#define TOUCH_MOSI 32
#define TOUCH_CS 33
#define TOUCH_CLK 25使用注意事项 / Notes
Important1. GPIO 逻辑电平为 3.3V,请勿直接接入 5V 信号。 / GPIO logic level is 3.3V. Do not connect 5V signals directly.
2. 外置 3.3V 电池接口请注意正负极方向,左正右负。 / External 3.3V battery port: left positive, right negative.
3. GPIO34、GPIO36、GPIO39 为输入专用引脚,不可作为普通输出使用。 / GPIO34, GPIO36 and GPIO39 are input-only pins.
4. LCD 使用 ST7789 驱动,建议设置为 BGR 色序;如颜色异常,请检查 RGB/BGR 设置。 / ST7789 BGR color order is recommended. If colors are wrong, check RGB/BGR setting.
5. 触摸芯片为 XPT2046,屏幕旋转后建议进行触摸校准。 / XPT2046 touch may require calibration after display rotation.
资料下载 / Resources Download:https://www.zlxchina.xyz/
说明 / Note:产品参数、配件清单及接口定义如有批次调整,以实际产品和官方资料下载页面为准。 Product specifications, package contents and pin definitions may vary by batch; please refer to the actual product and official download page.
