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

Placa de desarrollo de ESP32-C5 con carcasa impresa en 3D naranja, pantalla táctil de 2,8 pulgadas con interfaz de carga de audio GPS

B2B · OEM · ODM

Bulk purchasing and customization cooperation

We are from Hefei, Anhui, China - a city famous for 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. https://www.zlxchina.com/

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

ZLX-ESP32-2

ESP32-C5 Placa de desarrollo de pantalla táctil de 2,8 pulgadas

manual de usuario en ingles
ZLX-ESP32-2
Modelo: ZLX-ESP32-2
Módulo: ESP32-C5-WROOM-1U-N8R8
Versión del documento: V1.1 | 2026-08-25

1. Descripción general del producto

ZLX-ESP32-2 es una placa de desarrollo táctil resistiva de 2,8 pulgadas basada en el módulo ESP32-C5-WROOM-1U-N8R8. Integra una pantalla LCD a color, controlador táctil XPT2046, ranura para tarjeta microSD/TF (solo ranura para tarjeta, tarjeta microSD/TF no incluida), interfaz GPS, salida de audio, detección de voltaje de la batería, indicador LED verde, botón BOOT/RESET e interfaz de antena externa. Es adecuado para Wi-Fi 6, Bluetooth LE, Zigbee/Thread, interfaz hombre-máquina (HMI), registro de datos y desarrollo de Internet de las cosas (IoT).

Características principales

  • ESP32-C5 CPU de un solo núcleo RISC-V de 32 bits, hasta 240 MHz
  • ESP32-C5-WROOM-1U-N8R8: 8 MB Flash + 8 MB PSRAM (memoria del módulo integrado, no tarjeta microSD/TF)
  • Wi-Fi 6 de doble banda de 2,4 GHz + 5 GHz (802.11ax)
  • Bluetooth LE、IEEE 802.15.4、Zigbee 3.0、Thread 1.4
  • Pantalla LCD de 2,8 pulgadas 240 × 320, chip controlador ST7789, inicialización BGR, función de inversión de pantalla desactivada
  • Controlador táctil resistivo XPT2046
  • La tarjeta LCD y TF comparten una interfaz SPI, pero la interfaz CS es diferente; la función táctil utiliza una interfaz SPI de software independiente.
  • Las dimensiones del panel son aproximadamente 86 mm x 50 mm.
  • Interfaz de antena externa IPEX1; conecte una antena externa adecuada antes de usar la radio.

usuarios objetivo

Ideal para desarrolladores integrados, desarrolladores de IoT, creadores, uso educativo/laboratorio y creación de prototipos de productos.

2. Aspecto y tamaño

Las dimensiones del tablero son aproximadamente 86 mm × 50 mm. El siguiente diagrama ayuda a identificar la pantalla, los conectores y los componentes principales.

板面显示面
Figura 1 Dimensiones de las superficies frontal y de visualización de la placa de circuito

Identificación del conector

Connector identification
Figura 2 Identificación del conector ZLX-ESP32-2

3. Especificaciones de la placa de circuito

cosaEspecificación
modelo de placaZLX-ESP32-2
módulo centralESP32-C5-WROOM-1U-N8R8
Tamaño del tableroAprox. 86 × 50 milímetros
anexoPantalla TFT LCD de 2,8 pulgadas, chip ST7789, resolución original 240×320
orden de colorInicialización de BGR
Pantalla invertidaModo de visualización apagado/normal
tocarToque resistivo, XPT2046
Ranura para tarjeta microSD/TFmodo SPI; tarjeta no incluida
Interfaz GPSConector de 4 pines de 1,25 mm; Señales UART en GPIO0/GPIO9
vocalConector de audio/altavoz de 2,0 mm y 2 pines; Audio PWM + amplificador habilitado
Pila eléctrica3,7 V monofásico, doble pin de 1,25 mm; con circuito de protección, capacidad recomendada 1000–3000mAh
antena externaconector IPEX1; requerido para la ruta inalámbrica WROOM-1U
botónrestablecer, iniciar
índiceLED verde en GPIO26
Nota: La resolución nativa del panel es 240×320; cuando se gira horizontalmente, el tamaño de visualización lógico puede ser 320×240.

4. Especificaciones del módulo ESP32-C5-WROOM-1U-N8R8

Los siguientes parámetros clave se basan en la hoja de datos oficial de Espressif ESP32-C5-WROOM-1 / WROOM-1U v1.2.

