{"id":4571,"date":"2025-10-22T09:37:00","date_gmt":"2025-10-22T16:37:00","guid":{"rendered":"https:\/\/www.donluc.com\/?p=4571"},"modified":"2025-10-22T09:37:00","modified_gmt":"2025-10-22T16:37:00","slug":"project-16-sound-mini-mp3-player-mk26","status":"publish","type":"post","link":"https:\/\/www.donluc.com\/?p=4571","title":{"rendered":"Project #16: Sound \u2013 Mini MP3 Player \u2013 Mk26"},"content":{"rendered":"<div style=\"width: 1200px;\" class=\"wp-video\"><video class=\"wp-video-shortcode\" id=\"video-4571-1\" width=\"1200\" height=\"675\" preload=\"metadata\" controls=\"controls\"><source type=\"video\/mp4\" src=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2025\/10\/Dl2510mk02wa.mp4?_=1\" \/><a href=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2025\/10\/Dl2510mk02wa.mp4\">https:\/\/www.donluc.com\/wp-content\/uploads\/2025\/10\/Dl2510mk02wa.mp4<\/a><\/video><\/div>\n<p>&#8212;&#8212;<\/p>\n<p>#DonLucElectronics #DonLuc #MiniMP3Player #IoT #Project #Fritzing #Programming #Electronics #Microcontrollers #Consultant<\/p>\n<p>&#8212;&#8212;<\/p>\n<p><a href=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2025\/10\/DL2510Mk02a.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2025\/10\/DL2510Mk02a.jpg\" alt=\"Mini MP3 Player\" width=\"720\" height=\"550\" class=\"alignnone size-full wp-image-4573\" srcset=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2025\/10\/DL2510Mk02a.jpg 720w, https:\/\/www.donluc.com\/wp-content\/uploads\/2025\/10\/DL2510Mk02a-300x229.jpg 300w\" sizes=\"auto, (max-width: 720px) 100vw, 720px\" \/><\/a><\/p>\n<p>&#8212;&#8212;<\/p>\n<p><a href=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2025\/10\/DL2510Mk02b.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2025\/10\/DL2510Mk02b.jpg\" alt=\"Mini MP3 Player\" width=\"720\" height=\"480\" class=\"alignnone size-full wp-image-4574\" srcset=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2025\/10\/DL2510Mk02b.jpg 720w, https:\/\/www.donluc.com\/wp-content\/uploads\/2025\/10\/DL2510Mk02b-300x200.jpg 300w\" sizes=\"auto, (max-width: 720px) 100vw, 720px\" \/><\/a><\/p>\n<p>&#8212;&#8212;<\/p>\n<p><a href=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2025\/10\/DL2510Mk02c.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2025\/10\/DL2510Mk02c.jpg\" alt=\"Mini MP3 Player\" width=\"720\" height=\"480\" class=\"alignnone size-full wp-image-4575\" srcset=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2025\/10\/DL2510Mk02c.jpg 720w, https:\/\/www.donluc.com\/wp-content\/uploads\/2025\/10\/DL2510Mk02c-300x200.jpg 300w\" sizes=\"auto, (max-width: 720px) 100vw, 720px\" \/><\/a><\/p>\n<p>&#8212;&#8212;<\/p>\n<p><strong>Mini MP3 Player<\/strong><\/p>\n<p>Mini MP3 Player  is a compact and inexpensive MP3 module that can be connected directly to the speaker. The module can be used alone with a battery power supply, speaker, and keypad, or through the serial port control, as the Arduino UNO compatible board or any microcontroller with a serial port module. The module itself perfectly integrated hardware decodes MP3, WAV, and WMA&#8217;s. The software supports TF card drivers to support FAT16, FAT32 file systems. This can be done by the simple serial command that plays the specified music, as well as how to play music and other functions, easy to use, stable and reliable.<\/p>\n<p>Play next MP3 every 8 second.<\/p>\n<p>1.mp3 &#8211; William Shakespeare<br \/>\n2.mp3 &#8211; Albert Einstein<br \/>\n3.mp3 &#8211; Luc Paquin<br \/>\n4.mp3 &#8211; Carl Sagan<br \/>\n5.mp3 &#8211; Dalek<\/p>\n<p><strong>DL2510Mk02<\/strong><\/p>\n<p>1 x SparkFun RedBoard Qwiic<br \/>\n1 x Mini MP3 Player<br \/>\n1 x Speaker<br \/>\n1 x USB Battery Pack<br \/>\n1 x USB-A to Micro-B Cable<\/p>\n<p><strong>DL2510Mk02p<\/strong><\/p>\n<p><strong>DL2510Mk02p.ino<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"arduino\" data-enlighter-title=\"\">\r\n\/****** Don Luc Electronics \u00a9 ******\r\nSoftware Version Information\r\nProject #16: Sound \u2013 Mini MP3 Player \u2013 Mk26\r\n16-26\r\nDL2509Mk02p.ino\r\nDL2509Mk02\r\n1 x SparkFun RedBoard Qwiic\r\n1 x Mini MP3 Player\r\n1 x Speaker\r\n1 x USB Battery Pack\r\n1 x USB-A to Micro-B Cable\r\n*\/\r\n\r\n\/\/ Include the Library Code\r\n\/\/ EEPROM Library to Read and Write EEPROM\r\n\/\/ with Unique ID for Unit\r\n#include &quot;EEPROM.h&quot;\r\n\/\/ Arduino\r\n#include &quot;Arduino.h&quot;\r\n\/\/ Software Serial\r\n#include &quot;SoftwareSerial.h&quot;\r\n\/\/ DFRobot DFPlayer Mini\r\n#include &quot;DFRobotDFPlayerMini.h&quot;\r\n\r\n\/\/ Software Serial RX, TX\r\nSoftwareSerial mySoftwareSerial(10, 11);\r\n\/\/ DFRobot DFPlayer Mini\r\nDFRobotDFPlayerMini myDFPlayer;\r\n\r\n\/\/ EEPROM Unique ID Information\r\nString uid = &quot;&quot;;\r\n\r\n\/\/ Software Version Information\r\nString sver = &quot;16-26&quot;;\r\n\r\nvoid loop() {\r\n  \r\n  \/\/ isMP3\r\n  isMP3();\r\n\r\n}\r\n<\/pre>\n<p><strong>getEEPROM.ino<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"arduino\" data-enlighter-title=\"\">\r\n\/\/ EEPROM\r\n\/\/ isUID EEPROM Unique ID\r\nvoid isUID() {\r\n  \r\n  \/\/ Is Unit ID\r\n  uid = &quot;&quot;;\r\n  for (int x = 0; x &lt; 7; x++)\r\n  {\r\n    uid = uid + char(EEPROM.read(x));\r\n  }\r\n\r\n}\r\n<\/pre>\n<p><strong>getMiniMP3.ino<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"arduino\" data-enlighter-title=\"\">\r\n\/\/ Mini MP3\r\n\/\/ isSetupMP3\r\nvoid isSetupMP3(){\r\n\r\n  \/\/ Mini MP3\r\n  myDFPlayer.begin(mySoftwareSerial);\r\n  \r\n  \/\/ Set volume value. From 0 to 30\r\n  myDFPlayer.volume(20);\r\n  \r\n  \/\/ Play the first MP3\r\n  myDFPlayer.play(1);\r\n  \r\n}\r\n\/\/ isMP3\r\nvoid isMP3(){\r\n  \r\n  \/\/ Timer\r\n  static unsigned long timer = millis();\r\n  \r\n  \/\/ isMp3\r\n  if (millis() - timer &gt; 8000) {\r\n    \r\n    \/\/ Time\r\n    timer = millis();\r\n    \r\n    \/\/ Play next mp3 every 8 second\r\n    myDFPlayer.next();\r\n\r\n  }\r\n\r\n  myDFPlayer.available();\r\n  \r\n}\r\n<\/pre>\n<p><strong>setup.ino<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"arduino\" data-enlighter-title=\"\">\r\n\/\/ Setup\r\nvoid setup()\r\n{\r\n \r\n  \/\/ Delay\r\n  delay( 100 );\r\n\r\n  \/\/ EEPROM Unique ID\r\n  isUID();\r\n\r\n  \/\/ Delay\r\n  delay( 100 );\r\n\r\n  \/\/ Software Serial\r\n  mySoftwareSerial.begin(9600);\r\n\r\n  \/\/ Delay\r\n  delay( 100 );\r\n\r\n  \/\/ isSetupMP3\r\n  isSetupMP3();\r\n    \r\n  \/\/ Delay 1 Second\r\n  delay( 1000 );\r\n\r\n}\r\n<\/pre>\n<p>&#8212;&#8212;<\/p>\n<p><strong>People can contact us:<\/strong> https:\/\/www.donluc.com\/?page_id=1927<\/p>\n<p><strong>Consultant, R&#038;D, Electronics, IoT, Teacher and Instructor<\/strong><\/p>\n<ul>\n<li>Programming Language<\/li>\n<li>Single-Board Microcontrollers (PIC, Arduino, Raspberry Pi, Arm, Silicon Labs, Espressif, Etc&#8230;)<\/li>\n<li>IoT<\/li>\n<li>Wireless (Radio Frequency, Bluetooth, WiFi, Etc&#8230;)<\/li>\n<li>Robotics<\/li>\n<li>Automation<\/li>\n<li>Camera and Video Capture Receiver Stationary, Wheel\/Tank , Underwater and UAV Vehicle<\/li>\n<li>Unmanned Vehicles Terrestrial,  Marine and UAV<\/li>\n<li>Machine Learning<\/li>\n<li>Artificial Intelligence (AI)<\/li>\n<li>RTOS<\/li>\n<li>Sensors, eHealth Sensors, Biosensor, and Biometric<\/li>\n<li>Research &#038; Development (R &#038; D)<\/li>\n<li>Consulting<\/li>\n<\/ul>\n<p><strong>Follow Us<\/strong><\/p>\n<p><strong>Luc Paquin \u2013 Curriculum Vitae &#8211; 2024<\/strong><br \/>\nhttps:\/\/www.donluc.com\/luc\/<\/p>\n<p><strong>Web:<\/strong> https:\/\/www.donluc.com\/<br \/>\n<strong>Facebook:<\/strong> https:\/\/www.facebook.com\/neosteam.labs.9\/<br \/>\n<strong>YouTube:<\/strong> https:\/\/www.youtube.com\/@thesass2063<br \/>\n<strong>Twitter:<\/strong> https:\/\/twitter.com\/labs_steam<br \/>\n<strong>Pinterest:<\/strong> https:\/\/www.pinterest.com\/NeoSteamLabs\/<br \/>\n<strong>Instagram:<\/strong> https:\/\/www.instagram.com\/neosteamlabs\/<br \/>\n<strong>DFRobot:<\/strong> https:\/\/learn.dfrobot.com\/user-10186.html<br \/>\n<strong>Elecrow:<\/strong> https:\/\/www.elecrow.com\/share\/sharepj\/center\/no\/760816d385ebb1edc0732fd873bfbf13<br \/>\n<strong>TikTok:<\/strong> https:\/\/www.tiktok.com\/@luc.paquin8<br \/>\n<strong>Hackster:<\/strong> https:\/\/www.hackster.io\/luc-paquin<br \/>\n<strong>LinkedIn:<\/strong> https:\/\/www.linkedin.com\/in\/jlucpaquin\/<\/p>\n<p><strong>Don Luc<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>&#8212;&#8212; #DonLucElectronics #DonLuc #MiniMP3Player #IoT #Project #Fritzing #Programming #Electronics #Microcontrollers #Consultant &#8212;&#8212; &#8212;&#8212; &#8212;&#8212; &#8212;&#8212; Mini MP3 Player Mini MP3 Player is a compact and inexpensive MP3 module that can be connected directly to the speaker. The module can be used alone with a battery power supply, speaker, and keypad, or through the serial port &#8230; <a title=\"Project #16: Sound \u2013 Mini MP3 Player \u2013 Mk26\" class=\"read-more\" href=\"https:\/\/www.donluc.com\/?p=4571\" aria-label=\"Read more about Project #16: Sound \u2013 Mini MP3 Player \u2013 Mk26\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[119,50,49,61,368,59,115,5,287,58,10,43],"tags":[6,92,102,4,369,19,85,24,400,9,27,120,109,33,34,108],"class_list":["post-4571","post","type-post","status-publish","format-standard","hentry","category-sound","category-arduino","category-consultant","category-dayton","category-elecrow","category-fritzing","category-e-mentor","category-microcontrollers","category-program","category-arduino-programming","category-projects","category-sparkfun","tag-arduino","tag-battery","tag-components","tag-consultant","tag-elecrow","tag-electronics","tag-fritzing","tag-microcontroller","tag-mini-mp3-player","tag-programming","tag-projects-2","tag-sound","tag-sparkfun","tag-technology","tag-video-blog","tag-vlog"],"_links":{"self":[{"href":"https:\/\/www.donluc.com\/index.php?rest_route=\/wp\/v2\/posts\/4571","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.donluc.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.donluc.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.donluc.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.donluc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4571"}],"version-history":[{"count":2,"href":"https:\/\/www.donluc.com\/index.php?rest_route=\/wp\/v2\/posts\/4571\/revisions"}],"predecessor-version":[{"id":4801,"href":"https:\/\/www.donluc.com\/index.php?rest_route=\/wp\/v2\/posts\/4571\/revisions\/4801"}],"wp:attachment":[{"href":"https:\/\/www.donluc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4571"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.donluc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4571"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.donluc.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4571"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}