Lurker News
What are you working on? Any new ideas that you're thinking about?

Comments (1,468) 897 threads

Show all comments

Showing thread 519 of 897

fsniper1 reply#
A music player for my 2 years old son. There are premade toys like Yoto player. But what is the fun in buying ready made?

esp32+sdcard reader+gc9a01 lcd and a pcm5102a+xh-a232 (overkill 30W! solution! Will replace in time)
Add some 3d printed enclosure and you are done. I am currently vibe coding a UI into it. I am planning to cram in adsp Bluetooth speaker support and some web config, maybe ota updates..

monomial1 reply#
Cool. I'd like to try something similar. Does that amplifier module drive headphones as well? What future replacement do you have in mind? Is it all low power enough to use a battery?
fsniper1 reply#
For a headphone you do not even need the amp. The pcm5102a purple module can directly use headphones. Mine already has a 3.5 jack . It has been a life saver for devlopment at night.

I am planning to replace the amp with a Pam84xx and switch to a smaller/thinner speaker to save space. I may also add a nfc reader module to add nfc card music. Probably card will include a url to download music file.
Also my protoboard based solution is finicky. I starded building a pcb, however as this is my first pcb project I am taking it real slow.
Perhaps I can open a git repo to document share what I have.
I am open for suggestions for features.

monomial1 reply#
Oh interesting. The datasheet for the PCM5102A says it supports line-level output with a minimum load of 1kΩ [1]. I think most headphones typically have an impedance of less than 100Ω. I'd guess the excess current results in some distortion or low volumes? It works fine in practice though?

[1] https://www.ti.com/document-viewer/pcm5102a/datasheet

fsniper1 reply#
I only checked it with a mdr-zx770bn. And it was OK. But as I did check that with a breadboard, any noise could be attributed to bad connections/emi.

Now I'll check it when I work on this next time. Probably in the upcoming days. ( Still my current protoboard would be only a tad bit better )

fsniper#
I rechecked it. There is no noise or distortion. In fact volume levels are pretty good. I am using some digital volume control and can't go too high.