This shows you the differences between two versions of the page.
pm:prj2023:avaduva:portable_music_player [2023/05/20 10:45] traian.constantin01 Finished documentation |
pm:prj2023:avaduva:portable_music_player [2023/05/20 13:18] (current) traian.constantin01 blank |
||
---|---|---|---|
Line 17: | Line 17: | ||
The LCD Display will show information such as the current track. The buttons can be used to play/pause and navigate, as well as increase/decrease the volume. The audio is outputted to two stereo speakers (powered by an amplifier). | The LCD Display will show information such as the current track. The buttons can be used to play/pause and navigate, as well as increase/decrease the volume. The audio is outputted to two stereo speakers (powered by an amplifier). | ||
- | {{:pm:prj2023:avaduva:pmp_block_diagram.png?1000}} | + | {{:pm:prj2023:avaduva:pmp_block_diagram.png?600}} |
Line 39: | Line 39: | ||
==== Schematic ==== | ==== Schematic ==== | ||
- | {{:pm:prj2023:avaduva:pmp_circuit_schematic.png?1000}} | + | {{:pm:prj2023:avaduva:pmp_circuit_schematic.png?800}} |
<note> | <note> | ||
Line 49: | Line 49: | ||
Breadboard test designs for the screen, DFPlayer, as well as testing the complete functionality using earphones: | Breadboard test designs for the screen, DFPlayer, as well as testing the complete functionality using earphones: | ||
- | {{:pm:prj2023:avaduva:pmp_proto_screen.jpg?300}} | + | {{:pm:prj2023:avaduva:pmp_proto_screen.jpg?250}} |
- | {{:pm:prj2023:avaduva:pmp_proto_dfplayer.jpg?300}} | + | {{:pm:prj2023:avaduva:pmp_proto_dfplayer.jpg?250}} |
- | {{:pm:prj2023:avaduva:pmp_proto_final.jpg?300}} | + | {{:pm:prj2023:avaduva:pmp_proto_final.jpg?250}} |
==== Soldered PCBs ==== | ==== Soldered PCBs ==== | ||
Line 62: | Line 62: | ||
=== Sound & Power board: front and back === | === Sound & Power board: front and back === | ||
- | {{:pm:prj2023:avaduva:pmp_soldered_spboard_front.jpg?500}} | + | {{:pm:prj2023:avaduva:pmp_soldered_spboard_front.jpg?300}} |
- | {{:pm:prj2023:avaduva:pmp_soldered_spboard_back.jpg?500}} | + | {{:pm:prj2023:avaduva:pmp_soldered_spboard_back.jpg?300}} |
=== Front Panel board: front and back === | === Front Panel board: front and back === | ||
- | {{:pm:prj2023:avaduva:pmp_soldered_fpboard_front.jpg?500}} | + | {{:pm:prj2023:avaduva:pmp_soldered_fpboard_front.jpg?300}} |
- | {{:pm:prj2023:avaduva:pmp_soldered_fpboard_back.jpg?500}} | + | {{:pm:prj2023:avaduva:pmp_soldered_fpboard_back.jpg?300}} |
<note> | <note> | ||
Line 98: | Line 98: | ||
It is to be noted, however, that the files and folders need not be named to 01, 002 etc., as the DFPlayer orders them according to the date and time that they were written to the microSD card. | It is to be noted, however, that the files and folders need not be named to 01, 002 etc., as the DFPlayer orders them according to the date and time that they were written to the microSD card. | ||
- | The DFPlayer is also able to read up to 255 files inside 99 folders - however, the small 2kB EEPROM of the ATMEGA328p is not able to even initialize that large of a multidimensional array; the memory of the "file system" was restricted to holding 4 folders of 16 files. | + | The DFPlayer is also able to read up to 255 files inside 99 folders - however, the small 2kB SRAM of the ATmega328p is not able to even initialize that large of a multidimensional array; the memory of the "file system" was restricted to holding 4 folders of 16 files. |
==== The interface screens ==== | ==== The interface screens ==== | ||
Line 158: | Line 158: | ||
===== Results ===== | ===== Results ===== | ||
- | Functionality demonstration video: | + | [[https://drive.google.com/file/d/1joZeevAr_gyqutyce6VV8bztFbj1lMqA/view|Functionality demonstration video]] |
- | https://drive.google.com/file/d/1NI7RKp9R96YEz5JW6wxt6RAoxwxp4zR9/view | + | |
==== Front view ==== | ==== Front view ==== | ||
- | {{:pm:prj2023:avaduva:pmp_angle_1.jpg?1000}} | + | {{:pm:prj2023:avaduva:pmp_angle_1.jpg?500}} |
==== Back view ==== | ==== Back view ==== | ||
- | {{:pm:prj2023:avaduva:pmp_angle_2.jpg?1000}} | + | {{:pm:prj2023:avaduva:pmp_angle_2.jpg?500}} |
- | {{:pm:prj2023:avaduva:pmp_angle_3.jpg?1000}} | + | {{:pm:prj2023:avaduva:pmp_angle_3.jpg?500}} |
Line 172: | Line 171: | ||
===== Conclusions ===== | ===== Conclusions ===== | ||
- | There are many improvements that can potentially be made to the design, for example: the addition of an EEPROM memory module to expand the capacity of the files; an automated script for copying songs in sync from the PC to both the EEPROM and the microSD card; | + | There are many improvements that can potentially be made to the design, for example: the addition of an EEPROM memory module to expand the capacity of the files; an automated script for copying songs in sync from the PC to both the EEPROM and the microSD card. |
However, I feel that the scope of the project has been fulfilled and that it demonstrates the capabilities of the Arduino in being used for the implementation of a Portable Music Player. | However, I feel that the scope of the project has been fulfilled and that it demonstrates the capabilities of the Arduino in being used for the implementation of a Portable Music Player. | ||
Line 179: | Line 179: | ||
===== Download ===== | ===== Download ===== | ||
- | Archive: [[https://ocw.cs.pub.ro/courses/_media/pm/prj2023/avaduva/pmp.zip]] | + | Archive: {{:pm:prj2023:avaduva:pmp.zip}} |
+ | |||
+ | PDF: {{:pm:prj2023:avaduva:portable_music_player.pdf}} | ||
+ | |||
Line 191: | Line 195: | ||
Study materials: | Study materials: | ||
+ | * [[https://wiki.dfrobot.com/DFPlayer_Mini_SKU_DFR0299|DFPlayer Mini wiki]] | ||
+ | * [[https://ww1.microchip.com/downloads/en/DeviceDoc/Atmel-7810-Automotive-Microcontrollers-ATmega328P_Datasheet.pdf|ATmega328P Datasheet]] | ||
* [[http://www.goodliffe.org.uk/arduino/mp3player.php|Arduino mp3 player with similar functionality but different components]] | * [[http://www.goodliffe.org.uk/arduino/mp3player.php|Arduino mp3 player with similar functionality but different components]] | ||
* [[https://electronicslovers.com/2018/01/interface-dfplayer-mini-mp3-module-with-arduino.html|About using the DFPlayer commands]] | * [[https://electronicslovers.com/2018/01/interface-dfplayer-mini-mp3-module-with-arduino.html|About using the DFPlayer commands]] |