Yet Another Adafruit LCD 16x2 implementation

Hi ev’rybody.

Inspired by these smart guys, … net-radio/

I decided to brew my own LCD display software for the Adafruit 16x2.

It has a welcome screen, then shows info about the current song, if any


The author, album and title scroll once, then only the song title is displayed

Keys are used as expected:

UP Volume up
DOWN Volume down
RIGHT next song
LEFT previous song
SELECT play/pause

If LEFT and RIGHT are pressed together, you enter in a pretty strightforward menu:
UP/DOWN to navigate between options, RIGHT to choose, LEFT to go back.


Available options are

  1. More Songs Informations
  2. Show Date And Time
  3. Show eth Ip address
  4. Show wifi Ip address
  5. Shutdown system…

Here’s the installation instruction for Volumio 1.5.1.

Have fun!

Step 1.
login to raspberry pi as pi

Step 2.
sudo nano /etc/apt/sources.list

#deb m m jessie main contrib
deb m m jessie main
#deb-src m m wheezy main

Step 3.
add at end:
sudo nano /etc/modules


Step 4.
Then install the PiFace libraries:

login as root

apt-get update;apt-get install git python-smbus i2c-tools python-dev gcc

git clone git:// … n-Code.git

Step 5.

Install python-mpd2 library

sudo apt-get update
sudo apt-get install python-setuptools
git clone git://
cd python-mpd2
sudo python install

Step 6.

Copy my files in


chmod ugo+x *.py

Step 7.


./ (30.1 KB)

Very nice work you did! Very useful!
However I’m disapointed by the refresh rate when the song info is scrolling on the first line, not sure if this is a limitation of the LCD. I will check the

hello friends,
This new Adafruit Pi Plate makes it easy to use an RGB 16x2 Character LCD. We really like the RGB Character LCDs we stock in the shop. (For RGB we have RGB negative and RGB positive.) Unfortunately, these LCDs do require quite a few digital pins, 6 to control the LCD and then another 3 to control the RGB backlight for a total of 9 pins. That’s nearly all the GPIO available on a Pi!

With this in mind, we wanted to make it easier for people to get these LCD into their projects so we devised a Pi plate that lets you control a 16x2 Character LCD, up to 3 backlight pins AND 5 keypad pins using only the two I2C pins on the R-Pi! The best part is you don’t really lose those two pins either, since you can stick i2c-based sensors, RTCs, etc and have them share the I2C bus. This is a super slick way to add a display without all the wiring hassle.

New, we’ve updated this Pi plate so the buttons on on the right side, which makes it a little more mechanically stable.

This pi plate is perfect for when you want to build a stand-alone project with its own user interface. The 4 directional buttons plus select button allows basic control without having to attach a bulky computer.

Used Cars in Delhi