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

Oranje 3D-geprinte schaal ESP32-C5 ontwikkelbord 2,8-inch touchscreen met audio-GPS-oplaadinterface

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

ESP32-C5 2,8 "Touch Display Development Board

Engelse gebruikershandleiding
ZLX-ESP32-2
Model: ZLX-ESP32-2
Module: ESP32-C5-WROOM-1U-N8R8
Documentversie: v1.1 | 2026-08-25

1. Productoverzicht

De ZLX-ESP32-2 is een 2,8-inch resistief touch-ontwikkelbord op basis van de ESP32-C5-WROOM-1U-N8R8-module. Het integreert een kleuren LCD-scherm, XPT2046 aanraakcontroller, microSD/TF-kaartsleuf (alleen kaartsleuf, exclusief microSD/TF-kaart), GPS-interface, audio-uitgang, accuspanningsdetectie, groene LED-indicator, opstart-/resetknop en externe antenne-interface. Het is geschikt voor Wi-Fi 6, Bluetooth LE, Zigbee/Thread, Human Machine Interface (HMI), Data Logging en Internet of Things (IoT) ontwikkeling.

Belangrijkste kenmerken

  • ESP32-C5 32-bits RISC-V Single Core CPU @ 240 MHz
  • ESP32-C5-WROOM-1U-N8R8: 8 MB Flash + 8 MB PSRAM (ingebouwd modulegeheugen, niet-microSD/TF-kaart)
  • 2,4 GHz + 5 GHz dual-band Wi-Fi 6 (802.11ax)
  • Bluetooth LE、IEEE 802.15.4、Zigbee 3.0、Thread 1.4
  • 2,8 inch 240 × 320 LCD display, ST7789 driver chip, BGR initialisatie, display inversie functie is uitgeschakeld
  • XPT2046 Resistieve aanraakcontroller
  • De LCD- en TF-kaart delen één SPI-interface, maar de CS-interface is anders; de aanraakfunctie maakt gebruik van een aparte software SPI-interface.
  • Formaat vel circa 86 mm x 50 mm
  • IPEX1 externe antenne-interface; sluit de juiste externe antenne aan voordat u de radio gebruikt.

Producten

Voor embedded ontwikkelaars, IoT-ontwikkelaars, makers, educatief/lab-gebruik en productprototyping.

2. Uiterlijk en afmetingen

De afmeting van de plank is ongeveer 86 mm x 50 mm. De onderstaande afbeelding helpt bij het identificeren van het display, de connectoren en de belangrijkste componenten.

板面显示面
Figuur 1 Afmetingen van de voorkant en displayoppervlakken van de printplaat

Connectoridentificatie

Connector identification
Afbeelding 2 ZLX-ESP32-2 Connectoridentificatie

3. Specificaties printplaat

ItemSpecificaties
PlaatmodelZLX-ESP32-2
KernmodulesESP32-C5-WROOM-1U-N8R8
PlaatgrootteCa. 86 x 50 mm
Oriëntatie2.8 "TFT LCD, ST7789 chip, originele resolutie 240 × 320
KleurvolgordeBGR Initialisatie
Omgekeerd tonenUit/Normale weergavemodus
AanrakingWeerstand biedende aanraking XPT2046
microSD/TF-kaartsleufSPI-modus; kaart niet inbegrepen
GPS-interface1,25 mm 4-pins connector; UART-signaal op GPIO0/GPIO9
akoestisch2,0 mm 2-pins luidspreker/audioconnector; PWM-audio + versterker ingeschakeld
Ijsbatterij3,7 V enkelfasig, 1,25 mm dubbelpolig; met beveiligingscircuit, aanbevolen capaciteit 1000-3000 mAh
Externe antenneIPEX1-connector; vereist voor WROOM-1U draadloos pad
KnoppenResetten, opstarten
StatistiekenGroene LED op GPIO26
Opmerking: de native resolutie van het paneel is 240 × 320; de logische weergavegrootte kan 320 × 240 zijn wanneer deze horizontaal wordt gedraaid.

4. Specificaties ESP32-C5-WROOM-1U-N8R8-module

De volgende belangrijke parameters zijn gebaseerd op Espressif official ESP32-C5-WROOM-1/WROOM-1U datasheet v1.2.

