Skip to main content

NM-CYD-C5

Overview​

The NM-CYD-C5 is a Cheap Yellow Display development board powered by the ESP32-C5, featuring a built-in 2.8" 320×240 TFT LCD with touch screen. It is fully compatible with the dimensions and interfaces of the ESP32-Cheap-Yellow-Display (CYD), enabling seamless replacement while adding dual-band Wi-Fi 6, BLE 5, Zigbee 3.0, and Thread support.

NM-CYD-C5 Color

Features​

  • ESP32-C5-WROOM-1 — RISC-V 32-bit @ 240 MHz
  • 16 MB Flash + 8 MB PSRAM
  • 2.8" TFT LCD — 320 × 240, ST7789 driver, capacitive touch screen
  • Dual USB-C ports — one for ESP32-C5 programming/power, one CH340 UART
  • SD Card Slot + RGB LED + additional GPIO pins
  • 12-pin FPC connector for convenient external module connection
  • Fully compatible with ESP32-Cheap-Yellow-Display form factor

Wireless Capabilities​

ProtocolSpecification
Wi-FiDual-band Wi-Fi 6 (802.11ax), 2.4 GHz & 5 GHz
BluetoothBLE 5.3 + Classic Bluetooth (SPP, HID, GATT)
ZigbeeIEEE 802.15.4, Zigbee 3.0 end-device
ThreadIPv6-based mesh networking (Thread 1.3)

Comparison with Standard CYD​

FeatureStandard CYD (ESP32)NM-CYD-C5
Wi-Fi Band2.4 GHz2.4 + 5 GHz
Wi-Fi Standard802.11 b/g/n802.11ax (Wi-Fi 6)
ZigbeeNot supportedZigbee 3.0
ThreadNot supportedThread 1.3
Flash4 MB16 MB
PSRAMNone8 MB

Comparison

Hardware Versions​

  • NM-CYD-C5 (standard) — on-board antenna, fully compatible with the standard CYD form factor.
  • NM-CYD-C5-Colorful-Ant — external-antenna version based on the Colorful special edition. It adds an IPEX 1 connector with a dual-band 2.4 GHz / 5 GHz antenna (peak gain 3.2 / 3.7 dBi AVG) for better Wi-Fi and BLE reception, suitable for users with higher wireless-performance requirements. The enclosure 3MF files are open-sourced in the NM-CYD-C5 repository.

NM-CYD-C5 Colorful Antenna

Pinout​

SPI Bus (Shared by Display, Touch, and SD Card)​

DeviceSCKMISOMOSICS
Display (ST7789)GPIO 6GPIO 2GPIO 7GPIO 23
Touch (XPT2046)GPIO 6GPIO 2GPIO 7GPIO 1
SD CardGPIO 6GPIO 2GPIO 7GPIO 10

Pinout

LP-UART (P5) — GPS Module​

SignalPin
RXGPIO 4
TXGPIO 5

I2C Connector (CN1)​

Pin 1Pin 2Pin 3Pin 4
3.3VIO 9IO 8GND

Note: IO8 and IO9 are pulled up on the board via R32 and R33 — keep this in mind when connecting external I2C devices.

Extension IO (P1)​

Pin 1Pin 2Pin 3Pin 4
IO 4IO 8IO 26GND

12-Pin FPC Connector (FPC2)​

123456789101112
IO 2IO 6IO 7IO 10GNDIO 4IO 8IO 5IO 9USB D-USB D+GND

WS2812 RGB LED & LCD Backlight​

FunctionPin
LCD BacklightGPIO 25
WS2812 RGB LEDGPIO 27

Quick Start​

Add the following to your platformio.ini:

[env:nm-cyd-c5]
platform = https://github.com/pioarduino/platform-espressif32/releases/download/55.03.36/platform-espressif32.zip
board = esp32-c5-devkitc-1
framework = arduino

TFT_eSPI Setup​

When using TFT_eSPI with the LCD, add the TFT_eSPI_ESP32_C5.c/h files to the Processors folder and update TFT_eSPI.c/h with CONFIG_IDF_TARGET_ESP32C5. These files can be found in the Demos/Arduino/libraries/TFT_eSPI directory of the NM-CYD-C5 repository.

If the colors appear inverted when using Arduino/TFT_eSPI, add the following defines to your TFT_eSPI setup (see issue #3):

#define TFT_INVERSION_OFF
#define TFT_RGB_ORDER TFT_BGR

MicroPython​

esptool.py --chip esp32c5 --port COM3 erase_flash
esptool.py --chip esp32c5 --port COM3 --baud 460800 write_flash -z 0x1000 firmware.bin
mpremote connect COM3 repl

Supported Projects​

Projects in Progress​

Supported Projects

Firmware Flashing​

If you just want to flash firmware, try:

Where to Buy​

Resources​