An music player coded on the ESP32 microcontroller. Plays a playlist of songs through a piezoelectric buzzer, which has basic pause, play, next song, and previous song functionality implemented through switches.
This project was built using PlatformIO. Build using either of the following options:
- Install and set up PlatformIO IDE extension for VSCode
- Install PlatformIO CLI and run the following command:
pio run
Either flash the binary/elf files to a compatible ESP32 chip, or run the attached Wokwi simulator file. To run the simulator file, take the following steps:
- Install Wokwi for VSCode
- In VSCode, press
F1, run the command "Wowki: Select Config File" and select the project'swokwi.tomlfile - In VSCode, press
F1and run the command "Wowki: Start Simulator"
The code for playing the music (not including the pause/playlist features) and the files for the songs themselves are taken from https://github.com/robsoncouto/arduino-songs