Finished my first PCB, an ESP32-S3 MP3 player

Dec 04, 2026 Last reply: 1 minute ago 3 Replies
Jump to replies (3)

I wanted an offline MP3 player and figured it would make a good first PCB project, so I designed and assembled a portable DAP around an ESP32-S3-WROOM-1-N16R8. The audio chain is a PCM5102A DAC with a MAX97220A amp, a 2.0 inch SPI TFT for the display, and a 2 layer board the size of a credit card. Power comes from an AP2112K regulating down to 3.3v and an ETA6002 charger with a 1500mAh battery. For the chip choice, the S3 won me over on memory, price and GPIO. Having PSRAM means I can buffer whole tracks (or large slices of them) in RAM, wich cuts the power draw, and native USB gives me Mass Storage mode while simplifying the layout. It's playing music now and draws around 85mA during playback with the screen off, so roughly 16 hours per charge. There are a couple of things I want to fix. I get a faint hiss on sensitive IEMs like mine, which are 108dB, even though I kept the analog parts away from the digital ones. And the resistor divider I used for reading battery voltage isn't very accurate, as expected. For the next version I'd probaly use a single IC doing both DAC and amp duties, plus a lower power MCU and a proper fuel gauge.


I went down a similar road with an ESP8266 a while back, a little kitchen gadget with a small display, and reading how you approached your build makes me want to open the schematic editor again. The way you put it about the PSRAM cutting the power draw is a nice bit of design thinking, and having the USB side handled natively is the sort of detail I appreciate, because routing on my own two layer boards was always where I got sloppy.

On the hiss, I feel your pain. My ears are the same with sensitive IEMs, any faint noise floor bugs me, and honestly that is part of why I never finished my own audio attempt. I only ask as a question, not advice: have you listened with the display on versus off, since those SPI lines run across a board that size no matter how careful the layout was? The battery divider being off is somethig I related to on my own project, and I get why simple made sense the first time around. A proper fuel gauge plus a single chip doing DAC and amp duties sounds like the right direction for version two, less to route and less to debug.

For a first PCB this sounds like a real achievement.

That hiss on your sensitive IEMs is the sort of thing that would nag at me long after the thing worked. My own project in this space was a battery powered radio on perfboard, nowhere near as tidy as a real board, and the analog side of it was a mess I never fully tamed, so I know that feeling of being one small imperfection away from calling it done.

Where I'd differ from you is on the single chip doing DAC and amp duties for version two. I think I'd keep them as separate parts, because the split lets you swap one side of the audio chain without redesigning everything around it, and on a two layer board that flexibility seems worth the extra routing, even if it costs a little space.

The fuel gauge idea I'm fully behind though. A coarse divider reading has never sat right with me on anything with a lithium cell once you watch the numbers wander as the cell drains, so a proper gauge would be my first upgrade too.

Do you plan to keep the same DAC for the next board, or would you change the whole audio chain if the hiss survives another layout pass?

I only joined recently and I'm still soldering headers on breakout boards, so seeing someone get a whole player working on a first board is a bit intimidating in a good way. The part that caught my attention is the USB side, since dragging files over without pulling the storage out sounds way more convenient than what I do now. When you plug it into a computer, does it just show up like any regular flash drive, or did you have to do anything extra to get that working?

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required