Adafruit tutorial

eskMate2000">Updated blog post: Home-automation with a touchscreen Pi

I had a very exciting email the other day asking if I would write up my Internet radio as a tutorial for the Adafruit learn website. Being a massive fan of Adafruit I was very happy to do this!

The tutorial can be found here

If you have not visited Adafruit or bought from them I can highly recommend their products. In addition to selling some really cool products they are committed to producing and sharing detailed instructions and product support. I have found the tutorials to be really well written and often preempt common problems and issues you may find.


Digital Photo Frame

Tutorial: Making a Raspberry Pi USB-stick Digital Photo frame

Pi photo frame

This tutorial is based around the 2.8” touch screen from adafruit.

The full details of building and setting up the touch screen can be found on the adafruit website here

The photo frame is powered by FBI (Frame Buffer Image Viewer) which can be installed using:

sudo apt-get install fbi

Rather than copying photos onto the Raspberry Pi I wanted to display photos from an attached USB memory stick.

Before you can attach and mount your USB stick check that you have a usb folder in /mnt

mkdir -p /mnt/usb

On your mac or PC format your USB stick as FAT32.
Make a folder called
Copy your photos into that folder as JPGs

If you are new to using USB from the command line you will need to insert the USB stick and then mount it.

sudo mount -t vfat /dev/sda1 /mnt/usb

You can simply check that your USB stick is attached by

cd /mnt/usb

This should display the contents of the USB drive.

We are now ready to start the slideshow.

sudo fbi -a -t 5 /dev/fb1 -noverbose /mnt/usb/Slideshow/*.jpg

To exit the slideshow simply press escape.

additional information

-a scales the photos to fit the screen (both scale up and scale down)
-t 5 sets a duration of 5 seconds for each photo
-noverbose turns off on-screen message
-u will display the photos in a random order

The man pages for FBI can be found here