{"title":"Pirate Audio: Headphone Amp for Raspberry Pi","handle":"pirate-audio-headphone-amp-for-raspberry-pi","url":"/products/pirate-audio-headphone-amp-for-raspberry-pi","description":"The ultimate hackable headphone amp for your desk! Pirate Audio Headphone Amp for Raspberry Pi has&nbsp;an&nbsp;I2S DAC, headphone amplifier,&nbsp;high-res display, and&nbsp;playback control buttons.Build your own&nbsp;home-brew iPod Nano with Pirate Audio Headphone Amp!&nbsp;It's an all-in-one solution, with gorgeous album art display, track info, and playback controls, for playing your&nbsp;local audio files (MP3, FLAC, etc) or streaming music from Spotify. The DAC and headphone amp&nbsp;give you crisp digital amplified audio through your wired headphones.Pirate Audio is a range of all-in-one&nbsp;audio boards for Raspberry Pi, with high-quality digital audio, beautifully-crisp IPS displays for album art, tactile buttons for playback control, and our custom Pirate Audio software&nbsp;and installer to make setting it all up&nbsp;a breeze.Features\nAmplified digital audio (24-bit / 192KHz)&nbsp;over I2S\nPAM8908 headphone amplifier chip (datasheet)\nLow-gain / high-gain switch (high-gain boosts by 12dB)\nPCM5100A DAC chip (datasheet)\n3.5mm stereo jack\n1.3\" IPS colour LCD (240x240px) (ST7789 driver)\nFour tactile buttons\nMini HAT-format board\nFully-assembled\nCompatible with all 40-pin header Raspberry Pi models\nPirate Audio software\nDimensions: 65x30.5x9.5mm\nSoftwareOur&nbsp;Pirate Audio software and installer&nbsp;installs the Python library&nbsp;for the LCD, configures the I2S audio and SPI, and then installs Mopidy and our custom Pirate Audio plugins to display album art and track info, and to use the buttons for playback control.Here's how to get started:\nSet an SD card up with the latest version of Raspbian.\nConnect to Wi-Fi or a wired network.\nOpen a terminal and type the following:git clone https://github.com/pimoroni/pirate-audiocd pirate-audio/mopidysudo ./install.sh\n\nReboot your Pi\nYou can find more detailed instructions here:&nbsp;https://github.com/pimoroni/pirate-audio/tree/master/mopidy&nbsp;or get tonnes more&nbsp;info&nbsp;in our&nbsp;Getting Started with Pirate Audio&nbsp;tutorial.NotesNote that our installer, linked above, does all of the below for you, but if you're an intrepid hacker then you might need to know this stuff!\nThe low-gain mode is recommended for most use-cases.\nThe DAC can be configured by adding&nbsp;dtoverlay=hifiberry-dac&nbsp;to the&nbsp;/boot/config.txt&nbsp;file.\nThere is a DAC&nbsp;enable pin—BCM 25— that must be driven high to enable the DAC. You can do this by adding&nbsp;gpio=25=op,dh&nbsp;to the&nbsp;/boot/config.txt&nbsp;file.\nThe buttons are active low, and connected to pins&nbsp;BCM 5, 6, 16, and 20\nThe display uses SPI, and you'll need to enable SPI through the Raspberry Pi configuration menu.\nIf you want to use these boards with a Pibow Coupé case (either for the Zero / Zero W or Pi 4), then you'll need to use a booster header to raise it up a little.\n","vendor":"Little Bird","product_type":"physical","in_stock":false,"options":[],"variants":[{"id":4490,"title":"Default Title","sku":"PR-PIM482","price":48.39,"on_sale":false,"in_stock":false,"available_quantity":0,"option1":"Default Title"}]}