pschatzmann / ESP32-A2DP

A Simple ESP32 Bluetooth A2DP Library (to implement a Music Receiver or Sender) that supports Arduino, PlatformIO and Espressif IDF
Apache License 2.0
1.55k stars 261 forks source link

PCM5102 DAC board - additional information for wiki #472

Closed benjaminaigner closed 10 months ago

benjaminaigner commented 10 months ago

Dear @pschatzmann ,

thank you very much for this library and the additional documentation!

Regarding this board: https://github.com/pschatzmann/ESP32-A2DP/wiki/External-DAC#pcm5102-dac

I've got mine, but struggled to get something out of it.

I noticed 4 jumpers on the back side, which are connected to:

2023-09-07-112835

Connecting them as shown, this board works (or maybe differently, if you recommend otherwise)

I would suggest to add this info to the wiki (you can use this picture of course).

Greetings

pschatzmann commented 10 months ago

Could you proved some more links that show what module exactly you talk about ?

I don't see any reason why you would need to change the De-emphasis control or Soft mute control.

Maybe your module has just a bug or something is not good with your wiring ?

joba-1 commented 10 months ago

I just reordered these, so I’m sure he means those:

Just found this amazing item on AliExpress. Check it out! 2,66€ 17% Off | Interface I2S PCM5102A DAC Decoder GY-PCM5102 I2S Player Module For Raspberry Pi pHAT Format Board Digital PCM5102 Audio Board https://a.aliexpress.com/_Ey4nsgb

There seems to be no manual or datasheet, so I had the same doubts when I first used them, cleared up by google: https://raspberrypi.stackexchange.com/a/94951

benjaminaigner commented 10 months ago

I just reordered these, so I’m sure he means those:

Just found this amazing item on AliExpress. Check it out! 2,66€ 17% Off | Interface I2S PCM5102A DAC Decoder GY-PCM5102 I2S Player Module For Raspberry Pi pHAT Format Board Digital PCM5102 Audio Board https://a.aliexpress.com/_Ey4nsgb

Exactly one of those, the front looks exactly like the picture from the wiki.

There seems to be no manual or datasheet, so I had the same doubts when I first used them, cleared up by google: https://raspberrypi.stackexchange.com/a/94951

I should have searched a little bit longer before getting the multimeter :-). In this thread, the jumpers have a default connection. In my case they were floating, so it was necessary to connect them.

I don't see any reason why you would need to change the De-emphasis control or Soft mute control. I don't see any reason to change it as well, but on these boards the pins are floating, and there is no statement in the datasheet for an internal pull up/down.

As these pins are not broken out on most boards, I thought they can be hardwired.

Maybe your module has just a bug or something is not good with your wiring ? After soldering the 4 jumpers, it works as expected, no sound output without soldered jumpers.

pschatzmann commented 10 months ago

OK, got it. Unfortunately I don't find the module that I used for testing so that I can double check how it was delivered. But I am sure it was just working as purchased.

The documentation has been updated.

mitchjs commented 10 months ago

and good practice on that module (which i also test with) solder the top jumper (SCK to gnd) as there is no need for master clock on this IC...

benjaminaigner commented 10 months ago

@pschatzmann

Thank you very much, I hope it will help many others to save time :-)

johangroe commented 7 months ago

Hi, I suggest to add some information to the last paragrph regarding this board. Just a simple hint to check, if the board has the solder bridges already presoldered. (my board from ebay didn't have any solder bridge already soldered at all.)