Hello,
I discovered Pirate Audio a few days ago.
Has anyone Experience with this device?
It would be the perfect addition for the phoniebox:
I'm using a Pirate Audio HAT with Phoniebox. Sound should work fine after running the setup script (https://github.com/MiczFlor/RPi-Jukebox-RFID/blob/develop/components/audio/PirateAudioHAT/setup_pirateAudioHAT.sh). I had no time to setup and test the display and the buttons yet.
Hello,
i have received my Pirate Audio HAT and everything is working (Sound, Display and Buttons).
Here are my installation steps:
sudo raspi-config nonint do_spi 0components/audio/PirateAudioHAT/setup_pirateAudioHAT.shsudo pip3 install Mopidy-PiDi pidi-display-pil pidi-display-st7789 mopidy-raspberry-gpiosudo nano /etc/mopidy/mopidy.confAdd the following sections:
[raspberry-gpio]
enabled = true
bcm5 = play_pause,active_low,150
bcm6 = volume_down,active_low,150
bcm16 = next,active_low,150
bcm20 = volume_up,active_low,150
[pidi]
enabled = true
display = st7789
Enable access for modipy user
sudo usermod -a -G spi,i2c,gpio,video mopidy
Reboot
Maybe someone can upgrade the setup_pirateAudioHAT.sh script for a all in one installation.
Have fun with Pirate Audio 🏴☠️ 🤘
Thanks for the howto. I agree we should add this to the install script.
I checked the setup_pirateAudioHAT.sh script.
Maybe line 24 should be change from gpio=25=op,dhc to gpio=25=op,dh as mentioned here.
But I don‘t know what the additional c changes with the gpio control.
I checked the setup_pirateAudioHAT.sh script.
Maybe line 24 should be change fromgpio=25=op,dhctogpio=25=op,dhas mentioned here.
But I don‘t know what the additionalcchanges with the gpio control.
This was most likely a typo or copy&paste error. I will fix the script accordingly.
@fredg02 I have fixed the typo.
Maybe you can extend the script by the steps I mentioned (plug-ins, mopidy.conf, Access rights)?
Unfortunately I am not very familiar with writing Linux scripts.
Thanks. I've added the steps you were mentioning. AFAICT SPI also needs to be enabled for this to work.
Ok. I have updated my post:
sudo raspi-config nonint do_spi 0
Fixed with PR #960 and #966
Most helpful comment
Hello,
i have received my Pirate Audio HAT and everything is working (Sound, Display and Buttons).
Here are my installation steps:
sudo raspi-config nonint do_spi 0components/audio/PirateAudioHAT/setup_pirateAudioHAT.shsudo pip3 install Mopidy-PiDi pidi-display-pil pidi-display-st7789 mopidy-raspberry-gpiosudo nano /etc/mopidy/mopidy.confAdd the following sections:
Enable access for modipy user
sudo usermod -a -G spi,i2c,gpio,video mopidyReboot
Maybe someone can upgrade the setup_pirateAudioHAT.sh script for a all in one installation.
Have fun with Pirate Audio 🏴☠️ 🤘