This project is my second attempt at making a simple MP3 player that could shuffle tunes instead of just using a “random play” function.
This means that regardless of how many tunes are on the SDCard (up to 64K), they are shuffled to make sure the same tune is not repeated.
This time I am using an XY-V17B MP3 module instead of the previous BY8001 version.
Also the PAM8910 amplifier now has some added filtering and smoothing components in an attempt to improve sound quality.
The XY-V17B module is much simpler than the BY8001-16P. It just has one (unmarked) chip. There is no on-board amplifier.
A datasheet can be found at http://attach01.oss-us-west-1.aliyuncs.com/IC/Datasheet/13288.pdf
I modified my previous project schematic and code to work with this new module.
Click the image to view full size or download the PDF file below.
The other main change was to change from stereo to a mono player.
Transistor Q1 now puts the amplifier into standby mode in between tunes and while stopped. This reduces hiss and noise.
Ferrite bead Inductors L1 and L2 together with capacitors C11 and C12 suppress digital noise from the class D amplifier.
The PCB is double sided. PDF files for both layers are below.
Here is the HEX file for programming the PIC18F14K50 chip.
(I am not providing any technical support for this project or any firmware updates.)
Case and improvements
I had an old Hauppauge WinTV Nova-T box that was repurposed to house the player.
At this stage I decided to go back to having a stereo output and changed the amplifier module to two TPA3110 30W per channel modules.
These modules have some output filtering components.
This XY-V17B version player works as well as my previous BY8001 version.
There is still a small variable delay between playing tracks when a lot of files are present on the SDCard.
The TPA3110 30W amplifier modules sound better than the PAM8910. (And would have probably been even better if I had incorporated them into the PCB design).
For my next project I will try using another type of MP3 module together with a more powerful amplifier.