Using MP3 player module to play sound (Arduino project) - Activity Box #2
HTML-код
- Опубликовано: 15 окт 2024
- This is the first update to my DIY project to create a baby activity box.
Here I am using the DFPlayerMini Mp3 player module. Arduino detects if one of the buttons is pressed and then plays an MP3 file on the SD card.
Buy from AliExpress.com (affiliate links):
DfPlayer Mini: s.click.aliexp...
Arduino Nano: s.click.aliexp...
Music:
You So Zany by Audionautix is licensed under a Creative Commons Attribution license (creativecommon...)
Artist: audionautix.com/
nice background music🤣🤣🤣🤣
but you are awsome dyi
Thanks!
hi where can i get the code? need help.
can I ask all of the material you used?? and thankyou for making this video, really help me a lot !!
This project is basically based on this tutorial: ruclips.net/video/P42ICrgAtS4/видео.html
You need a DFPlayer Mini module,
An Arduino Nano,
Just search e-bay for "Arduino 8ohm speakers", then you will get the same speaker I used in this video.
You can use any buttons, you don't have to use the exact same ones I used here.
hi , i have a doubt . instead of using button , can i activate a music when i touch a particular key which produces a certain sound associated to it ?
Hey! Yes, you can tell the MP3 player module to play a specific MP3 file on the SD card when a key is pressed.
@@IndrekL can i message you personally so i could clear my doubts . If u can , can u give ur watsapp number
hii, any update on this project ?
i want to make it, but with 6 buttons...can you help me, please...
Hey! I haven't had time, but I want to finish it at some point. What exactly do you wan't to do? Connection wise it will pretty simple.
@@IndrekL what if i'm using 6x6 matrix push on button, is it possible for use 36 button... ?
i dont have good knowledge for arduino, i still on study for it.
For 6x6 button matrix you need to use up 12 pins. 6 for columns and 6 for rows. It uses up most of the available arduino pins.
You probably could so some clever tricks with resistors and read the input from an Analog Input pin to reduce the pin count. This would require some experminenation.
Cool project!
Thanks!
can we play many song in just one push button ?
Yes, you can program the Arduino in the way that if you push a button it will go to the next song.
Can you tell me what buttons you used? I want the buttons to be the exact same as the video
Hey! I wasn't able to find exactly the same ones. I ordered them a while back. But these ones are functionlly the same:
www.aliexpress.com/item/4000031677760.html
It has both the "normally on" and "normally off" swiches inside.
Hey! I wasn't able to find exactly the same ones. I ordered them a while back. But hese ones are functionlly the same:
www.aliexpress.com/item/4000031677760.html
It has both the "normally on" and "normally off" swiches inside.
Is this button the same? pages.lazada.co.id/wow/i/id/marketing/mkt_lp_v5?trigger_item=843466472&campaign_id=0&venture=id&sku_id=1209156900&wh_skucount=1&entrance=mktlp&exlaz=d_1:mm_150050845_51350205_2010350205::12:9236780524!94086527232!!!pla-293946777986!m!293946777986!1209156900!139904066&gclid=EAIaIQobChMIjsDj75bJ5wIVyoyPCh0-iwE2EAsYASABEgL71PD_BwE
May I ask what speaker you used? Thanks
Hey! It's a cheap speaker from e-bay.
This:
www.ebay.com/itm/3-Pieces-Round-Micro-Speaker-Loudspeaker-30mm-8Ohm-8R-1W-DIY-Arduino-Repair/273792955227
I need code and circuit diagram
Thank you for your detailed explanation.
you could provide the code .. thanks for your project and for the idea for the kids ..
Thank you
Hey! The project is still in progress. Here is the code so far
github.com/indrekluuk/BabyBox