Skip to content

Examples and documentation for the Pirate Audio range of Raspberry Pi add-ons

Notifications You must be signed in to change notification settings

simonbrugger/pirate-audio

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 

Repository files navigation

Pirate Audio

Pirate Audio is a range of audio output boards for the Raspberry Pi.

Each board includes an ST7789 240x240 pixel LCD display, four buttons and some form of audio output.

Hardware

Installation

You'll need to add the following lines to /boot/config.txt to get audio up and running:

dtoverlay=hifiberry-dac
gpio=25=op,dh

You can also disable onboard audio if you're not going to use it, this sometimes helps applications find the right audio device without extra prompting:

dtparam=audio=off

Using With Mopidy

We've created plugins to get you up and running with Pirate Audio and Mopidy.

These will give you album art display, volume, play/pause and skip control.

Build Your Own

If you're planning to build your own application you'll find some inspiration in examples.

But first you'll need some dependencies:

sudo apt-get update
sudo apt-get install python-rpi.gpio python-spidev python-pip python-pil python-numpy

And then you'll need the st7789 library:

sudo pip install st7789

For more display examples see: https://github.com/pimoroni/st7789-python/tree/master/examples

About

Examples and documentation for the Pirate Audio range of Raspberry Pi add-ons

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%