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

Guscio stampato in 3D arancione Scheda di sviluppo ESP32-C5 Touchscreen da 2,8 pollici con interfaccia di ricarica GPS audio

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

ZLX-ESP32-2

Scheda Sviluppo Display Touch ESP32-C5 2,8 "

Manuale d'uso in inglese
ZLX-ESP32-2
Modello: ZLX-ESP32-2
Modulo: ESP32-C5-WROOM-1U-N8R8
Versione del documento: v1.1 | 2026-08-25

1. Panoramica del prodotto

La ZLX-ESP32-2 è una scheda di sviluppo tattile resistiva da 2,8 pollici basata sul modulo ESP32-C5-WROOM-1U-N8R8. Integra un display LCD a colori, controller touch XPT2046, slot per schede microSD/TF (solo slot per schede, esclusa la scheda microSD/TF), interfaccia GPS, uscita audio, rilevamento della tensione della batteria, indicatore LED verde, pulsante di avvio/ripristino e interfaccia dell'antenna esterna. È adatto per lo sviluppo di Wi-Fi 6, Bluetooth LE, Zigbee/Thread, Human Machine Interface (HMI), Data Logging e Internet of Things (IoT).

Caratteristiche principali:

  • ESP32-C5 CPU single-core RISC-V a 32 bit a 240 MHz
  • ESP32-C5-WROOM-1U-N8R8: 8 MB Flash + 8 MB PSRAM (memoria del modulo integrato, scheda non microSD/TF)
  • 2.4 GHz + 5 GHz dual-band Wi-Fi 6 (802.11ax)
  • Bluetooth LE、IEEE 802.15.4、Zigbee 3.0、Thread 1.4
  • Display LCD da 2,8 pollici 240 × 320, chip driver ST7789, inizializzazione BGR, la funzione di inversione del display è disabilitata
  • Controller touch resistivo XPT2046
  • La scheda LCD e TF condividono un'interfaccia SPI, ma l'interfaccia CS è diversa; la funzione touch utilizza un'interfaccia SPI software separata.
  • Dimensioni dei fogli: 86 x 50 mm circa.
  • Interfaccia antenna esterna IPEX1; collegare l'antenna esterna appropriata prima di utilizzare la radio.

Utente di destinazione

Per sviluppatori embedded, sviluppatori IoT, maker, usi educativi/di laboratorio e prototipazione di prodotti.

2. Aspetto e dimensioni

La dimensione della scheda è di circa 86 mm x 50 mm. L'immagine seguente aiuta a identificare il display, i connettori e i componenti principali.

板面显示面
Figura 1 Dimensioni delle superfici anteriore e di visualizzazione della scheda elettronica

Identificazione del connettore

Connector identification
Figura 2 Identificazione del connettore ZLX-ESP32-2

3. Specifiche della scheda elettronica

ArticoloFORMATO
Modello piastraZLX-ESP32-2
Moduli di baseESP32-C5-WROOM-1U-N8R8
Dimensione piastraCirca 86 x 50 mm
EsposizioneLCD TFT da 2,8 ", chip ST7789, risoluzione originale 240 × 320
Ordine dei coloriInizializzazione BGR
Mostra invertitoModalità di visualizzazione OFF/Normale
TouchTocco resistivo XPT2046
slot per schede microSD/TFModalità SPI; scheda non inclusa
Interfaccia GPSConnettore a 4 pin da 1,25 mm; segnale UART su GPIO0/GPIO9
AcusticoAltoparlante a 2 pin da 2,0 mm/connettore audio; audio PWM + amplificatore abilitato
Batteria3.7V monofase, 1.25 mm doppio pin; con circuito di protezione, capacità consigliata 1000–3000mAh
Antenna esternaConnettore IPEX1; necessario per il percorso wireless WROOM-1U
BUTTONReset, avvio
indiceLED verde acceso GPIO26
Nota: la risoluzione nativa del pannello è 240 × 320; la dimensione logica del display può essere 320 × 240 se ruotata orizzontalmente.

4. Specifiche del modulo ESP32-C5-WROOM-1U-N8R8

I seguenti parametri chiave si basano sulla scheda tecnica ESP32-C5-WROOM-1/WROOM-1U ufficiale di Espressif v1.2.

