Same-day dispatch before 2 PM · Free delivery over ₹999 · GST invoices Get the appPrices incl. GST
Geekobot
Snap & SendNEWGeeko AIWhere's myOrder
Log in
Products
  • Projects
    • Component guidesHow parts work, with code you can run
    • Learning pathsFrom your first LED to your first robot
    • Workshops & eventsOnline sessions for makers and classes
    • ElectrolarkFree guided builds, simulator and certificates
    • Students & teachersStudent discount and classroom help
    • CommunityShare builds and ask other makers
    • CalculatorsOhm's law, LED resistor, 555 and 100+ more
    • Circuit builderWire parts and run the circuit, powered by Electrolark
    • Geeko AIAsk what to buy or how to wire it
    • Snap & SendPhotograph a part or list, we find it
    • Part finderAnswer a few questions, get the right part
    • Compatibility checkWill these two parts work together?
    • Compare partsSpecs side by side
    • Business & bulk ordersGST invoices, credit and volume prices
    • Request a quotationSend your list, get a quote
    • Classroom kitsPer-student kits and lab bundles
    • Gift cardsFor students, teams and events
  • Atal Tinkering Lab
BOM to cart
Geekobot

Components, kits and know-how for makers, students, engineers, labs and businesses across India.

Ask Geeko AIOrders, parts and projects, any timeEmail supportReply within 1 working dayGet the Geekobot appAdd it to your home screen, free

Follow us

Shop

  • Boards & SBCs
  • Sensors & Modules
  • IoT & Wireless
  • Drone & FPV
  • 3D Printing
  • Filaments & Resins
  • Motors & Drivers
  • Power & Batteries
  • Semiconductors
  • Passive
  • Displays & LEDs
  • Switches & Relays
  • Wires & Cables
  • Prototyping
  • Tools & Test
  • Robotics
  • STEM Kits
  • Atal Tinkering Lab
  • Mechanical Parts
  • Audio

Orders

  • Track your order
  • Help & support
  • Shipping and delivery
  • Refunds and cancellation
  • Contact us

Learn

  • Projects
  • Geeko AI project assistant
  • Learning paths
  • Guides
  • Calculators
  • Electrolark: free guided builds

Part tools

  • Part finder
  • Compare parts
  • Will it work with my board?

Institutions

  • Classroom kits
  • Atal Tinkering Lab
  • Students & teachers
  • Workshops & Events

Business

  • Business & education
  • Request a quotation
  • BOM bulk upload
  • Quick order by SKU

Company

  • About Geekobot
  • Community
  • Gift cards
  • Terms & conditions
  • Privacy policy
  • Product directory
  • Sitemap

© 2026 Geekobot, a trade name of OLatus Systems Private Limited. All rights reserved.

20, 1st Floor, Neeladri Complex, 10th Cross, Sampige Rd, 2nd Main, Malleshwaram, Bengaluru, Karnataka 560003 · GSTIN 29AACCO0462F1ZM

+91 91810 15607 · connect@geekobot.in · Monday to Saturday, 10 AM to 2 PM IST

UPI · CARDS · NETBANKING · GST INVOICES

ShopProjectsGeeko AIGuides
Compare 0 parts →
Log in

Shop by category

