Skip to content

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.

Jumpers

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

Pinout

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

mt32-pi setup

This DAC requires no special configuration; simply enable IΒ²S output in your mt32-pi.cfg:

[audio]
output_device = i2s
Clone this wiki locally