【MP3】DFPlayer Mini with ATtiny13A【DIY】

Поделиться
HTML-код
  • Опубликовано: 25 дек 2024

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

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

    素晴らしいとしか言いようがありません・・・

  • @EduardoSantos-un4iy
    @EduardoSantos-un4iy 3 года назад +1

    Awesome, congrats! And thanks for share!

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

    Amazing work...keep it going

  • @dodorga6642
    @dodorga6642 3 года назад +5

    Hello, nice work done here !
    I tried it on an ATtiny13A-PU using AVRISP XPII (ISP prog) through atmel studio v7 (also using the DFPlayer-mini).
    I also did a small PCB in order to have a clean result (powered by a 5v usb converter) hehe.
    In order to give some help/info to people here willing to try this project, here is some things that are good to know about this stuff :
    - If you're going through a basic installation of Microchip Studio v7 and using the listed materials here (hardware & code), you will probably meet a ".text section" error about the .ELF when you compile the code. This can be solved by changing some compiler parameters (don't mess your µC). You can also just replace (line 62) "if(res[3]==0x48){total=res[6];} //Total Number" to a smaller (line 62) "total=X; //Total Number" with "X" the integer number that correspond to the amount of sound stored on the SD-Card (eg : total=6;). Since we're talking about some bits overflowing the region, this will fix it !
    - About the DFPlayer itself, you will find different file naming strategies which can be defined (eg: "0001.mp3" or also a folder hierarchy solution). Be careful about it, since some versions (red/blue leds) of the DFPlayer are considering the file position (#1, #2, #3, ...) about the "moment/order you inserted it in the SD card" and not about the "file name".
    Anyway, nice use of this small µC ! Hope it will help some people ! :)

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

      I made the music box from his other dfplayer tutorial but it doesnt skip song when i open box,it just repeats first song on microsd.Do you know correct filename for red dfplayer.When i tested before soldering to attiny13a the filename didnt matter but does the atttiny13 require differrent filename to skip song?i tried 001.mp3 and 0001.mp3 but still only plays first song only.Do you know how to fix? ruclips.net/video/Xs99jWn9MHE/видео.html

  • @vintage_TV_programs
    @vintage_TV_programs 3 месяца назад +2

    This is a great project! However the sketch does not fit into my ATTINY13A, is utilizes 101% of the available memory. I am programming the ATTINY with an Arduino. Any ideas?

  • @cbbios7804
    @cbbios7804 3 года назад +4

    The project is great but if I wanted to program the same code of the program in an ATtiny85 but with Arduino would it work? And if the code of the program would be the same or it is modified for Arduino, I have no knowledge but I really want to learn.

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

      I want to know that too

    • @robin4970
      @robin4970 2 года назад

      Did you try it?

  • @Milk-coffee-303
    @Milk-coffee-303 4 года назад +1

    良いなぁ〜☺️♫
    自作出来るなんて良いなぁ〜☺️

  • @onecircuit-as
    @onecircuit-as 4 года назад

    Lovely project! 👍😀

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

    Neat little project! I’d also quite like to add a display or indicator lights or whatever, though before all that I’d move the project from perfboard to a slick home-etched board. Fold the legs of the DIP8 into an SMD, ditch the pin headers, etc. in order to make it less prickly in the pocket.
    Though I’ve not seen your channel yet, it would be nice to see an ATtiny13 + RDA5807 (or TEA5767) FM radio project.

  • @Ripichipi-id4zu
    @Ripichipi-id4zu 4 года назад

    Dude you are awesome!

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

    Excellent project

  • @TheDradge
    @TheDradge 3 года назад +2

    Isn't it pointless using the ATTiny13 when you can do all those switching functions with just the DFPlayer anyway?

    • @diorama111
      @diorama111  3 года назад +8

      I used the ATtiny13A to memorize the volume and the song number.

  • @katelynf8289
    @katelynf8289 3 года назад +1

    I made the one with box with your instructions but it only plays same song over and over.how do i get it to play next song when box opens.did i wire it wrong?

  • @alexlupin
    @alexlupin 6 месяцев назад +1

    PB2:TX, PB1:RX............In the program are they reversed compared to the video scheme? I uploaded it but it doesn't work :-(

    • @diorama111
      @diorama111  6 месяцев назад +1

      Sorry, for some reason the program exceeded the capacity and could not be written to the microcontroller, so I corrected the program.

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

    What is the battery you are using and what battery connector have you used can you give me a web link where to buy them

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

      The battery is G-FORCE GH008(for H001) Li-Po 3.7V 80mAh.
      I bought it at Amazon Japan in 2018, but it was sold out.
      www.amazon.co.jp/%E3%82%B8%E3%83%BC%E3%83%95%E3%82%A9%E3%83%BC%E3%82%B9-80mAh-LiPo%E3%83%90%E3%83%83%E3%83%86%E3%83%AA%E3%83%BC-H001%E7%94%A8-GH008/dp/B06WGPVRKM
      I made the connector from 1.27mm pitch pins and pin sockets.

  • @giselacastaneda6638
    @giselacastaneda6638 3 года назад +1

    Where did you get the speaker? 🔊

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

    Background was also in dr. Driving

  • @ahmethakansengul6935
    @ahmethakansengul6935 2 года назад +2

    what does the yellow button do

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

    Can you make a tutorial how to make a bodyshell for a RC Car easy

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

    which software you use for programming

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

    It is possible a jump folder button?

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

    where would you put a usb on that plate

  • @yupingliao4078
    @yupingliao4078 5 месяцев назад +2

    Hello thank you+👍 very much, but I don’t have an ISP adapter. I use an Arduino board to externally convert it to an ISP. In Clock, I choose 9.6MHZ to upload, and it is also successful. I have no problem testing MP3 and buttons

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

    Why you channel 24k your are soo good at this

  • @おっさんカネゴン
    @おっさんカネゴン Год назад +1

    黄色いボタンの役割は何だったんだろう?

    • @diorama111
      @diorama111  Год назад +3

      黄色いボタンは1曲リピートにしています。

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

    mantap Kreatif sekali Bang

  • @마시공방
    @마시공방 3 года назад

    What kind of battery did you use?

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

    Can make a vídeo making a mini bluetooth sistem on 1/64? And How to remove smd led from the original board

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

    Nice.

  • @redthepost
    @redthepost 6 месяцев назад +1

    Where oh where is Radio Shack when you need their guidance?

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

    Donde pondría USB para pendrive

  • @junhaozhang533
    @junhaozhang533 2 года назад

    so I can assume Attiny45 works same way?

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

    Can we put an mp3 song?

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

    Good project Sir , but can you share the Hex file and thank you.

  • @見てみてチャンネル
    @見てみてチャンネル 4 года назад

    1曲目が吉田製作所のBGM
    チュイーン!!

  • @chibitano_denshikousakushitsu
    @chibitano_denshikousakushitsu Год назад +1

    急に阪急来てビビった

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

    I am Love you 💚💚

  • @i.y.k4602
    @i.y.k4602 4 года назад +1

    阪急の接近メロディ混ざってて草

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

    スイッチいれたら
    どーんだけー
    的な(笑)

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

    Usb??

  • @nithishkumar.r1423
    @nithishkumar.r1423 4 года назад

    Can you make a mini drone

  • @usmabinshahilak4309
    @usmabinshahilak4309 3 года назад +1

    Make one press off on switch

  • @window.location
    @window.location 4 года назад

    you should upload code to github or bitbucket
    it will improve your productivity

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

    Hello my friend hope you are doing well. I like all of your videos an i would like to collaborate with you please let me know if you are interested. Thank you.

  • @mr.babygoat4145
    @mr.babygoat4145 4 года назад

    Plz make a small rc trophy truck

  • @ADITYA-hf6ln
    @ADITYA-hf6ln 4 года назад

    Brooo plzz keep your channel logo and banner okkkk

  • @qok-slowedreverb5389
    @qok-slowedreverb5389 4 года назад

    Куплю твою машину на радиоуправлении за 1000₽

  • @driss25
    @driss25 Год назад

    Char code hex

  • @leno-indiangamer3211
    @leno-indiangamer3211 4 года назад

    Qna

  • @robin4970
    @robin4970 2 года назад +2

    Would it be possible to code it playing a random song after pressing a button?
    Thanks in advance