【MP3】DFPlayer Mini with ATtiny13A【DIY】

  Рет қаралды 59,560

diorama111

diorama111

Күн бұрын

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

Пікірлер: 69
@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? kzbin.info/www/bejne/jqScap2No56Afqc
@hishin6180
@hishin6180 4 жыл бұрын
素晴らしいとしか言いようがありません・・・
@Scrogan
@Scrogan 3 жыл бұрын
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.
@EduardoSantos-un4iy
@EduardoSantos-un4iy 3 жыл бұрын
Awesome, congrats! And thanks for share!
@vishalsmenon
@vishalsmenon 4 жыл бұрын
Amazing work...keep it going
@Milk-coffee-1001
@Milk-coffee-1001 4 жыл бұрын
良いなぁ〜☺️♫ 自作出来るなんて良いなぁ〜☺️
@nexuzinnovation-com
@nexuzinnovation-com 3 жыл бұрын
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 👍
@panwarhappy9368
@panwarhappy9368 4 жыл бұрын
Background was also in dr. Driving
@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?
@onecircuit-as
@onecircuit-as 3 жыл бұрын
Lovely project! 👍😀
@rattehalliravishankar1801
@rattehalliravishankar1801 3 жыл бұрын
Excellent project
@theyoin118
@theyoin118 4 жыл бұрын
Why you channel 24k your are soo good at this
@robin4970
@robin4970 2 жыл бұрын
Would it be possible to code it playing a random song after pressing a button? Thanks in advance
@yupingliao4078
@yupingliao4078 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
@Ripichipi-id4zu
@Ripichipi-id4zu 4 жыл бұрын
Dude you are awesome!
@dkm2708
@dkm2708 4 жыл бұрын
Can you make a tutorial how to make a bodyshell for a RC Car easy
@TheDradge
@TheDradge 2 жыл бұрын
Isn't it pointless using the ATTiny13 when you can do all those switching functions with just the DFPlayer anyway?
@diorama111
@diorama111 2 жыл бұрын
I used the ATtiny13A to memorize the volume and the song number.
@dodydarmadichanel4862
@dodydarmadichanel4862 3 жыл бұрын
mantap Kreatif sekali Bang
@alexlupin
@alexlupin 2 ай бұрын
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 2 ай бұрын
Sorry, for some reason the program exceeded the capacity and could not be written to the microcontroller, so I corrected the program.
@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
@redthepost
@redthepost 2 ай бұрын
Where oh where is Radio Shack when you need their guidance?
@user-xm6wk6yd4i
@user-xm6wk6yd4i 3 жыл бұрын
1曲目が吉田製作所のBGM チュイーン!!
@Bongkar_Projek
@Bongkar_Projek 4 жыл бұрын
Nice.
@nexuzinnovation-com
@nexuzinnovation-com 3 жыл бұрын
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 ?
@Scrogan
@Scrogan 3 жыл бұрын
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.
@nexuzinnovation-com
@nexuzinnovation-com 3 жыл бұрын
@@Scrogan , thanks for the info sharing.
@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.
@chibitano_denshikousakushitsu
@chibitano_denshikousakushitsu Жыл бұрын
急に阪急来てビビった
@giselacastaneda6638
@giselacastaneda6638 3 жыл бұрын
Where did you get the speaker? 🔊
@bhovmikvaity701
@bhovmikvaity701 4 жыл бұрын
which software you use for programming
@i.y.k4602
@i.y.k4602 4 жыл бұрын
阪急の接近メロディ混ざってて草
@meddiys6171
@meddiys6171 2 жыл бұрын
Good project Sir , but can you share the Hex file and thank you.
@fidelinaaquino5270
@fidelinaaquino5270 3 жыл бұрын
where would you put a usb on that plate
@beimarticona8895
@beimarticona8895 3 жыл бұрын
It is possible a jump folder button?
@ahmethakansengul6935
@ahmethakansengul6935 2 жыл бұрын
what does the yellow button do
@Istiqomah_Official920
@Istiqomah_Official920 2 жыл бұрын
For repeat
@ahmethakansengul6935
@ahmethakansengul6935 2 жыл бұрын
@@Istiqomah_Official920 thanks
@eg6hide
@eg6hide 4 жыл бұрын
スイッチいれたら どーんだけー 的な(笑)
@user-dm4mh9sp6c
@user-dm4mh9sp6c 3 жыл бұрын
What kind of battery did you use?
@fidelinaaquino5270
@fidelinaaquino5270 3 жыл бұрын
Donde pondría USB para pendrive
@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.
@seonekcdbsme8932
@seonekcdbsme8932 4 жыл бұрын
I am Love you 💚💚
@Picture_Tv
@Picture_Tv 4 жыл бұрын
😇👍💝😇
@seonekcdbsme8932
@seonekcdbsme8932 4 жыл бұрын
@@Picture_Tv OK thang you
@seonekcdbsme8932
@seonekcdbsme8932 4 жыл бұрын
Hi
@usmabinshahilak4309
@usmabinshahilak4309 3 жыл бұрын
Make one press off on switch
@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
@junhaozhang533
@junhaozhang533 2 жыл бұрын
so I can assume Attiny45 works same way?
@northwest6148
@northwest6148 Жыл бұрын
Sure
@lucyazazel9202
@lucyazazel9202 3 жыл бұрын
Can we put an mp3 song?
@mr.babygoat4145
@mr.babygoat4145 4 жыл бұрын
Plz make a small rc trophy truck
@user-xm9ge7ns5f
@user-xm9ge7ns5f Жыл бұрын
黄色いボタンの役割は何だったんだろう?
@diorama111
@diorama111 Жыл бұрын
黄色いボタンは1曲リピートにしています。
@ADITYA-hf6ln
@ADITYA-hf6ln 4 жыл бұрын
Brooo plzz keep your channel logo and banner okkkk
@fidelinaaquino5270
@fidelinaaquino5270 3 жыл бұрын
Usb??
@qok-slowedreverb5389
@qok-slowedreverb5389 4 жыл бұрын
Куплю твою машину на радиоуправлении за 1000₽
@leno-indiangamer3211
@leno-indiangamer3211 4 жыл бұрын
Qna
@driss25
@driss25 Жыл бұрын
Char code hex
@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
Audio modules for electronics project
37:54
Playful Technology
Рет қаралды 48 М.
escape in roblox in real life
00:13
Kan Andrey
Рет қаралды 8 МЛН
Incredible Dog Rescues Kittens from Bus - Inspiring Story #shorts
00:18
Fabiosa Best Lifehacks
Рет қаралды 35 МЛН
ПРИКОЛЫ НАД БРАТОМ #shorts
00:23
Паша Осадчий
Рет қаралды 2,5 МЛН
Whoa
01:00
Justin Flom
Рет қаралды 55 МЛН
【MP3】DIY Electronic Music Box with DFPlayer Mini【Orgal】
10:14
DFPlayer Mini MP3 Module Testing
14:03
Fads To Obsessions
Рет қаралды 33 М.
【DIY】How to make 1:150 micro RC Car
12:01
diorama111
Рет қаралды 10 МЛН
Easy Diorama and Book Nook Audio - DFPlayer Mini #dfplayer-mini
10:11
Random Making Encounters
Рет қаралды 25 М.
Upplandskranar 1/87scale RC Buildlog
12:52
Keisuke’s Mikromodellbau
Рет қаралды 6 М.
Mastering MP3 Player Busy Pin with Arduino & Audio-Visual Synchronization
13:26
The Last Outpost Workshop
Рет қаралды 8 М.
MP3 using DFplayer and Arduino | Soundpod part 2 [DIY]
12:01
Neutrino
Рет қаралды 84 М.
Framework Cyberdeck - DIY Portable PC
17:31
Ben Makes Everything
Рет қаралды 1,2 МЛН
escape in roblox in real life
00:13
Kan Andrey
Рет қаралды 8 МЛН