Component guide · Beginner · 4 min read
Raspberry Pi Audio HATs

Official DAC+, DAC Pro and DigiAMP+, Waveshare PCM5122, HiFi DAC, Pirate Audio, X400, ReSpeaker 4-Mic and X1300-A2 HDMI Audio
By Geekobot Learning Team · Updated 29 Oct 2026
On this page
The Pi's own headphone jack is noisy, and the Pi 5 has none. An I2S audio HAT gives clean hi-fi sound: DAC+ and PCM5122 boards for line out, DAC Pro for the best quality, DigiAMP+ to drive passive speakers directly, Pirate Audio for headphones or a small speaker with a screen, and the ReSpeaker 4-mic array for voice assistants.
Key specs at a glance
- Interface
- I2S on GPIO18, 19, 20, 21
- DAC chips
- PCM5122, PCM5242, TAS5756 amp
- Quality
- 24 to 32-bit, up to 384 kHz
- Outputs
- RCA, 3.5 mm, speaker terminals
- Inputs
- Mic arrays on ReSpeaker
- Uses
- Music streamers, radios, voice assistants
Models in this guide
These are alternatives. Pick the one that fits your project; you only need one.
Option 1Raspberry Pi DAC+ HiFi Audio HAT (24-bit 192kHz)₹1,669
Option 2Raspberry Pi DAC Pro 32-bit/384kHz Audio HAT₹2,549
Option 3Raspberry Pi DigiAMP+ High-Performance Audio HAT₹2,879
Option 4Waveshare PCM5122 HiFi DAC HAT for Raspberry Pi₹1,400
Option 5HiFi DAC+ Sound Card w/ I2S Port for Raspberry Pi₹2,429
Option 6Pimoroni Pirate Audio Headphone Amplifier for Raspberry Pi₹2,489
What the Raspberry Pi audio DAC, amplifier and microphone HATs is
Raspberry Pi audio DAC HATs, such as HiFiBerry and IQaudio boards, add high-quality audio output (and sometimes amplifiers or inputs) over I2S for music players and speakers.
The official Raspberry Pi HATs carry an EEPROM so Raspberry Pi OS loads the driver automatically. Others need one dtoverlay line, such as hifiberry-dacplus or iqaudio-dacplus.
The DigiAMP+ needs its own 12 to 24V supply and powers the Pi from it. Pirate Audio boards add a 240x240 display and four buttons.
Raspberry Pi audio DAC, amplifier and microphone HATs pinout
The pins on the Raspberry Pi audio DAC, amplifier and microphone HATs and what each one does.
| Pin | Function |
|---|---|
| I2S (GPIO18, 19, 20, 21) | Digital audio from the Pi |
| I2C (GPIO2, 3) | Volume and DAC control |
| Outputs | RCA, 3.5 mm or speaker terminals |
| DC in (amps) | 12 to 24V on DigiAMP+ |
- I2S (GPIO18, 19, 20, 21)
- Digital audio from the Pi
- I2C (GPIO2, 3)
- Volume and DAC control
- Outputs
- RCA, 3.5 mm or speaker terminals
- DC in (amps)
- 12 to 24V on DigiAMP+
Wiring the Raspberry Pi audio DAC, amplifier and microphone HATs
Turn the volume down before first playback. Connect passive speakers only to amplifier HATs, never to line-out DAC boards.
| Raspberry Pi audio DAC, amplifier and microphone HATs pin | Connection | Note |
|---|---|---|
| HAT | Press onto the 40-pin header | Standoffs for stability |
| Speakers | Speaker terminals on amp boards | Passive speakers only |
| Line out | RCA or 3.5 mm to an amplifier | - |
- HAT
- Connection:
- Press onto the 40-pin header
- Note:
- Standoffs for stability
- Speakers
- Connection:
- Speaker terminals on amp boards
- Note:
- Passive speakers only
- Line out
- Connection:
- RCA or 3.5 mm to an amplifier
- Note:
- -
Example code
Common overlays: iqaudio-dacplus (official DAC+, DigiAMP+), hifiberry-dacplus (PCM5122 boards), hifiberry-dac (Pirate Audio). Music streamers such as Volumio and moOde detect most of these boards.
# Official HATs load automatically. For others, add the overlay:
echo "dtoverlay=hifiberry-dacplus" | sudo tee -a /boot/firmware/config.txt
sudo reboot
aplay -l # the DAC is listed as a card
speaker-test -c2 -t wav # left / right voice testSetup and tuning
add the right dtoverlay (such as hifiberry-dac) in config.txt and disable onboard audio if needed.
use Volumio, moOde or PipeWire for playback.
feed them from a suitable supply (often 12 to 24 V) that also powers the Pi.
match speaker impedance to the amplifier rating.
avoid ground loops with separate supplies.
What you need
Shop this list14 of 14 found in our store · ₹35,273
Raspberry Pi DAC+ HiFi Audio HAT (24-bit 192kHz): the part this guide coversRaspberry Pi DAC+ HiFi Audio HAT (24-bit 192kHz)₹1,669
Raspberry Pi DAC Pro 32-bit/384kHz Audio HAT: another version this guide coversRaspberry Pi DAC Pro 32-bit/384kHz Audio HAT₹2,549
Raspberry Pi DigiAMP+ High-Performance Audio HAT: another version this guide coversRaspberry Pi DigiAMP+ High-Performance Audio HAT₹2,879
Waveshare PCM5122 HiFi DAC HAT for Raspberry Pi: another version this guide coversWaveshare PCM5122 HiFi DAC HAT for Raspberry Pi₹1,400
HiFi DAC+ Sound Card w/ I2S Port for Raspberry Pi: another version this guide coversHiFi DAC+ Sound Card w/ I2S Port for Raspberry Pi₹2,429
Pimoroni Pirate Audio Headphone Amplifier for Raspberry Pi: another version this guide coversPimoroni Pirate Audio Headphone Amplifier for Raspberry Pi₹2,489
Pimoroni Pirate Audio Speaker HAT for Raspberry Pi: another version this guide coversPimoroni Pirate Audio Speaker HAT for Raspberry Pi₹2,149
Pimoroni Pirate Audio: Line-out HAT for Raspberry Pi: another version this guide coversPimoroni Pirate Audio: Line-out HAT for Raspberry Pi₹2,489
Raspberry Pi X400 V3.0 Multifunctional Audio Expansion Board: another version this guide coversRaspberry Pi X400 V3.0 Multifunctional Audio Expansion Board₹3,789
Seeed Studio ReSpeaker 4-Mic Array for Raspberry Pi: another version this guide coversSeeed Studio ReSpeaker 4-Mic Array for Raspberry Pi₹4,038
Geekworm X1300-A2 I2S HDMI Audio Board for X1300/X630: another version this guide coversGeekworm X1300-A2 I2S HDMI Audio Board for X1300/X630₹939
Raspberry Pi 5 (4 GB): the board the HAT stacks onGeekworm Raspberry Pi 5 PoE HAT 802.3af/at (USB-C)₹2,659Closest match, check the specs
Raspberry Pi 4 Model B (4 GB): works with all 40-pin HATsRaspberry Pi 4 Model B 1GB RAM₹4,476Closest match, check the specs
Official 27W USB-C power supply for Pi 5: for CM5 and Pi 5 buildsOfficial 27W USB-C PD Power Supply for Raspberry Pi 5 – IN Plug₹1,319
Alternatives and when to choose them
- Pi HATs explained: stacking rules.
- HDMI to CSI bridges: HDMI audio capture.
- Pi touch displays: build a music player.
Common mistakes to avoid
- Forgetting the overlay.
- Connecting speakers to a DAC-only HAT.
- Weak supply for amp HATs.
- Ground loops.
Frequently asked questions
How do I enable my DAC HAT?
Add the board's dtoverlay line to config.txt, then reboot and select it as the audio output.
Why is there no sound?
The overlay is missing or the default audio device is not set.
Can the DAC drive speakers directly?
No, only amp HATs can; DACs need an amplifier.
Which software is best for music?
Volumio or moOde are easy, ready-made music player systems for DAC HATs.
Why do I hear hum?
Hum usually comes from ground loops; power everything from one supply or isolate the grounds.
Parts for this guide
Keep learning
Sources
Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.


