Pirate Audio: Amplificador 3W Stereo para Raspberry Pi
Informação do fabricante:
Bring an old radio or set of speakers into the 21st century with Pirate Audio 3W Stereo Amp for Raspberry Pi!
Get punchy digital audio through the push-fit terminals and control your music with the built-in colour LCD and playback control buttons.
The push-fit connectors on Pirate Audio 3W Stereo Amp make it super-simple to connect up a set of speakers, whether they're bookshelf or floor-standing speakers, or the speakers in an old radio. Play crisp digital audio from local files (MP3, FLAC, etc.) or stream from services like Spotify. The combined DAC and amp gives you crisp 24-bit / 192KHz digital audio through your connected stereo speakers (or mixed-down mono through a single channel).
Pirate 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.
- MAX98357A DAC / amplifier chip x2 (datasheet)
- Stereo 3W (per channel) audio out
- Push-fit speaker terminals
- Switch for stereo / mixed-down mono modes
- 1.3" IPS colour LCD (240x240px) (ST7789 driver)
- Four tactile buttons
- Mini HAT-format board
- Compatible with all 40-pin header Raspberry Pi models
- Pirate Audio software
- Dimensions: 65x30.5x9.5mm
The Pirate Audio software and installer installs the Python library for the LCD, configures the I2S audio and SPI, and then installs Mopidy and the 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:
Set an SD card up with the latest version of Raspbian.
Connect to Wi-Fi or a wired network.
Open a terminal and type the following:
git clone https://github.com/pimoroni/pirate-audio
Reboot your Pi
You can find more detailed instructions here: https://github.com/pimoroni/pirate-audio/tree/master/mopidy or get tonnes more info in the Getting Started with Pirate Audio tutorial.
The 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!
The push-fit connectors require you to push gently on the tab to allow the cable to be inserted / removed. Do this carefully, to avoid breaking the clip!
The DAC can be configured by adding dtoverlay=hifiberry-dac to the /boot/config.txt file.
There is a DAC enable pin—BCM 25— that must be driven high to enable the DAC. You can do this by adding gpio=25=op,dh to the /boot/config.txt file.
The buttons are active low, and connected to pins BCM 5, 6, 16, and 20
The display uses SPI, and you'll need to enable SPI through the Raspberry Pi configuration menu.