Skip to content
MCU Atlas

ShuffleCYD: a Cheap Yellow Display MP3 player with Bluetooth

Build a Cheap Yellow Display MP3 player: Bluetooth music from a microSD card, touch album browser and a spectrum visualizer - no wiring, a beginner build.

Difficulty:BeginnerSource available

What it is

An iPod-shuffle-style Bluetooth music player on the Cheap Yellow Display: pick albums on the touch screen, hear them on any Bluetooth speaker.

What you need

How hard

Beginner: no wiring or soldering. Install four Arduino libraries, copy one config file, flash, pair.

Key Facts

  • Runs on the 2.8in ESP32-2432S028R Cheap Yellow Display: ILI9341 240x320 screen, XPT2046 resistive touch and a microSD slot - no wiring, no soldering, no extra boards
  • Plays MP3 and WAV files from a FAT32 microSD card and streams them over Bluetooth A2DP to any speaker or headphones; the onboard speaker amp is not used
  • Firmware compile-verified by MCU Atlas on 2026-11-14: TFT_eSPI 2.5.43, ESP8266Audio 2.4.1, ESP32-A2DP v1.8.12, XPT2046_Touchscreen 1.4 on the arduino-esp32 3.3.12 core - 1,287,277 bytes, 40 percent of the required Huge APP 3MB partition
  • One User_Setup.h covers all three known CYD screen-driver variants (ILI9341, alternate ILI9341 and ST7789 for the dual-USB revision) - you switch one line to match your board
  • Free and open source under GPLv3 (the LICENSE file; the README's license section says MIT, the file wins)

Which variant do you have?

One model number, several screen revisions. The ESP32-2432S028R ships with at least three display-driver variants: most classic single-micro-USB boards use an ILI9341 panel, some single-port units carry an alternate ILI9341 init sequence, and newer USB-C revisions use ST7789 (the USB-C plus micro-USB dual-port board). Before you buy: count the USB ports. One micro-USB port means the classic ILI9341 build; a USB-C port means a newer revision. After it arrives: if the screen stays white with ILI9341_DRIVER enabled, change the single driver line in the maker's User_Setup.h - ILI9341_2_DRIVER for the alternate single-port panel, ST7789_2_DRIVER for dual-USB boards - and reflash. A TFT identifier (readID) sketch, not the marketplace listing, is the source of truth for which panel you actually hold.

About This Project

ShuffleCYD turns the ESP32-2432S028R Cheap Yellow Display into a pocket music player with an iPod Shuffle soul. Your music lives on a FAT32 microSD card, the touch screen browses it by album folder, and the sound streams over Bluetooth to any speaker or headphones — howtogeek's Cheap Yellow Display round-up picked it as the build for anyone who misses owning their music instead of renting it. The two-level browser lists album folders and their tracks, with an All Tracks entry that spans everything on the card. While a song plays you get an eight-band spectrum analyzer with peak hold, a progress bar, a touch volume slider and three shuffle modes: off, all tracks, or within the current album. Track changes are near-gapless, the BOOT button turns the screen off for pocket carrying, and the same repo carries an audiobook-focused variant sketch. There is nothing to wire and nothing to solder: music goes in on the board's own microSD slot, sound comes out over the board's Bluetooth radio, and power arrives over USB. The maker's full parts list is the board, a card, and a Bluetooth speaker. We compiled the maker's current source (commit a52db5c) with TFT_eSPI 2.5.43, ESP8266Audio 2.4.1, ESP32-A2DP v1.8.12 and XPT2046_Touchscreen 1.4 on the Arduino-ESP32 3.3.12 core: it builds clean at 1,287,277 bytes, about 40 percent of the Huge APP 3 MB partition the project requires, and the maker's User_Setup.h ships the complete CYD pin map. The board's one catch is variants: the same model number ships with three screen drivers, and one config line picks the right one (the callout below explains how to tell). New to this board? The Cheap Yellow Display first-project walkthrough flashes the same screen from scratch, and our Home Assistant control panel build drives lights and sensors from the same hardware with ESPHome YAML instead of Arduino C++.

Source & Attribution

ShuffleCYD: a Cheap Yellow Display MP3 player with Bluetooth

Illustration

How to Build It

Install four Arduino libraries, copy one config file, flash the CYD, pair a speaker - and your microSD card becomes a touch-screen Bluetooth music player.

Parts Needed

  • ESP32-2432S028R 2.8in Cheap Yellow Display (any of the three screen variants)
  • microSD card, FAT32
  • USB data cable
  • Bluetooth speaker or headphones
  • Computer with Arduino IDE

Steps

  1. 1

    Check what you have

    You need the 2.8in ESP32-2432S028R Cheap Yellow Display, a microSD card you can format as FAT32, a USB data cable and any Bluetooth speaker or headphones. Not sure which CYD you own? Count the USB ports: one micro-USB is the classic board, a USB-C port means a newer screen revision - both work, step 5 covers the difference.

  2. 2

    Install Arduino IDE and ESP32 support

    Install the Arduino IDE, open Boards Manager and install the esp32 package by Espressif Systems. We verified this build on core version 3.3.12. Under Tools, set Board to ESP32 Dev Module.

  3. 3

    Install the four libraries

    In Library Manager, install: ESP8266Audio by Earle Philhower (we used 2.4.1), TFT_eSPI by Bodmer (2.5.43) and XPT2046_Touchscreen by Paul Stoffregen (1.4). ESP32-A2DP by Phil Schatzmann (v1.8.12) is not always in the Library Manager index - if the search comes up empty, install it from its GitHub releases page (pschatzmann/ESP32-A2DP) as a ZIP.

  4. 4

    Copy the maker's User_Setup.h

    Download User_Setup.h from the project repo and copy it over the file of the same name inside your TFT_eSPI library folder (Documents/Arduino/libraries/TFT_eSPI/). It already carries the full CYD pin map: display on MOSI 13, clock 14, chip-select 15, DC 2, backlight 21, and the touch controller on the board's second SPI bus (32, 39, 25, CS 33, IRQ 36).

  5. 5

    Pick your screen driver

    In that User_Setup.h, exactly one driver line must be uncommented. Single micro-USB board: start with ILI9341_DRIVER - most units use it. Single port but the screen stays white: switch to ILI9341_2_DRIVER. USB-C plus micro-USB dual-port board: use ST7789_2_DRIVER. If colours look swapped, flip TFT_BGR to TFT_RGB; if they look like a negative, set INVERT_DISPLAY to true in the sketch.

  6. 6

    Set the board options

    Under Tools: Partition Scheme must be Huge APP (3MB No OTA/1MB SPIFFS) - the Bluetooth stack, MP3 decoder and display code do not fit the default partition. Upload Speed 921600 and Flash Frequency 80MHz match the maker's setup.

  7. 7

    Name your speaker

    Open ShuffleCYD.ino and set BT_SPEAKER_NAME to your speaker's exact name, case-sensitive - check it in your phone's Bluetooth settings. On modern builds the player can also scan and let you tap a speaker on screen; the saved one is remembered and auto-picked next boot.

  8. 8

    Load the SD card

    Format the card FAT32 and give each album its own folder - the browser turns every folder into an album, and loose files at the root appear under All Tracks. Files must be real MP3 or WAV: audio ripped from YouTube as AAC-in-an-MP3-container will skip instantly. Re-encode with ffmpeg -i input.mp3 -codec:a libmp3lame -b:a 128k output.mp3.

  9. 9

    Flash and pair

    Upload the sketch. Put your speaker into pairing mode (usually hold its Bluetooth button until the LED flashes) and disconnect it from your phone first - the CYD connects on its own and starts playing. The speaker name must match exactly, or nothing connects.

  10. 10

    Drive the player

    On the main screen: |<< and >>| change tracks, the centre button plays and pauses, SHF cycles the three shuffle modes, and the bottom slider sets volume. BROWSE opens the two-level album browser - tap an album, tap a track, and music keeps playing while you browse. The BOOT button turns the screen and touch off for pocket carrying.

  11. 11

    If something misbehaves

    White screen: the User_Setup.h copy or driver line is wrong (step 4-5). Songs skip instantly: files are AAC, not MP3 - re-encode (step 8). Partition error at upload: Huge APP not selected (step 6). No Bluetooth connection: speaker name must be exact and case-sensitive, speaker in pairing mode, and disconnected from your phone. Touch feels off by a few pixels: adjust the TS_MINX/TS_MAXX/TS_MINY/TS_MAXY calibration values in the sketch.

  12. 12

    Keep going

    Never flashed anything before the Cheap Yellow Display first-project walkthrough is the gentle on-ramp for this exact board. Want the same screen to run your house instead of your music? Our Home Assistant control panel build drives lights and sensors from the same hardware. And if radio, not files, is your thing, PhilRadio and CYD_InternetRadio in the comparison table above stream stations on this board.

Bill of Materials

Parts list

4 parts · 2 linked

Heads up: some Buy links are affiliate links. If you buy through one, MCU Atlas may earn a small commission at no extra cost to you. It never changes which parts we list. How this works

1× 2.8in CYD (ESP32-2432S028R)

2.8in ESP32-2432S028R only — the maker's config doesn't cover the 3.5in ESP32-3248S035

No verified link — check the original project
No verified link — check the original project

1× Bluetooth speaker or headphones

Download CSV

Community

Other community builds

The build this page covers is the walkthrough; other makers have taken the same idea in different directions. Here is how they compare.

BuildWhat it adds vs ShuffleCYDDifficultyKey parts
Internet radioPhilRadio (mogrikid)Internet radio instead of local files: streams stations over Wi-Fi, with a web page on your network to manage them and room inside an old radio caseBeginner-plus (maker's guide; you add a speaker, optionally a volume dial)2.8in CYD, speaker, optional potentiometer
Add-on hardwareCYD_InternetRadio (Carlo47)Web-radio GUI with station list, song metadata, volume slider and saved preferences; decodes through an external I2S DAC for cleaner line-outIntermediate (wires an I2S DAC module to the board)2.8in CYD, UDA1334A or MAX98357A I2S DAC

Swipe the table sideways to see the Difficulty and Key parts columns.

Which one should you try? Both alternatives trade local files for radio. PhilRadio needs no extra silicon - just a speaker on the board's audio output - while Carlo47's build adds an I2S DAC module for line-out quality and shows station metadata on screen.

Alternative repos checked 2026-11-14; features described are their makers' own documented ones.

Still choosing a board? The ESP32 hub rounds up more ESP32 projects, guides and parts.

Related Projects

yoRadio: ESP32 internet radio with dozens of display options
Illustration
ESP32
An ESP32 web radio that plays through an I2S DAC or VS1053 module, works with dozens of displays and has a web UI, MQTT and Home Assistant support.
Beginner·Code
4 parts listed
OWLOS Flight Radar: live plane radar on the Cheap Yellow Display
Illustration
ESP32
Turn a Cheap Yellow Display into a touch radar of the planes overhead: free community ADS-B feeds on OpenStreetMap, flashed from a web page.
Beginner·Code
3 parts listed
Cheap Yellow Display: community hub for the ESP32-2432S028 touchscreen
Illustration
ESP32
The Cheap Yellow Display is an ESP32 board with a built-in 2.8in resistive touchscreen — this community hub collects the pinouts, guides and example projects for it.
Beginner·Code
2 parts listed