Shop all components
  • Boards & SBCs1,910 products
    • Alternative Single Board Computers
    • Arduino Ecosystem
    • FPGA & Logic Boards
    • Microcontroller & Wireless Boards
    View all
  • Sensors & Modules4,701 products
    • Biomedical & Heart Rate
    • Current, Voltage & Power
    • Force, Weight & Pressure
    • Gas, Weather & Environmental
    View all
  • IoT & Wireless2,314 products
    • RF Modules
    • RFID & NFC
    • Antennas & RF Accessories
    • Cameras & Smart Vision
    View all
  • Drone & FPV3,558 products
    • Flight Control & Navigation
    • FPV Video & Optics
    • Frames & Structural Parts
    • Motors & Propulsion
    View all
  • 3D Printing2,204 products
    • 3D Printers
    • 3D Scanners & Digitizers
    • Laser Engravers & Cutters
    • Material Management & Upgrades
    View all
  • Filaments & Resins1,472 products
    • Filaments
    • Photopolymer Resins
    View all
  • Motors & Drivers463 products
    • BLDC Motor Drivers
    • DC & Geared Motors
    • DC Motor Drivers
    • Linear Actuators & Solenoids
    View all
  • Power & Batteries557 products
    • Battery Holders & Connectors
    • Breadboard Power
    • Chargers & BMS
    • DC-DC Converters
    View all
  • Semiconductors295 products
    • Diodes & Rectifiers
    • Interface & RF Encoder ICs
    • Logic ICs (74xx)
    • Logic ICs (CD4000)
    View all
  • Passive67 products
    • Capacitors
    • Circuit Protection
    • Crystals & Oscillators
    • Inductors
    View all
  • Displays & LEDs572 products
    • 7-Segment & Dot Matrix
    • Addressable LEDs
    • Character LCDs
    • Graphic LCDs
    View all
  • Switches & Relays184 products
    • Keypads & Touch
    • Push Buttons & Tactile
    • Relay Modules
    • Relays
    View all
  • Wires & Cables233 products
    • Board-to-Wire Connectors
    • Crimp & Splice
    • Headers & Dupont
    • Heat Shrink & Sleeving
    View all
  • Prototyping101 products
    • Breadboards
    • Interface Modules
    • PCBs & Perfboards
    View all
  • Tools & Test717 products
    • Bench Power Supplies
    • Hand Tools
    • Measuring Tools
    • Meters & Testers
    View all
  • Robotics180 products
    • Humanoid & Legged Robots
    • Robot Chassis & Platforms
    • Robotic Arms & Grippers
    • Wheels & Casters
    View all
  • STEM Kits268 products
    • Arduino Learning Kits
    • Coding & IoT Kits
    • Early Coding (Ages 3-8)
    • Invention Kits
    View all
  • Atal Tinkering Lab196 products
    • Package 1: Electronics, Robotics, IoT and Sensors
    • Package 2: Rapid Prototyping Tools
    • Package 3: Mechanical, Electrical and Measurement Tools
    • Package 4: Power Supply, Accessories and Safety Equipment
    View all
  • Mechanical Parts212 products
    • Bearings
    • Brackets & Mounts
    • Couplers
    • Fasteners & Standoffs
    View all
  • Audio109 products
    • Amplifier Modules
    • Buzzers & Sirens
    • Speakers
    View all
  1. Home
  2. ›Guides
  3. ›Boards & Microcontrollers
  4. ›Raspberry Pi Audio HATs

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
Short answerWhat the Raspberry Pi audio DAC, amplifier and microphone HATs isRaspberry Pi audio DAC, amplifier and microphone HATs pinoutWiring the Raspberry Pi audio DAC, amplifier and microphone HATsExample codeSetup and tuningWhat you needAlternatives and when to choose themCommon mistakesFAQsParts and next steps
Short answer

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
01

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.

02

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.

PinFunction
I2S (GPIO18, 19, 20, 21)Digital audio from the Pi
I2C (GPIO2, 3)Volume and DAC control
OutputsRCA, 3.5 mm or speaker terminals
DC in (amps)12 to 24V on DigiAMP+
PinFunction
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+
03

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 pinConnectionNote
HATPress onto the 40-pin headerStandoffs for stability
SpeakersSpeaker terminals on amp boardsPassive speakers only
Line outRCA 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:
-
04

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.

Enable the DAC and play a test sound · bash
# 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 test
05

Setup and tuning

Overlay

add the right dtoverlay (such as hifiberry-dac) in config.txt and disable onboard audio if needed.

Software

use Volumio, moOde or PipeWire for playback.

Amplifier HATs

feed them from a suitable supply (often 12 to 24 V) that also powers the Pi.

Speakers

