This is a full step-by-step tutorial to set up a raspberry pi powered internet radio device, with push buttons as inputs to change channels and a 20×4 RGB LCD display to output the current station. This project relies heavily on a basic understanding of the Raspberry Pi’s GPIO. If this is your first project using the GPIO header, I recommend that you check out Gert’s tutorial for using the Raspberry Pi’s GPIO with python:
You will need the following two python scripts to complete this tutorial:
20x4lcdtest.py (to make sure you wired everything up properly):
radio.py (this is the actual script for the internet radio player):
Also, you will need to install the Music Player Daemon (MPD) and MPC in order for the script to work (The tutorial walks you through the installation).