ZLX · Embedded Hardware & Developer Resources
Model: ZLX-ESP32-1

ESP32-2432S028R-PLUS 开发板

B2B · OEM · ODM

Bulk purchasing and customization cooperation

We are from Hefei, Anhui, China - a city famous for its technology and education. We have professional software and hardware R&D and product design capabilities, and can provide customers with services such as hardware design, embedded software development, function customization, product optimization, and OEM/ODM. If you have bulk purchasing, project customization or product development needs, please feel free to contact us.

⌖ Hefei, Anhui, China✉ mq19880204@gmail.com

ESP32-2432S0248R-PLUS 2.8-inch resistive touch screen dimensions
产品尺寸 / Product Size:86mm × 50mm,2.8-inch Resistive Touch Screen

产品概述 / 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

中英文客户展示图
ESP32-2432S0248R-PLUS interface annotation
接口包含:2.0P 音频接口、外置扩展口、扩展口、外置 3.3V 电池接口、1.25P 串口接口。

套装清单 / Package Contents

亚克力版本 / 不带亚克力版本
Package contents for ESP32-2432S0248R-PLUS
Acrylic Version includes acrylic case. Non-Acrylic Version does not include the acrylic case.

产品特点 / 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
产品型号 / ModelESP32-2432S0248R-PLUS
主控模组 / Main ModuleESP32-WROOM-32E
无线功能 / Wireless2.4GHz Wi‑Fi 802.11 b/g/n, Bluetooth / BLE
显示屏 / Display2.8-inch TFT LCD, 240 × 320
LCD 驱动 / LCD DriverST7789,BGR 初始化 / ST7789 with BGR initialization
触摸方式 / Touch Type电阻触摸 / Resistive Touch
触摸芯片 / Touch ControllerXPT2046 / XP2046
USB 接口 / USB PortUSB Type‑C,供电、下载、串口调试 / Power, programming and serial debugging
存储接口 / StorageTF / MicroSD Card Slot
按键 / ButtonsSW1, SW2
指示灯 / IndicatorOn-board RGB LED
板卡尺寸 / Board Size86mm × 50mm
逻辑电平 / Logic Level3.3V
供电方式 / Power SupplyUSB Type‑C 5V input / external 3.3V battery port
开发环境 / DevelopmentArduino IDE, PlatformIO, ESP-IDF, MicroPython compatible

ESP32-WROOM-32E 模组参数 / Module Parameters

Core Module
项目 / Item参数 / Specification
模组型号 / ModuleESP32-WROOM-32E
CPUXtensa® dual-core 32-bit LX6,最高 240MHz / up to 240MHz
ROM / SRAM448KB ROM, 520KB SRAM, 16KB RTC SRAM
Flash常规 4MB Flash,具体以批次为准 / Standard 4MB Flash, subject to batch configuration
Wi‑Fi802.11 b/g/n,2.4GHz
BluetoothBluetooth v4.2 BR/EDR and Bluetooth LE
天线 / Antenna板载 PCB 天线 / On-board PCB antenna
GPIO模组可提供多路 GPIO,实际可用引脚以本开发板映射为准 / Available pins depend on board mapping
模组尺寸 / Module Size18.0mm × 25.5mm × 3.1mm

接口说明 / Interface Description

Connector Functions

USB 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信号/丝印 / SignalGPIO代码宏 / Macro方向 / Direction说明 / Description
主控RESETENLCD_RST=-1输入复位接 ESP32 EN 不占用 GPIO
Connected to ESP32 EN; does not occupy a GPIO.
LCD/ST7789LCD_SCKGPIO14LCD_SCK=14输出LCD SPI 时钟 VSPI
LCD SPI clock, VSPI bus.
LCD/ST7789LCD_MISOGPIO12LCD_MISO=12输入LCD SPI MISO ST7789 默认不读屏
LCD SPI MISO; ST7789 normally does not require screen readback.
LCD/ST7789LCD_MOSIGPIO13LCD_MOSI=13输出LCD SPI MOSI
LCD SPI MOSI data line.
LCD/ST7789LCD_RS / DCGPIO2LCD_RS=2输出LCD 数据/命令选择脚
LCD data/command select pin.
LCD/ST7789LCD_CSGPIO15LCD_CS=15输出LCD 片选
LCD chip select.
LCD/ST7789LCD_BLGPIO21LCD_BL=21; BACKLIGHT_PIN=21输出LCD 背光控制
LCD backlight control.
触摸/XPT2046RTP_IRQ / SENSOR_VPGPIO36RTP_IRQ=36; TOUCH_IRQ=36输入触摸中断 输入专用脚
Touch interrupt; input-only GPIO.
触摸/XPT2046RTP_DOUT / SENSOR_VNGPIO39RTP_DOUT=39; TOUCH_MISO=39输入触摸 SPI DOUT/MISO 输入专用脚
Touch SPI DOUT/MISO; input-only GPIO.
触摸/XPT2046RTP_DINGPIO32RTP_DIN=32; TOUCH_MOSI=32输出触摸 SPI DIN/MOSI
Touch SPI DIN/MOSI.
触摸/XPT2046RTP_CSGPIO33RTP_CS=33; TOUCH_CS=33输出触摸片选
Touch chip select.
触摸/XPT2046RTP_SCKGPIO25RTP_SCK=25; TOUCH_CLK=25输出触摸 SPI 时钟
Touch SPI clock.
电池BAT_ADCGPIO34BAT_ADC=34; BAT_ADC_PIN=34输入电池电压 ADC 输入专用脚
Battery voltage ADC; input-only GPIO.
RGB 三色灯RGB_RGPIO17RGB_LED_R=17输出板载 RGB 红色通道 按 RGB=17/22/16 记录
On-board RGB LED red channel; RGB=17/22/16.
RGB 三色灯RGB_GGPIO22RGB_LED_G=22输出板载 RGB 绿色通道 按 RGB=17/22/16 记录
On-board RGB LED green channel; RGB=17/22/16.
RGB 三色灯RGB_BGPIO16RGB_LED_B=16输出板载 RGB 蓝色通道 按 RGB=17/22/16 记录
On-board RGB LED blue channel; RGB=17/22/16.
音频AUDIO_INGPIO26AUDIO_IN=26输入/ADC音频输入预留
Reserved audio input.
音频AUDIO_ENGPIO4AUDIO_EN=4输出音频/功放使能预留
Reserved audio/amplifier enable control.
扩展 SPISPI_CSGPIO27SPI_CS=27输出扩展 SPI 片选预留
Reserved expansion SPI chip select.
SD 卡SD_MOSIGPIO23SD_MOSI=23输出SD SPI MOSI 预留
Reserved SD SPI MOSI.
SD 卡SD_MISOGPIO19SD_MISO=19输入SD SPI MISO 预留
Reserved SD SPI MISO.
SD 卡SD_SCKGPIO18SD_SCK=18输出SD SPI 时钟预留
Reserved SD SPI clock.
SD 卡SD_CSGPIO5SD_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 + XPT2046

TFT_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 40000000

XPT2046 触摸配置 / Touch Example

#define TOUCH_IRQ   36
#define TOUCH_MISO  39
#define TOUCH_MOSI  32
#define TOUCH_CS    33
#define TOUCH_CLK   25

使用注意事项 / Notes

Important

1. 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.