TinyDFPlayer - MP3 Player - ATtiny85

Sdílet
Vložit
  • čas přidán 24. 05. 2020
  • ATtiny85 controlled and LiPo battery powered MP3-Player using the DFPlayerMini-module featuring:
    - micro-SD-card slot,
    - battery charging and protection circuit,
    - battery level detection,
    - OLED display,
    - on/off switch,
    - volume control,
    - 3 push buttons to control the player.
    Project Files (EasyEDA): easyeda.com/wagiminator/attin...
    Project Files (Github): github.com/wagiminator/ATtiny...
    Music: freemusicarchive.org/music/Sc...
    THIS VIDEO IS NOT SPONSORED !
  • Věda a technologie

Komentáře • 26

  • @ClaudeDufourmont
    @ClaudeDufourmont Před 2 lety +1

    *Good work, I like the ATtiny85 and ATtiny84 too*

  • @Yorumcu63
    @Yorumcu63 Před rokem

    Great design not only about software and PCB also mechanical design is great too

  • @coolpersian
    @coolpersian Před 3 lety

    Hi Stefan, thanks for posting your wonderful ATtiny85 project and sharing it with us. I have made the PCB and printed the container, would you please share a link to the speaker you have used?

    • @stefanwagner1759
      @stefanwagner1759  Před 3 lety +1

      Hi, I took the speaker out of an old broken TV. It's 40x70mm, 8 ohms and 2 watts. It looks similar to this: aliexpress.com/item/32979768165.html. Place a piece of foam (approx. 1 cm thick), which fits well with the housing at the edge, between the speaker and the PCB. This improves the sound quality significantly.

  • @narpat007
    @narpat007 Před 2 lety

    Thanks for the wonderful gadget design, I followed your laid-down instructions and got it working. I faced some issues and have some of them still popping up;
    The 0.96" OLED in the market have VCC and GND pins swapped so had to remove the 4 pin connector on the OLED module and used wires to connect. My suggestion is; In the next PCB version, it would be better to provide solder jumpers to select accordingly. There is another option to use Schottky bridge chip to power the OLED module, this will avoid any jumpers but one small drawback would be that it would reduce the supply voltage by 0.2V
    I am able to compile and upload any of your sketch versions; tinyDFPlayer_v1.0.ino, tinyDFPlayer_v1.1.ino, tinyDFPlayer_v1.2.ino but all of them have similar behavior that the folder count is always displayed 25 whereas on the SD card there are 18 folders (01-18). Similar is the case with file count.
    Via "Previous" button when I am trying to switch folder then at one time it displays like Folder: 26 of 25 or even 29 of 25, it looks like an issue, Pls suggest
    In case I want to use Arduino pro mini which is cheaper and I have lots of them then what necessary suggested pin / code changes are required.
    I tried uploading your compiled "tinyDFPlayer_v1.2.hex" using USBasp, following your instructions;
    avrdude -c usbasp -p t85 -U lfuse:w:0xe2:m -U hfuse:w:0xd7:m -U efuse:w:0xff:m -U flash:w:tinyDFPlayer_v1.2.hex
    But looks like it required your tinyDFPlayer_v1.2.eep file for the EEPROM, pls share the same.
    Thanks in advance

  • @8bitmark530
    @8bitmark530 Před 3 lety

    Thanks for sharing I've been stuck trying to get attiny85 working with dfplayer for days. Works fine on an ardunio uno... Hopefully your code will help me figure out what's going wrong at the initialisation stage.

  • @zaprodk
    @zaprodk Před 4 lety

    Nice that the volume gets higher with anti-clockwise rotation. A trap for young players :D

    • @stefanwagner1759
      @stefanwagner1759  Před 4 lety

      😋 Obviously not for my young daughter. However, the "trap" can be avoided by just a small change in the code.

    • @johndelilo6038
      @johndelilo6038 Před 3 lety

      Anti-clockwise here means turning upwards, which also corresponds to the volume being turned up.

    • @stefanwagner1759
      @stefanwagner1759  Před 3 lety

      ;-)

  • @Electromakerio
    @Electromakerio Před 3 lety +1

    We love this project so much that we featured it in this weeks episode of The Electromaker Show! czcams.com/video/x_GmZ1eXnuk/video.html

  • @premadewi3354
    @premadewi3354 Před 3 lety

    Hello sir I have make your mp3 player but with digispark attiny85 the code is fine but when I try to turn on the tiny dfplayer it says" error check sd card and start again" even though I insert the sd card properly like you say in github please help sir I don't now what to do because I not to pro at programming 🙂🙏🙏

    • @stefanwagner1759
      @stefanwagner1759  Před 3 lety

      Hi, that is difficult to troubleshoot from afar. Perhaps the serial connection to the DFPlayer interferes with the V-USB circuit of the DigiSpark. Maybe you are using the wrong SoftwareSerial library which is not compatible with the sometimes strange clockspeeds of the DigiSpark. Maybe the DFPlayer doesn't like your SD card. Since I don't have a DigiSpark myself, I can't test it either. I'm sorry that I can't really help you.

    • @premadewi3354
      @premadewi3354 Před 3 lety

      Hello sir sorry I didn't mention earlier now the mp3 player is working but when I insert two folder and each folder have two song but in the tiny df player it says 5 folder and 225 file
      When we go to first and second folder that I make the song is there but again when I go to third,four,and fifth folder the song is not there anymore. Any help will be appreciated sir please this is my first project 🙏🙏🙂

    • @stefanwagner1759
      @stefanwagner1759  Před 3 lety

      @@premadewi3354 Please check if there are any hidden files on the SD card. Only the folders 01, 02, [...] should be in the root directory and the files 001.mp3, 002.mp3, [...] in each of the folders.

  • @user-ln5rf7zu2o
    @user-ln5rf7zu2o Před rokem

    I want it

  • @narpat007
    @narpat007 Před 2 lety

    Hallo Stephen, es ist wirklich schön und würde gerne selbst eins ausprobieren. Können Sie mir bitte zwei unmontierte Leiterplatten in Indien zusenden, ich bezahle die Leiterplatten und den Versand.

    • @stefanwagner1759
      @stefanwagner1759  Před 2 lety

      Hi and thanks. Unfortunately I don't have any PCBs left, but you can order them cheaply e.g. from JLCPCB (jlcpcb.com/, $2 for 5 PCBs). You can find the Gerber files at Github (github.com/wagiminator/ATtiny85-TinyDFPlayer/tree/master/hardware).

    • @narpat007
      @narpat007 Před 2 lety

      @@stefanwagner1759 Thanks for replying, already ordered from jlcpcb

    • @stefanwagner1759
      @stefanwagner1759  Před 2 lety

      @@narpat007 I wish you good luck and lots of fun soldering!