Convert any existing speaker you have to a fully local, home assistant compatible media player able to send announcments and sync music with music assistant. With just two parts!
Forked from https://github.com/rgnyldz/rgnlabs-mediaplayer He has a video here: https://youtu.be/qrFpkbAZsBY I've added the ability to add to Music-Assistant as a sendspin player capable of syncing with other players. Perfect for powered speakers and amplifiers.
If anyone knows how to add bluetooth streaming, feel free to make a pull request.
Parts used;
- ESP32-S3
- PCM5102A Dac
The PCM5102A module has five Jumpers/Solder Bridges that need to be set correctly for the board to work with an ESP32. They switch the following functions below, depending if connected to High or Low. The settings you want are marked in bold:
- SCK = Master Clock: Low if not external master clock signal is provided
- H1L / FLT = Filter select : Normal latency (Low) / Low latency (High)
- H2L / DEMP = De-emphasis control for 44.1kHz sampling rate: Off (Low) / On (High)
- H3L / XSMT = Soft mute control: Soft mute (Low) / soft un-mute (High)
- H4L / FMT = Audio format selection I2S : Right justified (Low) / Left justified (High)
https://www.makerguides.com/playing-audio-with-esp32-and-pcm5102/#Function_Jumpers
Solder these pads:
- SCK - Front of the board
- H1L - LOW
- H2L - LOW
- H3L - HIGH
- H4L - LOW