cosaEspecificación
SoC integradoESP32-C5HR8
UPCProcesador de un solo núcleo RISC-V de 32 bits, hasta 240 MHz
memoria de solo lectura320 KB
HP SRAM384 KB
LP SRAM16 KB
destelloSPI cuádruple de 8 MB
PSRAMSPI cuádruple de 8 MB
Wi-Fi1T1R, doble banda 2,4 GHz + 5 GHz; IEEE 802.11ax/ac/b/g/n; hasta 150Mbps
Frecuencia de 2,4 GHz2412–2484 MHz
Frecuencia de 5GHz5180–5885 MHz (sujeto a regulaciones regionales)
bluetoothBluetooth de baja energía; La lista de funciones de Espressif v1.2 muestra la certificación Bluetooth Core 6.0
IEEE 802.15.42.4 GHz OQPSK,250 Kbps
Zigbee/ThreadZigbee 3.0 / Thread 1.4
GPIOHay hasta 22 GPIO disponibles a nivel de módulo.
Typical PeripheralsGPIO, SPI, UART, I2C, I2S, RMT, LED PWM, USB Serial/JTAG, MCPWM, GDMA, CAN FD, SDIO slave, ADC, temperature sensor, timers, watchdogs, etc.
Module Supply3.0–3.6 V, typical 3.3 V
Recommended Supply CapabilityExternal supply should be capable of at least 0.6 A for the module
Ambient Temperature-40 to +85 °C
Module Size18.0 × 21.2 × 3.3 mm
AntennaExternal antenna via connector/module RF path; 50 Ω RF system

5. Display and Touch

LCD Parameters

ItemSpecification
Size2.8 inch
Driver ICST7789
Native resolution240 × 320
Landscape logical resolution320 × 240 (depending on rotation setting)
Color orderBGR
InversionDisabled / OFF; normal display mode
SPI SCKGPIO6
SPI MOSIGPIO7
SPI MISOGPIO2 (shared with TF card; used if required by library/readback)
LCD CSGPIO10
LCD BacklightGPIO13
LCD DC / RSGPIO14

Touch Parameters

  • Touch type: 4-wire resistive; controller: XPT2046.
  • DOUT=GPIO3, SCK=GPIO4, DIN=GPIO5.
  • CS=GPIO23, IRQ=GPIO25.
  • Touch uses an independent software SPI; the supplied test flow is marked as requiring no calibration.

6. GPIO Mapping

The mapping below is based on the supplied GPIO spreadsheet and cross-checked against the schematic. Board peripherals use 19 GPIOs; TX0=GPIO11 and RX0=GPIO12 are additionally used by UART0; GPIO15 is reserved by PSRAM on N8R8, so all 21 usable GPIOs are allocated; EN is not a GPIO.

GPIOSignalDefinitionDirectionFunctionNotes
0GPSTXGPS UART TXInputGPS testGPS module TX → ESP32-C5
1BAT_ADCBattery voltage sensingInput/ADCBattery test100k/100k divider; ADC × 2 ≈ battery voltage
2SD_MISOTF DAT0 / LCD MISO sharedInputTF card testShared SPI MISO
3RTP_DOUTXPT2046 DOUTInputTouch testTouch controller data output
4RTP_SCKXPT2046 SCKOutputTouch testIndependent software SPI
5RTP_DINXPT2046 DINOutputTouch testIndependent software SPI
6LCD_SCKLCD SCK / TF SCK sharedOutputLCD/TF testShared SPI clock
7LCD_MOSILCD MOSI / TF CMD(MOSI) sharedOutputLCD/TF testShared SPI MOSI
8AUDIOPWMAudio PWMOutputAudio testAudio output control
9GPSRXGPS UART RXOutputGPS testESP32-C5 TX → GPS module RX
10LCDCSST7789 CSOutputDisplay testLCD chip select
13LCDBLLCD backlightOutputDisplay testBacklight control
14LCD_RS/DCST7789 DCOutputDisplay testData/command select
23RTPCSXPT2046 CSOutputTouch testTouch chip select
24AMP_ENAmplifier enableOutputAudio testHigh-level enable per supplied mapping; verify actual hardware revision
25RTPIRQXPT2046 IRQInputTouch testTouch interrupt
26GREENLEDGreen LEDOutputLED testHIGH = ON, LOW = OFF
27SDCSTF DAT3 / CSOutputTF card testTF card SPI chip select
28BOOTAUTOBOOT / auto-start controlInput/ControlFactory restoreBOOT input / factory-restore logic

