{"product_id":"pirate-audio-headphone-amp-for-raspberry-pi-discontinued","title":"Pirate Audio: Headphone Amp for Raspberry Pi [Discontinued]","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\u003eBuild your own home-brew iPod Nano with Pirate Audio Headphone Amp! It's an all-in-one solution, with gorgeous album art display, track info, and playback controls, for playing your local audio files (MP3, FLAC, etc) or streaming music from Spotify. The DAC and headphone amp 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 (datasheet)\u003c\/li\u003e\n\u003cli\u003eLow-gain \/ high-gain switch (high-gain boosts by 12dB)\u003c\/li\u003e\n\u003cli\u003ePCM5100A DAC chip (datasheet)\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\u003ePirate Audio software\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\u003cspan\u003e \u003c\/span\u003ePirate Audio software and installer\u003cspan\u003e \u003c\/span\u003einstalls 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 Raspbian.\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\u003esudo .\/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\u003eYou can find more detailed instructions here: https:\/\/github.com\/pimoroni\/pirate-audio\/tree\/master\/mopidy\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\u003cspan\u003e \u003c\/span\u003e\u003ccode\u003edtoverlay=hifiberry-dac\u003c\/code\u003e\u003cspan\u003e \u003c\/span\u003eto the\u003cspan\u003e \u003c\/span\u003e\u003ccode\u003e\/boot\/config.txt\u003c\/code\u003e\u003cspan\u003e \u003c\/span\u003efile.\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\u003cspan\u003e \u003c\/span\u003e\u003ccode\u003egpio=25=op,dh\u003c\/code\u003e\u003cspan\u003e \u003c\/span\u003eto the\u003cspan\u003e \u003c\/span\u003e\u003ccode\u003e\/boot\/config.txt\u003c\/code\u003e\u003cspan\u003e \u003c\/span\u003efile.\u003c\/li\u003e\n\u003cli\u003eThe buttons are active low, and connected to pins BCM 5, 6, 16, and 20\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\u003cspan\u003e \u003c\/span\u003ebooster header\u003cspan\u003e \u003c\/span\u003eto raise it up a little.\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"Pimoroni","offers":[{"title":"Default Title","offer_id":51616985153842,"sku":"sdn1787257880519","price":13.82,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0935\/0289\/8482\/files\/pirate-audio-headphone-amp-for-raspberry-pi-discontinued_1.jpg?v=1787257885","url":"https:\/\/www.mapleborough.shop\/products\/pirate-audio-headphone-amp-for-raspberry-pi-discontinued","provider":"My Store","version":"1.0","type":"link"}