ArticoloFORMATO
SoC incorporatiESP32-C5HR8
CPUProcessore single-core RISC-V a 32 bit fino a 240 MHz
Rom320 KB
HP SRAM384 KB
LP SRAM16 KB
Flash8 MB Quad Channel SPI
PSRAM8 MB Quad Channel SPI
Wifi1T1R, 2,4 GHz + 5 GHz dual band; IEEE 802.11ax/ac/b/g/n; fino a 150 Mbps
Frequenza 2,4 GHz2412–2484 MHz
Frequenza 5 GHz5180–5885 MHz (soggetto alle normative locali)
BluetoothBluetooth Low Energy; l'elenco delle funzionalità di Espressif v1.2 mostra Bluetooth Core 6.0 certificato
IEEE 802.15.42.4 GHz OQPSK,250 Kbps
Zigbee/ThreadZigbee 3.0 / Thread 1.4
GPIOSono disponibili fino a 22 GPIO a livello di modulo.
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.
  • XPT2046 utilizza il software standalone SPI su GPIO3/4/5/23/25.
  • Per la tensione della batteria, convertire le letture ADC GPIO1 utilizzando un rapporto di tensione parziale di circa 2: 1 e applicare la calibrazione ADC per una maggiore precisione.
  • I canali Wi-Fi a 5 GHz disponibili e la potenza di trasmissione dipendono dalle normative locali.
  • Il comportamento di avvio/ripristino delle impostazioni di fabbrica è definito dal firmware; si prega di evitare l'attivazione accidentale per evitare di cancellare le impostazioni.

Ordine di inizializzazione suggerito

  1. Quando l'alimentazione è stabile, inizializzare il sistema ed eseguire il debug dell'UART.
  2. Inizializzare LCD SPI; configurare ST7789, BGR, disattivare l'inversione e abilitare la retroilluminazione.
  3. Inizializzare XPT2046 touch.
  4. Se è necessaria una memoria rimovibile, inserire una scheda microSD/TF compatibile fornita dall'utente, quindi inizializzarla e assicurarsi che lo stato LCD_CS/SD_CS sia corretto.
  5. Inizializzare GPS, audio, LED e ADC della batteria secondo necessità.
  6. Abilitare la radio Wi-Fi/BLE/802.15.4 secondo necessità.

11. Risoluzione dei problemi

DomandaSoluzioni
Mostra schermo vuoto/neroControllare GPIO6/7/10/13/14, selezione unità ST7789, impostazioni BGR, GPIO13 retroilluminato e se l'inversione è abilitata accidentalmente.
Errore coloreVerificare che la libreria grafica sia configurata per l'ordine dei colori BGR.
Nessuna risposta al toccoControllare l'inizializzazione di GPIO3/4/5/23/25 e XPT2046.
Inizializzazione della scheda TF non riuscitaControllare l'SPI SCK/MOSI/miso condiviso e assicurarsi che SD_CS (GPIO27) e LCD_CS (GPIO10) non siano impostati contemporaneamente.
Segnale Wi-Fi debole/nessun Wi-FiVerificare che l'antenna esterna IPEX1 sia collegata e funzioni nella banda GHz 2.4/5.
Circa la metà delle letture della batteriaGPIO1 utilizza un partitore di tensione 100k/100k; moltiplicare la tensione lato ADC per circa 2.
Nessun dato GPSVerificare che GPIO0 riceva GPS TX, GPIO9 guidi GPS RX e verifichi la velocità di trasmissione e l'alimentazione.

12. Download e supporto tecnico

Per il firmware ZLX-ESP32-2, la documentazione, la documentazione di follow-up e il relativo supporto, visitare il Centro di supporto della scheda di sviluppo ZLX ESP32. Prima di far lampeggiare il firmware, assicurati che il modello di PCB mostrato sul sito web corrisponda esattamente al tuo hardware.

Link per il download:https://www.zlxchina.xyz/

Scheda tecnica del modulo Lexin: Scheda tecnica ESP32-C5-WROOM-1/WROOM-1U

Referenze

13. Sicurezza e funzionamento

  • Controllare la polarità della batteria prima di collegarla; non invertire mai il connettore della batteria.
  • Quando si collega e scollega il connettore IPEX, applicare la forza verticalmente ed evitare di fare leva laterale per evitare di danneggiare la presa RF.
  • Quando si utilizzano schede a circuito scoperto, adottare misure di protezione dalle scariche elettrostatiche e prevenire cortocircuiti causati da oggetti metallici.
  • Le bande radio, i canali e l'alimentazione di trasmissione a 5 GHz devono essere conformi alle normative locali.
  • Per le schede TF, GPS, audio e altre periferiche, seguire i livelli di potenza e logici specificati nella versione hardware effettiva. Non applicare un livello logico superiore a 3,3 V ai pin di I/O se non esplicitamente verificato.

14. Cronologia delle revisioni del documento

- Reverendo!Data"Descrizione",Fondamenta
V1.12026-08-25Istruzioni riviste per schede microSD/TF, batterie e GPIO.Hefei Zhiluxing Information Technology Co., Ltd.

Do-re-mi!

ZLX-ESP32-2 |   www.zlxchina.xyzHefei Zhiluxing Information Technology Co., Ltd.
Top