System and UART Signals

SignalPurposeNote
RESET_AUTO / ENESP32 reset / enableSystem enable/reset; not a GPIO
UART0_TX / TX0 / GPIO11UART0 transmitUsed; excluded from the 19 peripheral GPIO count
UART0_RX / RX0 / GPIO12UART0 receiveUsed; excluded from the 19 peripheral GPIO count

7. Interface and Bus Sharing

ItemGPIODescription
LCD + TF Shared SPIGPIO6 / GPIO7 / GPIO2SCK, MOSI, MISO shared; devices separated by independent CS
LCD CSGPIO10LCD_CS
TF card CSGPIO27SD_CS / DAT3
XPT2046 touchGPIO3 / 4 / 5 / 23 / 25DOUT / SCK / DIN / CS / IRQ
GPS UARTGPIO0 / GPIO9GPSTX / GPSRX; GPIO0 receives GPS TX, GPIO9 drives GPS RX
Battery ADCGPIO1BAT_ADC; 100k/100k divider; C20 100 nF filtering
Green LEDGPIO26HIGH ON, LOW OFF
AudioGPIO8 / GPIO24AUDIOPWM / AMP_EN
LCD controlGPIO13 / GPIO14Backlight / DC

SPI Sharing Notes

  • LCD and TF card share GPIO6 (SCK), GPIO7 (MOSI), and GPIO2 (MISO), but use GPIO10 (LCD_CS) and GPIO27 (SD_CS) respectively.
  • Assert only the target device CS at a time to avoid bus contention.
  • The XPT2046 touch controller uses an independent software SPI and does not share the main LCD/TF SCK/MOSI signals.

8. Functional Test Mapping

TestGPIOWhat is testedResult / Note
DisplayGPIO6, 7, 10, 13, 14, 2ST7789 display, 240×320 native / 320×240 landscape; BGR; backlightNormal / Abnormal
TouchGPIO3, 4, 5, 23, 25XPT2046 touch responseTest flow: no calibration
TF cardGPIO2, 6, 7, 27SPI init, read/write/formatShares SPI with LCD
AudioGPIO8, 24PWM audio and amplifier enableContinuous playback depends on firmware
Wi-FiInternal RF2.4 GHz / 5 GHz scanNo listed GPIO occupied
BLEInternal RFBLE scanNo listed GPIO occupied
GPSGPIO0, 9GPS UART dataGPSTX / GPSRX
LEDGPIO26Green LEDHIGH on / LOW off
BatteryGPIO1ADC measures divided battery voltageVoltage estimate, not a coulomb counter
Factory restoreGPIO28BOOT input / restore logicBehavior is defined by firmware

9. Connector and Electrical Notes

Battery Connector

The board provides a 1.25 mm 2-pin connector for a single-cell 3.7 V battery. In the orientation shown in the labeled image, the left pin is positive (+) and the right pin is negative (-). For battery-powered operation, use a protected single-cell 3.7 V Li-ion/LiPo battery; 1000–3000 mAh is recommended. Verify connector type and polarity before connection. Reverse polarity may damage the board.

Battery Voltage Sensing

GPIO1 senses battery voltage through a 100 kΩ / 100 kΩ divider, so ideally the battery voltage is approximately 2× the ADC pin voltage. This is a voltage estimate only and is not a fuel-gauge/coulomb-counter measurement.

GPS Interface

GPS uses GPIO0 and GPIO9 as UART signals. In this board mapping, GPIO0 (named GPSTX) is an input connected to the GPS module TX, while GPIO9 (named GPSRX) is an output connected to the GPS module RX. For the 1.25 mm 4-pin connector power pins and exact physical pin order, follow the silkscreen/schematic of the specific hardware revision.

External Antenna

ESP32-C5-WROOM-1U is the external-antenna variant. Connect a suitable 2.4/5 GHz, 50-ohm antenna to the IPEX1 connector. Avoid prolonged high-power transmission without a proper antenna attached.

Audio Connector

Audio output uses GPIO8 (AUDIOPWM) for the PWM signal and GPIO24 (AMP_EN) for amplifier enable. The top connector is a 2.0 mm 2-pin audio/speaker connector. Use loads and volume settings within the capability of the actual amplifier circuit.

