Cheap Yellow Display: what is on the ESP32-2432S028R, which pins are free and 8 projects

The ESP32-2432S028R puts an ESP32, a 2.8-inch touchscreen, an RGB LED, a light sensor, a speaker connector and a microSD slot on one yellow board. Here is what is on it, the three pins left free and eight builds to start from.

Published

Cheap Yellow Display: what is on the ESP32-2432S028R, which pins are free and 8 projects
On this page

The Cheap Yellow Display is the ESP32-2432S028R: a yellow board, 50 × 86 mm, with an ESP32 behind a 2.8-inch touchscreen. The nickname comes from the open-source CYD documentation repo on GitHub, whose author decided the part number didn't roll off the tongue.

Plug in a micro USB cable and you have Wi-Fi, Bluetooth, a 320 × 240 color screen, a resistive touch panel, an RGB LED, a light sensor, a speaker connector and a microSD slot. Nothing to wire. The catch is pins: the screen, touch panel and SD slot take most of them, and three are left for you.

What is on the board

PartWhat it is
ChipESP32-WROOM-32 module: dual-core, up to 240 MHz, 520 KB SRAM, 4 MB flash
RadiosWi-Fi and Bluetooth
Screen2.8-inch TFT, ILI9341 driver, 320 × 240, 65K colors
TouchResistive, read by an XPT2046 controller
ExtrasRGB LED, light sensor (LDR), speaker connector with amplifier, microSD slot
USBMicro USB through a CH340 USB-to-serial chip
Power5V over USB, about 115 mA

Specs from the vendor's ESP32-2432S028R spec sheet and the pin notes in the CYD repo.

Resistive touch senses pressure, so a stylus or a fingernail works. If the board doesn't show up when you plug it in, your computer may need a driver for the CH340 chip.

Check the number on the back. A lookalike is also labeled ESP32-2432S028 but has two USB ports, micro USB and USB-C. Its colors come out inverted, and its USB-C port has no CC resistors, so a USB-C to USB-C cable won't work. If your computer only has USB-C ports, go through a USB-C to USB-A adapter. Similar boards with other screen sizes aren't CYDs at all.

Which pins are free

Used byPins
ScreenIO2 DC, IO12 MISO, IO13 MOSI, IO14 SCK, IO15 CS, IO21 backlight
Touch (XPT2046)IO25 CLK, IO32 MOSI, IO33 CS, IO36 IRQ, IO39 MISO
microSDIO5 CS, IO18 SCK, IO19 MISO, IO23 MOSI
RGB LEDIO4 red, IO16 green, IO17 blue (LOW turns it on)
Light sensorIO34
Speaker ampIO26
BOOT buttonIO0, readable as an input
FreeIO22, IO27, IO35 (input only)

The spare pins come out on small 4-pin connectors, 1.25 mm Molex PicoBlade (often sold as "1.25 mm JST"):

  • CN1: GND, IO22, IO27, 3.3V. Use this one for an I2C sensor or a single data wire.
  • P3: GND, IO35, IO22, IO21. IO21 is the backlight, so leave it alone. IO35 can only read: per the Espressif ESP32 datasheet, GPIO34 to 39 are inputs with no internal pull-up or pull-down.
  • P1: VIN, TX (IO1), RX (IO3), GND. The serial port. The GPS build below wires its module here.

Need more than that? The repo suggests an SD card sniffer board on the microSD slot, or giving up the RGB LED pins.

Cheap Yellow Display projects

Each of these runs on the ESP32-2432S028R, and each page has the build steps and the full firmware. More ESP32 builds are in the ESP32 projects gallery, and ESP32 display projects compares the CYD with other ESP32 screens.

Touchscreen chess

Schematik's touchscreen chess guide draws an 8 × 8 board. You tap a piece with the stylus that comes with the board, it shows the legal moves, and Black answers using a minimax search with alpha-beta pruning, running on the ESP32 itself. The guide is marked advanced and takes 45 minutes. The build diary tells how it came together.

Schematik's build video of the touchscreen chess game on a Cheap Yellow Display.

ESP32 flight radar tracker

Karl Beyer's ESP32 Flight Radar Tracker uses the board as it comes, with no extra wires. It joins your Wi-Fi, pulls live aircraft from ADSB.lol and draws each plane on a radar with its bearing, distance, altitude and callsign. You set the center point as a latitude and longitude in the firmware.

Karl Beyer's flight radar on a Cheap Yellow Display: green range rings with nine labeled aircraft such as DAL636 and N293LA, and a side panel reading RADAR, LIVE and 9 targets.

CYD Desk Buddy with a DHT11

James Blank (Jiffybytes) built the CYD Desk Buddy! with DHT11. It shows the time, a weather forecast, astronomy data and the temperature and humidity at your desk. The only wiring is a DHT11 sensor: VCC to 3V3, GND to GND and DATA to IO27, the free pin on CN1. More one-job screens are in ESP32 desk buddy ideas.

GPS speedometer

Utku Kahraman's GPS Speedometer adds a NEO-6M GPS module over four wires: VCC to 3V3, GND to GND, GPS TX to IO3 and GPS RX to IO1, the serial pins the board brings out on P1. The screen reads SEARCHING until it gets a satellite fix, then LOCKED. After that it shows your speed in km/h and your top speed.

Spotify remote

Alfian Nurhuda's ESP32 Spotify Player needs only the board. On-screen PLAY, PAUSE, VOL - and VOL + buttons control a Spotify Premium account playing on your phone or computer, and volume moves in 10 percent steps. You paste a Spotify access token into the firmware.

Gas and brake racer

In danieliusmlynovskij's Touchscreen Gas Brake Racer, you hold GAS in the lower right or BRAKE in the lower left, and touch either side of the road to steer around a red car.

Touchscreen piano

Pakorn Koomtritong's Touchscreen Speaker Controller is a piano that plays through the small speaker on the board's speaker connector, driven from IO26. It has three modes: Free Style Piano with seven colored keys, Tutorial with three easy songs, and Play Songs with ten songs that play themselves.

microSD to NAS sync

Gian Luca Battini's project, written in Italian, copies files from a FAT32 microSD card to a WebDAV folder, such as one on a NAS, over Wi-Fi. On first boot you join the board's SD-WebDAV-Setup network and open 192.168.4.1 to enter your Wi-Fi and server. Then you tap the big button in the middle of the screen to sync.

Start your own

Open Schematik and paste this:

I have a Cheap Yellow Display (ESP32-2432S028R). Make a touchscreen kitchen timer: three big buttons for 5, 10 and 15 minutes, a countdown in the middle, the RGB LED turns red when time is up and the speaker beeps.

Everything it uses is on the board already: the touchscreen, the RGB LED and the speaker amplifier. No board on your desk yet? The simulator runs Cheap Yellow Display projects in your browser: open one, pick Preview and press Run.

Keep building from here

Jump into a step-by-step build, or open Schematik and turn your own idea into code, wiring, and assembly instructions.