match speaker impedance to the amplifier rating.

Grounding

avoid ground loops with separate supplies.

06

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
07

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.
08

Common mistakes to avoid

  • !Forgetting the overlay.
  • !Connecting speakers to a DAC-only HAT.
  • !Weak supply for amp HATs.
  • !Ground loops.
09

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

  • Raspberry Pi DAC+ HiFi Audio HAT (24-bit 192kHz)
    ₹1,669View
  • Raspberry Pi DAC Pro 32-bit/384kHz Audio HAT
    ₹2,549View
  • Raspberry Pi DigiAMP+ High-Performance Audio HAT
    ₹2,879View
  • Waveshare PCM5122 HiFi DAC HAT for Raspberry Pi
    ₹1,400View
  • HiFi DAC+ Sound Card w/ I2S Port for Raspberry Pi
    ₹2,429View
  • Pimoroni Pirate Audio Headphone Amplifier for Raspberry Pi
    ₹2,489View
  • Pimoroni Pirate Audio Speaker HAT for Raspberry Pi
    ₹2,149View
  • Pimoroni Pirate Audio: Line-out HAT for Raspberry Pi
    ₹2,489View
  • Raspberry Pi X400 V3.0 Multifunctional Audio Expansion Board
    ₹3,789View
  • Seeed Studio ReSpeaker 4-Mic Array for Raspberry Pi
    ₹4,038View
  • Geekworm X1300-A2 I2S HDMI Audio Board for X1300/X630
    ₹939View
  • Raspberry Pi 5 with 4GB RAM
    ₹14,079View
  • Raspberry Pi 4 Model B with 4GB RAM
    ₹11,461View
  • Official 27W USB-C PD Power Supply for Raspberry Pi 5 – IN Plug
    ₹1,319View
Shop Expansion Boards & HATs

Keep learning

Buying guideBeginnerRaspberry Pi HATs ExplainedA Raspberry Pi HAT is an add-on board in the standard 65 x 56.5 mm size that plugs onto the 40-pin GPIO header.4 min read · Boards & MicrocontrollersComparisonBeginnerRaspberry Pi Models ComparedWhich Raspberry Pi should you buy? Compare Pi 5, Pi 4, Zero 2 W, Pico, Compute Modules and Pi 500 by speed, RAM, ports, power needs and best use.3 min read · Boards & MicrocontrollersBuying guideBeginnerRaspberry Pi Power Supplies and CablesPower a Raspberry Pi correctly: 5 V 5 A for Pi 5, 5 V 3 A for Pi 4, USB-C PD, cables with switches, undervoltage warnings, 18650 holders and UPS options.3 min read · Boards & Microcontrollers

Sources

  • Raspberry Pi audio HAT documentation
  • Waveshare PCM5122 wiki

Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.

On this page
Short answerWhat the Raspberry Pi audio DAC, amplifier and microphone HATs isRaspberry Pi audio DAC, amplifier and microphone HATs pinoutWiring the Raspberry Pi audio DAC, amplifier and microphone HATsExample codeSetup and tuningWhat you needAlternatives and when to choose themCommon mistakesFAQsParts and next steps
Need a hand?Ask Geeko AI which part fits your project, or talk to the Geekobot team.Ask Geeko AIHelp & support

Parts for this guide8 items · ₹20,442

Raspberry Pi DAC+ HiFi Audio HAT (24-bit 192kHz) · Raspberry Pi DAC Pro 32-bit/384kHz Audio HAT · Raspberry Pi DigiAMP+ High-Performance Audio HAT · HiFi DAC+ Sound Card w/ I2S Port for Raspberry Pi · Pimoroni Pirate Audio Headphone Amplifier for Raspberry Pi · Pimoroni Pirate Audio Speaker HAT for Raspberry Pi · Pimoroni Pirate Audio: Line-out HAT for Raspberry Pi · Raspberry Pi X400 V3.0 Multifunctional Audio Expansion Board

Ask the Community

Ask a question