10. Software Development and Initialization Notes

  • Select ST7789 as the display driver and use 240×320 as the native resolution; set rotation for 320×240 landscape as supported by your graphics library.
  • Use BGR color order; do not enable display inversion (INVON).
  • When LCD and TF share SPI, manage LCD_CS (GPIO10) and SD_CS (GPIO27) independently after initialization.
  • El XPT2046 utiliza software independiente SPI en GPIO3/4/5/23/25.
  • Para el voltaje de la batería, convierta la lectura del ADC GPIO1 usando una relación de divisor de voltaje de aproximadamente 2:1 y aplique la calibración del ADC para una mayor precisión.
  • Los canales Wi-Fi de 5 GHz disponibles y la potencia de transmisión dependen de las regulaciones locales.
  • El comportamiento de arranque/restablecimiento de fábrica está definido por el firmware; Evite la activación accidental para evitar borrar la configuración.

Secuencia de inicialización recomendada

  1. Una vez que la fuente de alimentación esté estable, inicialice el sistema y depure el UART.
  2. Inicializar LCD SPI; configure ST7789, BGR, desactive la inversión y habilite la luz de fondo.
  3. Inicialice el toque XPT2046.
  4. Si se requiere almacenamiento extraíble, inserte una tarjeta microSD/TF compatible proporcionada por el usuario, luego inicialícela y asegúrese de que el estado LCD_CS/SD_CS sea correcto.
  5. Inicialice el GPS, el audio, el LED y el ADC de la batería según sea necesario.
  6. Habilite la funcionalidad de radio Wi-Fi/BLE/802.15.4 según sea necesario.

11. Solución de problemas

preguntasolución
Mostrar pantalla en blanco/negroVerifique GPIO6/7/10/13/14, selección del controlador ST7789, configuración de BGR, retroiluminación GPIO13 y si la función de inversión se habilita accidentalmente.
color equivocadoVerifique que la biblioteca de gráficos esté configurada para el orden de color BGR.
Sin respuesta táctilVerifique la inicialización de GPIO3/4/5/23/25 y XPT2046.
La inicialización de la tarjeta TF fallóVerifique SPI SCK/MOSI/MISO compartido y asegúrese de que SD_CS (GPIO27) y LCD_CS (GPIO10) no estén configurados al mismo tiempo.
Señal de Wi-Fi débil/sin Wi-FiVerifique que la antena externa IPEX1 esté conectada y sea adecuada para la banda de 2,4/5 GHz.
La lectura de la batería es aproximadamente la mitad.GPIO1 utiliza un divisor de voltaje de 100k/100k; multiplique el voltaje del lado ADC por aproximadamente 2.
Sin datos GPSVerifique que GPIO0 reciba GPS TX, GPIO9 controle GPS RX y verifique la velocidad en baudios y la potencia.

12. Descargas y soporte técnico

Para obtener firmware, archivos, documentación de seguimiento y soporte relacionado del ZLX-ESP32-2, visite el Centro de soporte de la placa de desarrollo ZLX ESP32. Antes de actualizar el firmware, asegúrese de confirmar que el modelo de PCB que se muestra en el sitio web coincide exactamente con su hardware.

Enlace de descarga:https://www.zlxchina.xyz/

Ficha técnica del módulo Espressif: Ficha técnica ESP32-C5-WROOM-1 / WROOM-1U

referirse a

13. Seguridad y Operación

  • Confirme la polaridad de la batería antes de conectarla; No conecte los conectores de la batería al revés.
  • Al enchufar o desenchufar el conector IPEX, aplique fuerza vertical y evite hacer palanca lateral para evitar dañar el enchufe RF.
  • Cuando utilice placas de circuito expuestas, tome medidas de protección contra descargas electrostáticas y evite cortocircuitos causados ​​por objetos metálicos.
  • La banda de radio de 5 GHz, el canal y la potencia de transmisión deben cumplir con las regulaciones locales.
  • Para tarjetas TF, GPS, audio y otros periféricos, siga los niveles lógicos y de suministro de energía especificados por la versión real del hardware. No aplique niveles lógicos superiores a 3,3 V a los pines de E/S a menos que se verifique explícitamente.

14. Historial de revisión de documentos

sacerdotefechadescribirBase
V1.12026-08-25Instrucciones revisadas para tarjeta microSD/TF, batería y GPIO.Hefei Zhiluxing Tecnología de la información Co., Ltd.

-Fin-

ZLX-ESP32-2 |   www.zlxchina.xyz| Hefei Zhiluxing Tecnología de la información Co., Ltd.
arriba