This is an old revision of the document!
My project represents an MP3 player with a display that shows the current song playing.
The project can read the MP3 files in the SD card, and can pause and play the same as the device 10 years ago. And also it has previous song and next song function.
My aim is to make something simple and efficient while also including and adapting it to current standards.
My project uses an Arduino Uno board as its base connected to an oled display showing the current song playing, 3 buttons to use for its functions, an internal speaker and an sd card reader for reading the .mp3 files off of it.
List of Parts:
This code is written for an Arduino board to control an MP3 module and display song information on an LCD screen. Here's a breakdown of the code:
1. Initialization: * The LCD display will initialize and show "Duration:" on the first line and "Remaining:" on the second line. * Serial communication will be established with the MP3 module. * The button pins will be configured as inputs with pull-up resistors.
2. Playback Control: * If you press the pause button (buttonPause), it will toggle the playback state between play and pause. The LCD display will not update with the song duration or remaining duration. * If you press the next button (buttonNext) while playing a track, it will play the next track. The LCD display will not update with the song duration or remaining duration. * If you press the previous button (buttonPrevious) while playing a track, it will play the previous track. The LCD display will not update with the song duration or remaining duration.
3. Song Duration Display: * The getSongDuration() function is called in the loop() function, but it is currently commented out (//getSongDuration();). Therefore, the song duration and remaining duration will not be displayed on the LCD screen.
Fişierele se încarcă pe wiki folosind facilitatea Add Images or other files. Namespace-ul în care se încarcă fişierele este de tipul :pm:prj20??:c? sau :pm:prj20??:c?:nume_student (dacă este cazul). Exemplu: Dumitru Alin, 331CC → :pm:prj2009:cc:dumitru_alin.