-
-
Notifications
You must be signed in to change notification settings - Fork 81
GY PCM5102 DAC module
Dale Whinham edited this page Jan 13, 2021
·
4 revisions
This inexpensive DAC module can be found on AliExpress and other places like eBay for very little money. It features the Texas Instruments PCM5102A on a small breakout board with integrated 3.5mm jack.
The module has four solder-pad jumpers on the back which must be set correctly before sound will be produced. Some boards arrive with no jumpers soldered at all, or configured incorrectly, so be sure to check it and (re)solder the pads.
Ensure your board is configured as shown in the picture above, that is:
- 1 = L
- 2 = L
- 3 = H
- 4 = L
Connect your module to the Raspberry Pi as follows:
GY-PCM5102 pin | Physical Raspberry Pi pin | BCM pin |
---|---|---|
SCK |
9 (unused, grounded) | N/A |
BCK |
12 | 18 |
DIN |
40 | 21 |
LCK |
35 | 19 |
GND |
6 | N/A |
VIN |
2 | N/A |
This DAC requires no special configuration; simply enable IΒ²S output in your mt32-pi.cfg
:
[audio]
output_device = i2s
Β© Dale Whinham 2020-2022. Released under the GNU General Public License v3.0.