CJMCU 5102 DAC module - dwhinham/mt32-pi GitHub Wiki
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.
Pinout
Connect your module to the Raspberry Pi as follows:
CJMCU-5102 pin | Physical Raspberry Pi pin | BCM pin |
---|---|---|
VCC |
2 | N/A |
3.3V |
N/A (unused) | N/A |
GND |
6 | N/A |
FLT |
9 (unused, grounded) | N/A |
DMP |
14 (unused, grounded) | N/A |
SCL |
20 (unused, grounded) | N/A |
BCK |
12 | 18 |
DIN |
40 | 21 |
LCK |
35 | 19 |
FMT |
25 (unused, grounded) | N/A |
XMT |
1 (unused, pulled high) | 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