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/

Комментарии • 27

  • @ic9769
    @ic9769 5 лет назад +4

    nice background music🤣🤣🤣🤣
    but you are awsome dyi

  • @nuramirahs.6090
    @nuramirahs.6090 3 года назад +1

    hi where can i get the code? need help.

  • @keyromeph3898
    @keyromeph3898 4 года назад +2

    can I ask all of the material you used?? and thankyou for making this video, really help me a lot !!

    • @IndrekL
      @IndrekL  4 года назад +2

      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.

  • @alenninan5524
    @alenninan5524 4 года назад

    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 ?

    • @IndrekL
      @IndrekL  4 года назад

      Hey! Yes, you can tell the MP3 player module to play a specific MP3 file on the SD card when a key is pressed.

    • @alenninan5524
      @alenninan5524 4 года назад

      @@IndrekL can i message you personally so i could clear my doubts . If u can , can u give ur watsapp number

  • @ajpran
    @ajpran 4 года назад

    hii, any update on this project ?
    i want to make it, but with 6 buttons...can you help me, please...

    • @IndrekL
      @IndrekL  4 года назад

      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.

    • @ajpran
      @ajpran 4 года назад

      @@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.

    • @IndrekL
      @IndrekL  4 года назад +1

      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.

  • @aarriikknn33ll
    @aarriikknn33ll 3 года назад

    Cool project!

  • @norzakiah6691
    @norzakiah6691 4 года назад

    can we play many song in just one push button ?

    • @IndrekL
      @IndrekL  4 года назад

      Yes, you can program the Arduino in the way that if you push a button it will go to the next song.

  • @nathanedwardchristofermarp2682
    @nathanedwardchristofermarp2682 4 года назад

    Can you tell me what buttons you used? I want the buttons to be the exact same as the video

    • @IndrekL
      @IndrekL  4 года назад

      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.

    • @IndrekL
      @IndrekL  4 года назад

      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.

    • @nathanedwardchristofermarp2682
      @nathanedwardchristofermarp2682 4 года назад

      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

  • @richardcoopmans992
    @richardcoopmans992 4 года назад

    May I ask what speaker you used? Thanks

    • @IndrekL
      @IndrekL  4 года назад

      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

  • @abdulhaiyum5283
    @abdulhaiyum5283 3 года назад

    I need code and circuit diagram

  • @yupingliao4078
    @yupingliao4078 5 лет назад +2

    Thank you for your detailed explanation.

  • @martinpulido9206
    @martinpulido9206 5 лет назад

    you could provide the code .. thanks for your project and for the idea for the kids ..
    Thank you

    • @IndrekL
      @IndrekL  5 лет назад +1

      Hey! The project is still in progress. Here is the code so far
      github.com/indrekluuk/BabyBox