Yet another PCM1808 ADC + PCM5102 DAC project #2172
alw1746
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
There are similar projects where a PCM1808 ADC is used to connect an analog audio source, run through an ESP32 with Audio Tools and output to a PCM5102 DAC and stereo amp. But the information is a bit scattered and lacking in detail so I created this little setup complete with image, code and schematic. If you follow this exactly, music will flow and all is golden.
Sketch
The PCM1808 board is a generic ebay item while the PCM5102 is from Adafruit. Note, I tried to convert the 32-bit input from PCM1808 to a 16-bit depth for the PCM5102 but all I got was silence so not sure why it did not work. See the commented lines in sketch. Ignore the potentiometer connections, they are leftover from a previous project.
Beta Was this translation helpful? Give feedback.
All reactions