Introduction
The Comimark GY-PCM5102 is an I2S PCM5102 DAC decoder module designed to provide high-quality digital audio output for Raspberry Pi systems. This module converts digital audio signals with precision, delivering clear and enhanced sound. It is suitable for various multimedia projects, including building compact audio players or upgrading the audio capabilities of DIY electronics projects.
Product Overview
Key Features
- High-Quality DAC Decoder: Incorporates the PCM5102 DAC decoder for precise conversion of digital audio signals, ensuring excellent sound quality.
- I2S Interface Compatibility: Seamlessly interfaces with Raspberry Pi via the I2S connection, enabling straightforward integration into Raspberry Pi-based audio projects.
- Enhanced Audio Output: Delivers clear and enhanced audio performance, suitable for applications like music playback, audio streaming, and multimedia presentations.
- Versatile Application: Can be used to create a dedicated audio player or to upgrade the audio subsystem in a wide range of Raspberry Pi DIY electronics projects.
- Compact and Efficient: Its compact design makes it space-efficient while still providing powerful audio decoding and playback capabilities.
What's in the Box
- 1 x Comimark Interface I2S PCM5102 DAC Decoder GY-PCM5102 I2S Player Module for Raspberry Pi
Setup Instructions
This section guides you through connecting the GY-PCM5102 DAC module to your Raspberry Pi and configuring it for audio output.
1. Pin Connections
Identify the pins on the GY-PCM5102 module and connect them to the corresponding GPIO pins on your Raspberry Pi. Refer to the image below for pin identification on the module.

Image 1: Top view of the Comimark GY-PCM5102 DAC module. This image highlights the various pin labels including LRCOUT, AGND, ROUT, A3U3, FMT, XSI, SCK, BCK, DIN, LRCK, GND, and VIN, along with product specifications for power supply voltage (5V), type (I2S DAC decoder), and model (PCM5102).
Typical connections are as follows (consult your Raspberry Pi's GPIO pinout for exact locations):
- VIN (Voltage Input): Connect to a 5V power supply pin on the Raspberry Pi.
- GND (Ground): Connect to a Ground pin on the Raspberry Pi.
- SCK (System Clock): Connect to the BCLK (Bit Clock) pin on the Raspberry Pi.
- BCK (Bit Clock): Connect to the LRCLK (Left/Right Clock) pin on the Raspberry Pi.
- DIN (Data In): Connect to the DATA (I2S Data) pin on the Raspberry Pi.
- LRCK (Left/Right Clock): Connect to the MCLK (Master Clock) pin on the Raspberry Pi.
The audio output is available via the 3.5mm stereo jack (LINE OUT) or the LRCOUT/ROUT/AGND pins for custom connections.
2. Software Configuration (Raspberry Pi)
After physical connection, you need to configure your Raspberry Pi's operating system to use the I2S DAC module.
- Update your Raspberry Pi: Open a terminal and run:
sudo apt update && sudo apt upgrade -y - Enable I2S and DAC Overlay: Edit the Raspberry Pi configuration file:
Add or uncomment the following line:sudo nano /boot/config.txt
Then, add the specific DAC overlay for PCM5102. The exact overlay name might vary, but common ones include:dtparam=i2s=on
ordtoverlay=hifiberry-dac
Save the file (Ctrl+O, Enter) and exit (Ctrl+X).dtoverlay=rpi-dac - Reboot your Raspberry Pi:
sudo reboot - Verify Audio Device: After reboot, check if the DAC is recognized:
You should see an entry for the PCM5102 or a similar I2S DAC.aplay -l
Operating Instructions
Once the module is set up and configured, you can begin playing audio through it.
- Connect Audio Output: Plug your headphones or speakers into the 3.5mm audio jack on the GY-PCM5102 module.
- Play Audio: Use any audio playback software on your Raspberry Pi (e.g., VLC, MPlayer, or command-line tools like
aplay) to play audio files. Ensure that the audio output is directed to the newly configured I2S DAC. You might need to select it as the default audio device in your system settings or playback application. - Volume Control: Adjust the volume using your Raspberry Pi's software volume controls (e.g.,
alsamixerin the terminal or desktop environment volume sliders).

Image 2: Angled view of the Comimark GY-PCM5102 DAC module, showing the 3.5mm audio jack for output and the compact arrangement of electronic components on the board.
Maintenance
To ensure the longevity and optimal performance of your Comimark GY-PCM5102 DAC module, follow these maintenance guidelines:
- Keep Clean: Regularly clean the module with a soft, dry, anti-static cloth. Avoid using liquids or abrasive cleaners.
- Handle with Care: Electronic components are sensitive. Avoid dropping the module or subjecting it to physical shock.
- Static Discharge: Always handle the module in an environment free from static electricity. Use an anti-static wrist strap if possible.
- Environmental Conditions: Store and operate the module in a dry environment, away from extreme temperatures, humidity, and direct sunlight.
- Inspect Connections: Periodically check all pin connections to ensure they are secure and free from corrosion.
Troubleshooting
If you encounter issues with your Comimark GY-PCM5102 DAC module, refer to the following troubleshooting steps:
- No Sound Output:
- Verify all pin connections are correct and secure.
- Ensure the Raspberry Pi is powered on and functioning correctly.
- Check the software configuration (
/boot/config.txt) to confirm I2S is enabled and the correct DAC overlay is loaded. - Verify the DAC is recognized by running
aplay -l. - Ensure the audio output device is selected correctly in your playback software or system settings.
- Check the volume levels on both the Raspberry Pi and your connected audio device.
- Distorted or Poor Quality Sound:
- Ensure the power supply to the Raspberry Pi and the DAC module is stable (5V).
- Check for any loose connections or damaged wires.
- Inspect the module for any visible damage, such as bent pins or poor solder joints. (One user reported issues with dry solder; careful inspection may be necessary).
- Try a different audio file or source to rule out issues with the input audio.
- Module Not Detected:
- Double-check all wiring against the Raspberry Pi's GPIO pinout.
- Confirm that
dtparam=i2s=onand the correctdtoverlayare present in/boot/config.txt. - Reboot the Raspberry Pi after any configuration changes.

Image 3: Angled view of the Comimark GY-PCM5102 DAC module. The accompanying text states that the module provides Raspberry Pi with super affordable high-quality DAC, delivering much better digital audio than on-board analog audio, and features welded stereo jacks.
Specifications
| Feature | Detail |
|---|---|
| Brand | Comimark |
| Model Number | GY-PCM5102 (Item model number: LY370) |
| DAC Chip | PCM5102 |
| Interface Type | I2S |
| Mounting Type | Board Mount |
| Number of Channels | 2 (Stereo) |
| Power Supply Voltage | 5V |
| Material | Printed Circuit Board |
| Item Weight | 0.634 ounces |
| Package Dimensions | 4.8 x 3.15 x 0.28 inches |
| UPC | 657835677039 |
Warranty and Support
For specific warranty information and technical support, please refer to the documentation provided by your retailer or contact Comimark directly. General product support and resources for Raspberry Pi I2S DACs can also be found in online communities and forums dedicated to Raspberry Pi development.





