{"product_id":"pirate-audio-headphone-amp","title":"Pirate Audio: Headphone Amp for Raspberry Pi","description":"\u003cp\u003eThe ultimate hackable headphone amp for your desk! Pirate Audio Headphone Amp for Raspberry Pi has an I2S DAC, headphone amplifier, high-res display, and playback control buttons.\u003c\/p\u003e\n\u003cp\u003eYou could use Pirate Audio Headphone Amp to build a tidy, pocket sized player for local audio files (MP3, FLAC, etc) or for streaming music from online services. To help get you started, w\u003cspan data-mce-fragment=\"1\"\u003ee've built plugins for Mopidy that will let you display gorgeous album art, play\/pause your tracks and adjust the volume.\u003c\/span\u003e The DAC and headphone amp will give you crisp digital amplified audio through your wired headphones. \u003c\/p\u003e\n\u003cp\u003ePirate Audio is a range of all-in-one 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 and installer to make setting it all up a breeze.\u003c\/p\u003e\n\u003ch2\u003eFeatures\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eAmplified digital audio (24-bit \/ 192KHz) over I2S\u003c\/li\u003e\n\u003cli\u003ePAM8908 headphone amplifier chip (\u003ca href=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0174\/1800\/files\/PAM8908.pdf?26824\" target=\"_blank\"\u003edatasheet\u003c\/a\u003e)\u003c\/li\u003e\n\u003cli\u003eLow-gain \/ high-gain switch (high-gain boosts by 12dB)\u003c\/li\u003e\n\u003cli\u003ePCM5100A DAC chip (\u003ca href=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0174\/1800\/files\/pcm5100a.pdf?26823\" target=\"_blank\"\u003edatasheet\u003c\/a\u003e)\u003c\/li\u003e\n\u003cli\u003e3.5mm stereo jack\u003c\/li\u003e\n\u003cli\u003e1.3\" IPS colour LCD (240x240px) (ST7789 driver)\u003c\/li\u003e\n\u003cli\u003eFour tactile buttons\u003c\/li\u003e\n\u003cli\u003eMini HAT-format board\u003c\/li\u003e\n\u003cli\u003e\u003cstrong\u003eFully-assembled\u003c\/strong\u003e\u003c\/li\u003e\n\u003cli\u003eCompatible with all 40-pin header Raspberry Pi models\u003c\/li\u003e\n\u003cli\u003e\u003ca href=\"https:\/\/github.com\/pimoroni\/pirate-audio\" target=\"_blank\"\u003ePirate Audio software\u003c\/a\u003e\u003c\/li\u003e\n\u003cli\u003eDimensions: 65x30.5x9.5mm\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2\u003eSoftware\u003c\/h2\u003e\n\u003cp\u003eOur \u003ca href=\"https:\/\/github.com\/pimoroni\/pirate-audio\" target=\"_blank\"\u003ePirate Audio software and installer\u003c\/a\u003e installs the Python library 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.\u003c\/p\u003e\n\u003cp\u003eHere's how to get started:\u003c\/p\u003e\n\u003col\u003e\n\u003cli\u003eSet an SD card up with the latest version of Raspberry Pi OS.\u003cbr\u003e\n\u003c\/li\u003e\n\u003cli\u003eConnect to Wi-Fi or a wired network.\u003c\/li\u003e\n\u003cli\u003eOpen a terminal and type the following:\u003cbr\u003e\u003cbr\u003e\u003ccode\u003egit clone https:\/\/github.com\/pimoroni\/pirate-audio\u003cbr\u003ecd pirate-audio\/mopidy\u003cbr\u003e.\/install.sh\u003c\/code\u003e\u003cbr\u003e\u003cbr\u003e\n\u003c\/li\u003e\n\u003cli\u003eReboot your Pi\u003cbr\u003e\n\u003c\/li\u003e\n\u003c\/ol\u003e\n\u003cp\u003e\u003cspan\u003eYou can find more detailed instructions here: \u003c\/span\u003e\u003ca href=\"https:\/\/github.com\/pimoroni\/pirate-audio\/tree\/master\/mopidy\" target=\"_blank\"\u003ehttps:\/\/github.com\/pimoroni\/pirate-audio\/tree\/master\/mopidy\u003c\/a\u003e\u003cspan\u003e or get tonnes more \u003c\/span\u003e\u003cspan\u003einfo\u003c\/span\u003e\u003cspan\u003e in our \u003c\/span\u003e\u003ca href=\"https:\/\/learn.pimoroni.com\/tutorial\/sandyj\/getting-started-with-pirate-audio\"\u003eGetting Started with Pirate Audio\u003c\/a\u003e\u003cspan\u003e tutorial.\u003c\/span\u003e\u003c\/p\u003e\n\u003ch2\u003eNotes\u003c\/h2\u003e\n\u003cp\u003e\u003cstrong\u003eNote 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!\u003c\/strong\u003e\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003eThe low-gain mode is recommended for most use-cases.\u003c\/li\u003e\n\u003cli\u003eThe DAC can be configured by adding \u003ccode\u003edtoverlay=hifiberry-dac\u003c\/code\u003e to the \u003ccode\u003e\/boot\/config.txt\u003c\/code\u003e file.\u003c\/li\u003e\n\u003cli\u003eThere is a DAC enable pin—BCM 25— that must be driven high to enable the DAC. You can do this by adding \u003ccode\u003egpio=25=op,dh\u003c\/code\u003e to the \u003ccode\u003e\/boot\/config.txt\u003c\/code\u003e file.\u003c\/li\u003e\n\u003cli\u003eThe buttons are active low, and connected to pins BCM 5, 6, 16, and 24.\u003c\/li\u003e\n\u003cli\u003eThe display uses SPI, and you'll need to enable SPI through the Raspberry Pi configuration menu.\u003c\/li\u003e\n\u003cli\u003eIf 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 \u003ca href=\"\/en-eu\/products\/booster-header\" target=\"_blank\"\u003ebooster header\u003c\/a\u003e to raise it up a little.\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"Pimoroni","offers":[{"title":"Default Title","offer_id":31189750480979,"sku":"PIM482","price":21.95,"currency_code":"EUR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0174\/1800\/products\/pirate-audio-2.jpg?v=1574158622","url":"https:\/\/shop.pimoroni.com\/en-eu\/products\/pirate-audio-headphone-amp","provider":"Pimoroni Ltd","version":"1.0","type":"link"}