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

주황색 3D 프린트 쉘 ESP32-C5 개발 보드 오디오 GPS 충전 인터페이스가 포함된 2.8인치 터치 스크린

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 "터치 디스플레이 개발 보드

영어 사용 설명서
ZLX-ESP32-2
모델: ZLX-ESP32-2
모듈: ESP32-C5-WROOM-1U-N8R8
문서 버전: v1.1 | 2026-08-25

1. 제품 개요

ZLX-ESP32-2는 ESP32-C5-WROOM-1U-N8R8 모듈을 기반으로 하는 2.8인치 저항 터치 개발 보드입니다. 컬러 LCD 디스플레이, XPT2046 터치 컨트롤러, microSD/TF 카드 슬롯 (카드 슬롯만, microSD/TF 카드 제외), GPS 인터페이스, 오디오 출력, 배터리 전압 감지, 녹색 LED 표시기, 부팅/리셋 버튼 및 외부 안테나 인터페이스를 통합합니다. Wi-Fi 6, Bluetooth LE, Zigbee/Thread, HMI (Human Machine Interface), 데이터 로깅 및 IoT (Internet of Things) 개발에 적합합니다.

주요 기능

  • ESP32-C5 32비트 RISC-V 싱글 코어 CPU @ 240MHz
  • ESP32-C5-WROOM-1U-N8R8: 8MB 플래시 + 8MB PSRAM (온보드 모듈 메모리, 비마이크로SD/TF 카드)
  • 2.4GHz + 5GHz 듀얼 밴드 Wi-Fi 6 (802.11ax)
  • Bluetooth LE、IEEE 802.15.4、Zigbee 3.0、Thread 1.4
  • 2.8인치 240 × 320 LCD 디스플레이, ST7789 드라이버 칩, BGR 초기화, 디스플레이 반전 기능 비활성화
  • XPT2046 저항 터치 컨트롤러
  • LCD와 TF 카드는 하나의 SPI 인터페이스를 공유하지만 CS 인터페이스는 다릅니다. 터치 기능은 별도의 소프트웨어 SPI 인터페이스를 사용합니다.
  • 시트 크기 약 86mm x 50mm
  • IPEX1 외부 안테나 인터페이스; 라디오를 사용하기 전에 적절한 외부 안테나를 연결하십시오.

대상 사용자

임베디드 개발자, IoT 개발자, 메이커, 교육/랩 용도 및 제품 프로토타이핑.

2. 외관 및 치수

보드 크기는 약 86mm x 50mm입니다. 아래 이미지는 디스플레이, 커넥터 및 주요 구성 요소를 식별하는 데 도움이 됩니다.

板面显示面
그림 1 회로 기판의 전면 및 디스플레이 표면 치수

커넥터 식별

Connector identification
그림 2 ZLX-ESP32-2 커넥터 식별

3. 회로 기판 사양

물품사양
플레이트 모델ZLX-ESP32-2
핵심 모듈ESP32-C5-WROOM-1U-N8R8
플레이트 크기약 86 x 50mm
프리젠테이션2.8 "TFT LCD, ST7789 칩, 원본 해상도 240 × 320
색상 순서BGR 초기화
반전 표시끄기/일반 디스플레이 모드
터치저항 터치 XPT2046
microSD/TF 카드 슬롯SPI 모드, 카드 미포함
GPS 인터페이스1.25 mm 4핀 커넥터, GPIO0/GPIO9의 UART 신호
어쿠스틱2.0mm 2핀 스피커/오디오 커넥터, PWM 오디오 + 앰프 활성화
배터리3.7V 단상, 1.25 mm 듀얼 핀; 보호 회로 포함, 권장 용량 1000–3000mAh
외부 안테나IPEX1 커넥터; WROOM-1U 무선 경로에 필요
단추재설정, 시작
메트릭GPIO26의 녹색 LED
참고: 패널의 기본 해상도는 240 × 320이며, 수평으로 회전할 경우 논리적 디스플레이 크기는 320 × 240일 수 있습니다.

4. ESP32-C5-WROOM-1U-N8R8 모듈 사양

다음 주요 매개 변수는 Espressif 공식 ESP32-C5-WROOM-1/WROOM-1U 데이터시트 V1.2를 기반으로 합니다.