ItemSpecificaties
Ingebedde SoC'sESP32-C5HR8
CPU32-bit RISC-V single-core processor tot 240 MHz
alleen-lezen geheugen320 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; tot 150 Mbps
2,4 GHz-frequentie2412–2484 MHz
5 GHz frequentie5180–5885 MHz (onderhevig aan lokale regelgeving)
BluetoothBluetooth Low Energy; Espressif v1.2 functielijst toont gecertificeerde Bluetooth Core 6.0
IEEE 802.15.42.4 GHz OQPSK,250 Kbps
Zigbee/ThreadZigbee 3.0 / Thread 1.4
GPIOEr zijn maximaal 22 GPIO's beschikbaar op moduleniveau.
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 maakt gebruik van standalone software SPI op GPIO3/4/5/23/25.
  • Voor accuspanning, converteer GPIO1 ADC-metingen met behulp van een gedeeltelijke spanningsverhouding van ongeveer 2: 1 en pas ADC-kalibratie toe voor een hogere nauwkeurigheid.
  • Beschikbare 5 GHz Wi-Fi-kanalen en zendvermogen zijn afhankelijk van lokale regelgeving.
  • Het gedrag van het starten/herstellen van fabrieksinstellingen wordt bepaald door de firmware; vermijd onbedoelde activering om te voorkomen dat de instellingen worden gewist.

Voorgestelde initialisatievolgorde

  1. Wanneer de stroom stabiel is, initialiseert u het systeem en debugt u de UART.
  2. Initialiseer LCD SPI; configureer ST7789, BGR, schakel inversie uit en schakel achtergrondverlichting in.
  3. Initialiseer XPT2046-touch.
  4. Als verwijderbare opslag vereist is, plaatst u een compatibele door de gebruiker geleverde microSD/TF-kaart, initialiseert u deze en zorgt u ervoor dat de LCD_CS/SD_CS-status correct is.
  5. Initialiseer indien nodig GPS-, audio-, LED- en batterij-ADC's.
  6. Schakel indien nodig Wi-Fi/BLE/802.15.4-radio in.

11. Problemen oplossen

probleemOplossingen
Toon leeg/zwart schermControleer GPIO6/7/10/13/14, ST7789 aandrijfselectie, BGR-instellingen, GPIO13 met achtergrondverlichting en of inversie per ongeluk is ingeschakeld.
KleurfoutControleer of de grafische bibliotheek is geconfigureerd voor BGR-kleurvolgorde.
Geen aanraakreactieControleer initialisatie van GPIO3/4/5/23/25 en XPT2046.
Initialisatie TF-kaart misluktControleer de gedeelde SPI SCK/MOSI/miso en zorg ervoor dat SD_CS (GPIO27) en LCD_CS (GPIO10) niet tegelijkertijd zijn ingesteld.
Wi-Fi-signaal zwak/geen wifiControleer of de IPEX1 externe antenne is aangesloten en werkt in de 2.4/5 GHz-band.
Ongeveer de helft van de batterijmetingenGPIO1 gebruikt een 100k/100k spanningsdeler; vermenigvuldig de ADC-zijspanning met ongeveer 2.
Geen GPS-gegevensControleer of GPIO0 GPS TX ontvangt, GPIO9 GPS RX aanstuurt en de baudrate en voeding verifieert.

12. Downloads en technische ondersteuning

Ga voor ZLX-ESP32-2-firmware, documentatie, vervolgdocumentatie en gerelateerde ondersteuning naar het ZLX ESP32 Development Board Support Center. Voordat u de firmware knippert, moet u ervoor zorgen dat het PCB-model op de website precies overeenkomt met uw hardware.

Downloadlink:https://www.zlxchina.xyz/

Lexin Module Datablad: ESP32-C5-WROOM-1/WROOM-1U Datablad

Referentie

13. Veiligheid en bediening

  • Controleer de polariteit van de batterij voordat u deze aansluit; keer de batterijconnector nooit om.
  • Oefen bij het aansluiten en loskoppelen van de IPEX-connector verticaal kracht uit en vermijd lateraal wrikken om beschadiging van de RF-aansluiting te voorkomen.
  • Neem bij het gebruik van blote printplaten beveiligingsmaatregelen tegen elektrostatische ontlading en voorkom kortsluiting veroorzaakt door metalen voorwerpen.
  • 5 GHz radiobanden, kanalen en zendvermogen moeten voldoen aan de lokale voorschriften.
  • Volg voor TF-kaarten, GPS, audio en andere randapparatuur de vermogens- en logische niveaus die zijn gespecificeerd in de werkelijke hardwareversie. Pas geen logisch niveau hoger dan 3,3 V toe op I/O-pinnen, tenzij expliciet geverifieerd.

14. Revisiegeschiedenis van documenten

PriesterDatumBeschrijvingBovenliggend
V1.12026-08-25Herziene instructies voor microSD/TF-kaarten, batterijen en GPIO.Hefei Zhiluxing Information Technology Co., Ltd.

SLOT

ZLX-ESP32-2 |   www.zlxchina.xyz| Hefei Zhiluxing Information Technology Co., Ltd.
Boven