CYD pinout

CYD, Cheap Yellow Display (Sunton ESP32-2432S028R, 2,8″), ESP32 (ESP32-D0WD), 3.3 V logic, 86×50 mm, 14 pins

partly verified20.10.2026

No GPIO tolerates 5 V, ADC2 doesn't work with Wi-Fi on, outlined: default in arduino-esp32 (ESP32 Dev Module), TFT_eSPI display.

Component side view (back of the display), ESP32 on the left, micro-USB on the right; the display is on the other side, rotated 90° on the diagram.

BuyCompareDownload PNG
Chip
ESP32 (ESP32-D0WD), ESP32-WROOM-32 (4 MB flash)
Logic
3.3 V
Power
Micro-USB 4.75-5.25 VVIN (P1 connector) 4.75-5.25 V
Defaults in arduino-esp32 (ESP32 Dev Module), TFT_eSPI display
UART: TX 1, RX 3

Which CYD pins are safe to use

Free to use

GPIO3, GPIO22

Use with care

  • GPIO1: signal at boot.
  • GPIO21: onboard peripherals are wired to them.
  • GPIO27: onboard pull-up or divider.
  • GPIO35: input only, no output and no pull-ups.

Important

  • 3.3 V logic, don't put 5 V on the GPIO.
  • Free on the connectors: GPIO22 (P3 and CN1), GPIO27 (CN1, 10 kΩ pull-up on the board), GPIO35 (P3, input only). GPIO21 on P3 controls the display backlight.
  • Arduino's default I2C is on GPIO21/22. GPIO21 is used by the backlight, so connect I2C sensors to CN1: Wire.begin(27, 22).
  • ILI9341 display on HSPI: SCK 14, MOSI 13, MISO 12, CS 15, DC 2, backlight 21. The display reset is tied to the board's EN.
  • XPT2046 touch: CLK 25, MOSI 32, MISO 39, CS 33, IRQ 36. microSD card: SS 5, SCK 18, MISO 19, MOSI 23 (VSPI).
  • The touch controller and the card are on different pins and share no bus: connect the touch controller with a separate SPIClass using its own pins, or with software SPI.
  • RGB LED on the back: red GPIO4, green GPIO16, blue GPIO17, lit when LOW. If you do not need the LED, you can reclaim these three GPIOs by desoldering it.
  • Photoresistor on the front side next to the display: GPIO34 via a 1 MΩ divider.
  • Speaker on P4: SC8002B amplifier, input from GPIO26 (DAC2).
  • TX and RX on P1 are connected to the CH340C: Serial is busy while USB is connected.
  • Used internally: GPIO2, 4, 5, 12-19, 21, 23, 25, 26, 32-34, 36, 39. GPIO0 is on the BOOT button.
  • Board connectors are Molex PicoBlade 1.25 mm (sold as "MX1.25"); the schematic lists P4 as PH 2.0.
  • Connector and component positions were measured from the Sunton drawing (±0.5 mm).
  • Two AMS1117-3.3 regulators: one powers the ESP32, the other powers the display, touch controller, card, CH340C, amplifier and the 3.3V pin on CN1.
  • Sunton spec: current about 115 mA.

Revisions and clones

  • Version with two USB ports (micro-USB and USB-C, "CYD2USB"): ST7789 display, colors inverted, needs its own TFT_eSPI setup. USB-C has no CC resistors: it does not work with a USB-C to USB-C cable, use a cable from USB-A.
  • Sunton V0.1 schematic (2022): CN1 pin 3 is unconnected, labeled "NC". On boards from reviews it is GPIO22.
  • ESP32-2432S024, ESP32-3248S035 and similar yellow boards with a display: different pins, these are different boards.

All pins

LabelNumberFunctionsLimitsCheck
IO21GPIO21, pin 1interruptPWM (LEDC)I2C SDAnot 5 V tolerantused by onboard peripherals (camera, card, display)verified
IO22GPIO22, pin 2interruptPWM (LEDC)I2C SCLnot 5 V tolerantverified
IO35GPIO35, pin 3interruptADC1_CH7RTC_GPIO5input onlynot 5 V tolerantverified
GNDpin 4Groundverified
3.3Vpin 13.3 Vpower outputverified
IO27GPIO27, pin 2interruptPWM (LEDC)ADC2_CH7TOUCH7RTC_GPIO17ADC2 doesn't work with Wi-Fi onnot 5 V tolerantonboard pull-upverified
IO22GPIO22, pin 3interruptPWM (LEDC)I2C SCLnot 5 V tolerantnot from manufacturer
GNDpin 4Groundverified
VINpin 15 Vpower inputpower outputverified
TXGPIO1, pin 2interruptPWM (LEDC)UART0 TXoutputs a signal at bootnot 5 V tolerantverified
RXGPIO3, pin 3interruptPWM (LEDC)UART0 RXnot 5 V tolerantverified
GNDpin 4Groundverified
VO1pin 1SC8002B amplifier output (VO1)not from manufacturer
VO2pin 2SC8002B amplifier output (VO2)not from manufacturer

Sources

Not verified against the manufacturer: 3 of 14 pins. The pin card says what confirms each one and where sources disagree.

Size: 50×86 mm per the Sunton spec and dimension drawing; holes 4 mm from the edges.

FAQ

Which CYD pins are I2C, SPI and UART?
By default in arduino-esp32 (ESP32 Dev Module), TFT_eSPI display: UART: TX GPIO1, RX GPIO3.
Are the CYD pins 5 V tolerant?
No. The logic is 3.3 V and the pins are not 5 V tolerant: use a divider or a level shifter for 5 V signals.
Does ADC2 on the CYD work with Wi-Fi on?
No. ADC2 pins (GPIO27) can't read analog while Wi-Fi is on. With Wi-Fi, use GPIO35 for the ADC.

You might also need

Similar boards

Next

Need firmware or a device built on ESP32? I'll build it to order