This is a simple MP3 player demo example ready to be compiled inside the Arduino IDE for the Guiton JC3248W535 board. The GUI has be constructed using SquareLine Studio and LVGL.
- Load the the file Arduino/mp3_player/mp3_player.ino into the Arduino GUI
- Select in in menu Tools: Board: "ESPS3 Dev Module"
- Port:
- USB CDC On Boot: Enabled
- Flash Size: 16MB (128 Mb)
- PSRAM: OPI PSRAM
- Partition Scheme: "16M Flash (3MB APP/9.9MB FATFS)"
- Compile and burn the code - be patient, it took ~ 16 minutes on my machine. The Sketch used 1992559 bytes.
- Prepare an SD card with MP3 files - you can use the exmaples provided by manufacturer see SD_MMC
- Download and install SquareLine Studio 1.5.4
- Download and unpack Arduino_JC3248W535_LVGL9.4.zip from Github
- Copy the directory arduino_JC3248W535_1.0 to C:\Users<User>\SquareLine\boards\Arduino. See also https://docs.squareline.io/docs/obp/
- Create a new
- Copy the contents of the directory squareline_import to
- Run SquareLine Studio
- Import Open>Project from /mp3_player.spj
- Open project mp3_player
- Export>Create Template Project - select folder
- Export>Export UI files
- File>Save
- File>Exit
You will now find the new generated UI files ui_Main.c and ui_Main.h in /\mp3_player\UI_export. You can copy these files to \mp3_player\Arduino\mp3_player and recompile the Arduino sketch.


