Тёмный

【MP3】DFPlayer Mini with ATtiny13A【DIY】 

diorama111
Подписаться 222 тыс.
Просмотров 60 тыс.
50% 1

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.c...
【Program】
drive.google.c...
[Updated June 14th, 2024]
【DFPlayer Mini Datasheet】
drive.google.c...
【Music】
空を見上げれば / sora_wo_miagereba
Shall we meet? dova-s.jp/bgm/...
Alice dova-s.jp/bgm/...
Cocktail Glass dova-s.jp/bgm/...
.

Опубликовано:

 

16 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 70   
@dodorga6642
@dodorga6642 2 года назад
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 2 года назад
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? ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-Xs99jWn9MHE.html
@hishin6180
@hishin6180 4 года назад
素晴らしいとしか言いようがありません・・・
@vintage_TV_programs
@vintage_TV_programs Месяц назад
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?
@EduardoSantos-un4iy
@EduardoSantos-un4iy 3 года назад
Awesome, congrats! And thanks for share!
@Scrogan
@Scrogan 4 года назад
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.
@vishalsmenon
@vishalsmenon 4 года назад
Amazing work...keep it going
@cbbios7804
@cbbios7804 3 года назад
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 года назад
良いなぁ〜☺️♫ 自作出来るなんて良いなぁ〜☺️
@onecircuit-as
@onecircuit-as 4 года назад
Lovely project! 👍😀
@robin4970
@robin4970 2 года назад
Would it be possible to code it playing a random song after pressing a button? Thanks in advance
@Ripichipi-id4zu
@Ripichipi-id4zu 4 года назад
Dude you are awesome!
@rattehalliravishankar1801
@rattehalliravishankar1801 4 года назад
Excellent project
@TheDradge
@TheDradge 3 года назад
Isn't it pointless using the ATTiny13 when you can do all those switching functions with just the DFPlayer anyway?
@diorama111
@diorama111 3 года назад
I used the ATtiny13A to memorize the volume and the song number.
@theyoin118
@theyoin118 4 года назад
Why you channel 24k your are soo good at this
@Bongkar_Projek
@Bongkar_Projek 4 года назад
Nice.
@panwarhappy9368
@panwarhappy9368 4 года назад
Background was also in dr. Driving
@giselacastaneda6638
@giselacastaneda6638 3 года назад
Where did you get the speaker? 🔊
@dodydarmadichanel4862
@dodydarmadichanel4862 3 года назад
mantap Kreatif sekali Bang
@bhovmikvaity701
@bhovmikvaity701 4 года назад
which software you use for programming
@yupingliao4078
@yupingliao4078 3 месяца назад
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
@마시공방
@마시공방 3 года назад
What kind of battery did you use?
@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 года назад
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.
@redthepost
@redthepost 4 месяца назад
Where oh where is Radio Shack when you need their guidance?
@alexlupin
@alexlupin 4 месяца назад
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 4 месяца назад
Sorry, for some reason the program exceeded the capacity and could not be written to the microcontroller, so I corrected the program.
@ahmethakansengul6935
@ahmethakansengul6935 2 года назад
what does the yellow button do
@Istiqomah_Official920
@Istiqomah_Official920 2 года назад
For repeat
@ahmethakansengul6935
@ahmethakansengul6935 2 года назад
@@Istiqomah_Official920 thanks
@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
@dkm2708
@dkm2708 4 года назад
Can you make a tutorial how to make a bodyshell for a RC Car easy
@beimarticona8895
@beimarticona8895 3 года назад
It is possible a jump folder button?
@seonekcdbsme8932
@seonekcdbsme8932 4 года назад
I am Love you 💚💚
@SmartMoneySM
@SmartMoneySM 4 года назад
😇👍💝😇
@seonekcdbsme8932
@seonekcdbsme8932 4 года назад
@@SmartMoneySM OK thang you
@seonekcdbsme8932
@seonekcdbsme8932 4 года назад
Hi
@見てみてチャンネル
@見てみてチャンネル 4 года назад
1曲目が吉田製作所のBGM チュイーン!!
@fidelinaaquino5270
@fidelinaaquino5270 3 года назад
where would you put a usb on that plate
@おっさんカネゴン
@おっさんカネゴン Год назад
黄色いボタンの役割は何だったんだろう?
@diorama111
@diorama111 Год назад
黄色いボタンは1曲リピートにしています。
@i.y.k4602
@i.y.k4602 4 года назад
阪急の接近メロディ混ざってて草
@chibitano_denshikousakushitsu
急に阪急来てビビった
@lucyazazel9202
@lucyazazel9202 3 года назад
Can we put an mp3 song?
@meddiys6171
@meddiys6171 2 года назад
Good project Sir , but can you share the Hex file and thank you.
@junhaozhang533
@junhaozhang533 2 года назад
so I can assume Attiny45 works same way?
@northwest6148
@northwest6148 2 года назад
Sure
@eg6hide
@eg6hide 4 года назад
スイッチいれたら どーんだけー 的な(笑)
@fidelinaaquino5270
@fidelinaaquino5270 3 года назад
Donde pondría USB para pendrive
@fidelinaaquino5270
@fidelinaaquino5270 3 года назад
Usb??
@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.
@nithishkumar.r1423
@nithishkumar.r1423 4 года назад
Can you make a mini drone
@window.location
@window.location 4 года назад
you should upload code to github or bitbucket it will improve your productivity
@usmabinshahilak4309
@usmabinshahilak4309 3 года назад
Make one press off on switch
@qok-slowedreverb5389
@qok-slowedreverb5389 4 года назад
Куплю твою машину на радиоуправлении за 1000₽
@ADITYA-hf6ln
@ADITYA-hf6ln 4 года назад
Brooo plzz keep your channel logo and banner okkkk
@mr.babygoat4145
@mr.babygoat4145 4 года назад
Plz make a small rc trophy truck
@driss25
@driss25 Год назад
Char code hex
@leno-indiangamer3211
@leno-indiangamer3211 4 года назад
Qna
@katelynf8289
@katelynf8289 2 года назад
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?
@kamikazer2
@kamikazer2 Год назад
me too
Далее
DFPlayer Mini MP3 Module Testing
14:03
Просмотров 34 тыс.
【DIY】How to make 1:150 micro RC Car
12:01
Просмотров 10 млн
РЫБКА С ПИВОМ
00:39
Просмотров 1,3 млн
10 FREE DEAD BOXES?! #deadgame
02:26
Просмотров 4,8 млн
DB20 動力化   MOD Motorized
5:21
Просмотров 388 тыс.
MP3 using DFplayer and Arduino | Soundpod part 2 [DIY]
12:01
[DIY] Arduino MP3 player with oled[Soundpod part-1]
5:47
РЫБКА С ПИВОМ
00:39
Просмотров 1,3 млн