ESP32 CYD Bluetooth Music Player Page


Home                               Craigs Pages                               Heathers Pages

December 19, 2024

Recently a new ESP32 module with LCD touch screen display and other associated hardware has come upon the scene. It has been termed the Cheap, Yellow Display or CYD and I bought a couple of them for about $12 each. It turns out this is a very capable module which can be used for many purposes. I have written code previously to make the CYD into a weather station,  a GPS and now a Bluetooth MP3 music player. The only other thing needed for the music player project is an SD card large enough to contain the music you want to listen to.

Music available on the music player is managed using FTP. During the Remote Access operation you can add artists, albums/CDs and songs to the player without having to physically connect to it.



Here is the finished CYD music player in operation.

When power is first applied a welcome screen is displayed. After a short delay, the screen changes to the Operations screen shown below.

This is the Operations screen. From here you can choose Bluetooth to pair with a playback device, select one of three song playing modes or opt for remote access.

You scroll through the options with the on screen controls and touch the Sel button to make a selection. The Back button does nothing from this screen as there is nothing to go back to.

Normally, the first operation to perform is to select a Bluetooth device to pair with. After pairing, the Operations screen will again be presented.

Next, the song playing mode needs to be selected.

After song mode selection a list of artists is presented. In this case only two artists are available (that have music on the SD card). You would normally select an artists for playback.

Once an artist is selected (in this case the artist is me) a list of albums/CDs is presented for selection. From this screen you would typically select an album/CD you want to play songs from.

Remember you can always back out of a selection using the Back button.

After an album/CD has been selected, all of the songs from that album/CD are displayed. Scroll to where you want playback to begin and touch the Sel button to start the music.

The music is now playing. You can touch + to advance to the next song, - to backup to a previous song or touch Back to go back to song selection.

After a short period of music playback the screen will blank. Touching the screen anywhere will bring it back. Also, the screen will come back on every time playback of a new song is started.

If you touch Sel now playback will stop and you will be presented with the Action screen shown below.

Here you can change the volume of playback or turn song looping on and off. If looping is selected the current song will play over and over until looping is turned off. Touch Sel to return to song playback.

Here is a picture of the enclosure when you can see the access hole for the USB power cable.

Here is a picture of the back of the music player for posterity.

Further information, Arduino code and Lightburn files for this project available here.

If you are interested in listening to my recently recorded music click here. Listening to my personal recordings is one of the motivations for developing this music player. Using the looping mode I can listen carefully to new recordings to pick out problems that need to be corrected in the final mixes. Very handy.

Questions and comments to me Craig at: calhjh@gmail.com


Home                               Craigs Pages                               Heathers Pages