【MP3】DFPlayer Mini with ATtiny13A【DIY】

2020 ж. 26 Шіл.
57 185 Рет қаралды

By connecting a microcontroller to DFPlayer Mini, even if the power is turned off, the volume setting and the song data you were listening to will be recorded in the EEPROM of the microcontroller.
When you turn on the power, the beginning of the song you were listening to will be played.
【Circuit Diagram】
drive.google.com/file/d/1R-4X...
【Program】
drive.google.com/file/d/15bOe...
【DFPlayer Mini Datasheet】
drive.google.com/file/d/1vo19...
【Music】
空を見上げれば / sora_wo_miagereba
Shall we meet? dova-s.jp/bgm/play2896.html
Alice dova-s.jp/bgm/play11900.html
Cocktail Glass dova-s.jp/bgm/play3270.html
.

Пікірлер
  • Awesome, congrats! And thanks for share!

    @EduardoSantos-un4iy@EduardoSantos-un4iy3 жыл бұрын
  • Amazing work...keep it going

    @vishalsmenon@vishalsmenon3 жыл бұрын
  • Excellent project

    @rattehalliravishankar1801@rattehalliravishankar18013 жыл бұрын
  • Lovely project! 👍😀

    @onecircuit-as@onecircuit-as3 жыл бұрын
  • 素晴らしいとしか言いようがありません・・・

    @hishin6180@hishin61803 жыл бұрын
  • Dude you are awesome!

    @Ripichipi-id4zu@Ripichipi-id4zu3 жыл бұрын
  • 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 ! :)

    @dodorga6642@dodorga66422 жыл бұрын
    • 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? kzhead.info/sun/i9dyac6PpWuDe30/bejne.html

      @katelynf8289@katelynf82892 жыл бұрын
  • diorama111 さん , do you have the reference link or part number for the prototyping board at 01:25 ? It is a very clean and easy color prototyping board, I hardly see such smooth prototyping board, loves it 👍

    @nexuzinnovation-com@nexuzinnovation-com3 жыл бұрын
  • 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.

    @Scrogan@Scrogan3 жыл бұрын
  • 良いなぁ〜☺️♫ 自作出来るなんて良いなぁ〜☺️

    @Milk-coffee-1001@Milk-coffee-10013 жыл бұрын
  • mantap Kreatif sekali Bang

    @dodydarmadichanel4862@dodydarmadichanel48623 жыл бұрын
  • Nice.

    @Bongkar_Projek@Bongkar_Projek3 жыл бұрын
  • Would it be possible to code it playing a random song after pressing a button? Thanks in advance

    @robin4970@robin49702 жыл бұрын
  • Background was also in dr. Driving

    @panwarhappy9368@panwarhappy93683 жыл бұрын
  • 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.

    @cbbios7804@cbbios78043 жыл бұрын
    • I want to know that too

      @RucaBan@RucaBan2 жыл бұрын
    • Did you try it?

      @robin4970@robin49702 жыл бұрын
  • Where did you get the speaker? 🔊

    @giselacastaneda6638@giselacastaneda66383 жыл бұрын
  • which software you use for programming

    @bhovmikvaity701@bhovmikvaity7013 жыл бұрын
  • Why you channel 24k your are soo good at this

    @theyoin118@theyoin1183 жыл бұрын
  • What kind of battery did you use?

    @user-dm4mh9sp6c@user-dm4mh9sp6c2 жыл бұрын
  • Can you make a tutorial how to make a bodyshell for a RC Car easy

    @dkm2708@dkm27083 жыл бұрын
  • 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?

    @katelynf8289@katelynf82892 жыл бұрын
    • me too

      @kamikazer2@kamikazer2 Жыл бұрын
  • Good project Sir , but can you share the Hex file and thank you.

    @meddiys6171@meddiys61712 жыл бұрын
  • Isn't it pointless using the ATTiny13 when you can do all those switching functions with just the DFPlayer anyway?

    @TheDradge@TheDradge2 жыл бұрын
    • I used the ATtiny13A to memorize the volume and the song number.

      @diorama111@diorama1112 жыл бұрын
  • diorama111 さん , is there a way to use volume rotational knob to control the volume up and down to the input pins IO_1 and IO_2 of DFPlayer ?

    @nexuzinnovation-com@nexuzinnovation-com3 жыл бұрын
    • They go into the ATtiny, so definitely. A rotary encoder with pullup resistors (maybe denouncing caps too) should easily be workable, so long as you change a bit of code. Probably be best to hook it up with an extra resistor or two in order for it to take up only a single pin alongside the repeat button, as is already being done with the current buttons. Could use the integrated pushbutton atop the encoder for the play/pause functionality too. Or you could use the button such that when the encoder is turned while the button is depressed, it changes songs (next, previous) instead of changing the volume. Or both. There’s also the option of fixing the output amplitude at max and using a volume potentiometer (perhaps with an amplifier IC) and just ditching the buttons.

      @Scrogan@Scrogan3 жыл бұрын
    • @@Scrogan , thanks for the info sharing.

      @nexuzinnovation-com@nexuzinnovation-com3 жыл бұрын
  • where would you put a usb on that plate

    @fidelinaaquino5270@fidelinaaquino52703 жыл бұрын
  • It is possible a jump folder button?

    @beimarticona8895@beimarticona88952 жыл бұрын
  • Can make a vídeo making a mini bluetooth sistem on 1/64? And How to remove smd led from the original board

    @canola3@canola33 жыл бұрын
  • 1曲目が吉田製作所のBGM チュイーン!!

    @user-xm6wk6yd4i@user-xm6wk6yd4i3 жыл бұрын
  • I am Love you 💚💚

    @seonekcdbsme8932@seonekcdbsme89323 жыл бұрын
    • 😇👍💝😇

      @Picture_Tv@Picture_Tv3 жыл бұрын
    • @@Picture_Tv OK thang you

      @seonekcdbsme8932@seonekcdbsme89323 жыл бұрын
    • Hi

      @seonekcdbsme8932@seonekcdbsme89323 жыл бұрын
  • 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

    @billywhizz98@billywhizz983 жыл бұрын
    • 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.

      @diorama111@diorama1113 жыл бұрын
  • 急に阪急来てビビった

    @chibitano_denshikousakushitsu@chibitano_denshikousakushitsu Жыл бұрын
  • Donde pondría USB para pendrive

    @fidelinaaquino5270@fidelinaaquino52703 жыл бұрын
  • so I can assume Attiny45 works same way?

    @junhaozhang533@junhaozhang533 Жыл бұрын
    • Sure

      @northwest6148@northwest6148 Жыл бұрын
  • Can we put an mp3 song?

    @lucyazazel9202@lucyazazel92023 жыл бұрын
  • what does the yellow button do

    @ahmethakansengul6935@ahmethakansengul6935 Жыл бұрын
    • For repeat

      @Istiqomah_Official920@Istiqomah_Official920 Жыл бұрын
    • @@Istiqomah_Official920 thanks

      @ahmethakansengul6935@ahmethakansengul6935 Жыл бұрын
  • 阪急の接近メロディ混ざってて草

    @i.y.k4602@i.y.k46023 жыл бұрын
  • Can you make a mini drone

    @nithishkumar.r1423@nithishkumar.r14233 жыл бұрын
  • スイッチいれたら どーんだけー 的な(笑)

    @eg6hide@eg6hide3 жыл бұрын
  • you should upload code to github or bitbucket it will improve your productivity

    @window.location@window.location3 жыл бұрын
  • 黄色いボタンの役割は何だったんだろう?

    @user-xm9ge7ns5f@user-xm9ge7ns5f Жыл бұрын
    • 黄色いボタンは1曲リピートにしています。

      @diorama111@diorama111 Жыл бұрын
  • Brooo plzz keep your channel logo and banner okkkk

    @ADITYA-hf6ln@ADITYA-hf6ln3 жыл бұрын
  • Make one press off on switch

    @usmabinshahilak4309@usmabinshahilak43093 жыл бұрын
  • Usb??

    @fidelinaaquino5270@fidelinaaquino52703 жыл бұрын
  • Plz make a small rc trophy truck

    @mr.babygoat4145@mr.babygoat41453 жыл бұрын
  • 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.

    @RollingBob@RollingBob3 жыл бұрын
  • Qna

    @leno-indiangamer3211@leno-indiangamer32113 жыл бұрын
  • Char code hex

    @driss25@driss25 Жыл бұрын
  • Куплю твою машину на радиоуправлении за 1000₽

    @qok-slowedreverb5389@qok-slowedreverb53893 жыл бұрын
KZhead