Hi, I built a TonUINO using an Arduino Nano. It boots, beeps, enters the admin menu, writes and plays cards. But it only plays the first and second songs (001.mp3 and 002.mp3) of each directory. Initially it only played the first song, when using a 32GB flash drive, but switching to a SD card (tried both FAT32 and FAT16) it began playing two songs per directory. Even if the three songs are all a copy of the same file only the first two play. And a minor problem is that the next/previous buttons do not change to the next/previous song, but they do work in the admin menu.
In the source code, I set DFMiniMp3_T_CHIP_GD3200B but did not test without it.
I don’t have physical access to the TonUINO right now so I don’t have access to the debug logs which would make it much easier I believe.
To the left of the DFPlayer I have a PAM8043 amplifier, the input comes from the DAC_L and DAC_R pins of the DFPlayer. That’s to have stereo audio as I use two small speakers.
What could be causing it to only play the first two songs?
Hi!
There is a DF-Player clone that uses a chipset that is extremly buggy, an causes your described behavior.
Unfortunatly by now there is no other way to replace that DF-Player.
From the printing on the upper side of your player shown in your uploaded photo, i asume you unfortunatly got one of those. On the bottomside of your player, you will probably find a chip with „TD5580A“ printed onto it.
Thank you for your reply. I’ll replace the DF-Player then. I found alternatives with the chips below, are any of those known to work well? Or if there’s a shop that sells any of the working variants that works too, most shops don’t say the chip it comes with.
AB25C53312.1-74
AC21BP08896-84A2
MP3-TF-16P (no idea on the exact chip, so it could be MH2024K which from my understanding is also problematic)
It depends There are older variants which run flawlessly and newer ones which need a certain line to be activated in the src/constants.hpp
I’m not sure about all the markings of the JL chips, but i think this one might work well.
I belive this one sends a different „finish event“ at the end of a played track, and i’m not sure if this also implemented in the software. i guess, but im not sure.
So try the „AB-variant“