Tested on:RPi3; RPi0; Raspbian Stretch
Prerequisites:Raspberry Pi with Raspbian Jessie and internet connection (see steps 1-7 in the Introduction)
Hardware:Speaker pHAT

Playing MP3 on an RPi 0 with the Speaker pHAT

The Speaker pHAT by Pimoroni is an elegant and low-cost audio extension. The installation is easy and the HAT is fun, but the audio volume is lower than the output of an RPi3 with 5€ speakers. This makes the Speaker pHAT most suited for giving the Raspberry Pi Zero a pretty audio output.

Pimoroni built a Script for automatic installation. Enter in the terminal

Playing MP3
Audio files like MP3 can now be played from the VLC GUI in the Desktop environment or with terminal commands. For the latter, enter

Audio volume
The volume can be set in percent with the command

If VLC is started as GUI, the volume can be turned slightly higher.

Pimoroni Webshop: https://shop.pimoroni.com
Speaker pHAT auf GitHub: https://github.com/pimoroni/speaker-phat

Knight of Pi

Johannes Bergs aka Knight of Pi. Diploma in Bioinformatics, some Webdesign and Python coding then. Living in the beautiful city of Vienna.


  1. Excelent! Is there a way to rut it headless with an autoplay feature on startup? I tried with volumio but I cant get the LEDs to work.


Time limit is exhausted. Please reload CAPTCHA.