물품사양
임베디드 SoCESP32-C5HR8
CPU최대 240MHz의 32비트 RISC-V 싱글 코어 프로세서
읽기 전용 메모리320 KB
HP SRAM384 KB
LP SRAM16 KB
플래시8MB 쿼드 채널 SPI
PSRAM8MB 쿼드 채널 SPI
와이파이1T1R, 2.4GHz + 5GHz 이중 대역; IEEE 802.11ax/ac/b/g/n; 최대 150Mbps
2.4GHz 주파수2412–2484 MHz
5GHz 주파수5180-5885MHz (현지 규정에 따름)
블루투스블루투스 저에너지; Espressif v1.2 기능 목록에 인증된 블루투스 코어 6.0이 표시됨
IEEE 802.15.42.4 GHz OQPSK,250 Kbps
Zigbee/ThreadZigbee 3.0 / Thread 1.4
GPIO모듈 수준에서 최대 22개의 GPIO를 사용할 수 있습니다.
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은 GPIO3/4/5/23/25에서 독립 실행형 소프트웨어 SPI를 사용합니다.
  • 배터리 전압의 경우, 약 2: 1의 부분 전압 비율을 사용하여 GPIO1 ADC 판독값을 변환하고 더 높은 정확도를 위해 ADC 보정을 적용하십시오.
  • 사용 가능한 5GHz Wi-Fi 채널 및 송신 전력은 현지 규정에 따라 다릅니다.
  • 공장 설정을 시작/복원하는 동작은 펌웨어에 의해 정의됩니다. 설정을 지우지 않도록 실수로 활성화하지 마십시오.

제안된 초기화 순서

  1. 전원이 안정적이면 시스템을 초기화하고 UART를 디버깅하십시오.
  2. LCD SPI 초기화, ST7789, BGR 구성, 반전 끄기 및 백라이트 활성화.
  3. XPT2046 터치를 초기화합니다.
  4. 이동식 스토리지가 필요한 경우 호환되는 사용자 제공 microSD/TF 카드를 삽입한 다음 초기화하고 LCD_CS/SD_CS 상태가 올바른지 확인하십시오.
  5. 필요에 따라 GPS, 오디오, LED 및 배터리 ADC를 초기화합니다.
  6. 필요에 따라 Wi-Fi/BLE/802.15.4 라디오를 활성화합니다.

11. 문제 해결

문제솔루션
빈 화면/검은색 화면 표시GPIO6/7/10/13/14, ST7789 드라이브 선택, BGR 설정, 백라이트 GPIO13 및 실수로 반전이 활성화되었는지 확인하십시오.
색상 오류그래픽 라이브러리가 BGR 색상 순서에 맞게 구성되어 있는지 확인하십시오.
터치 응답 없음GPIO3/4/5/23/25 및 XPT2046의 초기화를 확인합니다.
TF 카드 초기화 실패공유 SPI SCK/MOSI/MISO를 확인하고 SD_CS (GPIO27) 와 LCD_CS (GPIO10) 가 동시에 설정되어 있지 않은지 확인하십시오.
Wi-Fi 신호 약함/Wi-Fi 없음IPEX1 외부 안테나가 연결되어 있고 2.4/5 GHz 대역에서 작동하는지 확인하십시오.
약 절반의 배터리 수치GPIO1은 100k/100k 전압 분배기를 사용합니다. ADC 측 전압에 약 2를 곱합니다.
GPS 데이터 없음GPIO0이 GPS TX를 수신하는지, GPIO9가 GPS RX를 구동하는지, 전송 속도 및 전원 공급 장치를 확인하는지 확인합니다.

12. 다운로드 및 기술 지원

ZLX-ESP32-2 펌웨어, 문서, 후속 문서 및 관련 지원은 ZLX ESP32 개발 보드 지원 센터를 방문하십시오. 펌웨어를 깜박이기 전에 웹 사이트에 표시된 PCB 모델이 하드웨어와 정확히 일치하는지 확인하십시오.

다운로드 링크:https://www.zlxchina.xyz/

Lexin 모듈 데이터 시트: ESP32-C5-WROOM-1/WROOM-1U 데이터 시트

참고

13. 안전 및 운영

  • 연결하기 전에 배터리 극성을 확인하십시오. 배터리 커넥터를 뒤집지 마십시오.
  • IPEX 커넥터를 연결하고 분리할 때 RF 소켓이 손상되지 않도록 힘을 수직으로 가하고 측면 조이는 것을 피하십시오.
  • 베어 회로 기판을 사용할 때는 정전기 방전 방지 조치를 취하고 금속 물체에 의한 단락을 방지하십시오.
  • 5GHz 무선 대역, 채널 및 송신 전력은 현지 규정을 준수해야 합니다.
  • TF 카드, GPS, 오디오 및 기타 주변 장치의 경우 실제 하드웨어 버전에 지정된 전원 및 논리 수준을 따르십시오. 명시적으로 확인되지 않는 한 I/O 핀에 3.3V 이상의 로직 레벨을 적용하지 마십시오.

14. 문서 개정 내역

사제날짜설명주성분
V1.12026-08-25microSD/TF 카드, 배터리 및 GPIO에 대한 개정된 지침.허페이 Zhiluxing 정보 기술 유한 회사, (주).

엔딩

ZLX-ESP32-2 |   www.zlxchina.xyz| 허페이 Zhiluxing 정보 기술 유한 회사
위쪽에 표시