This code is discontinued - Check out our newer tutorial at -

In this tutorial you will need:

The links to buy these items are on the right hand side of the page =>

A Raspberry Pi.

Either model A or B, it does not matter. Revision number is not important either - this tutorial will work with all Pis! Please make sure that your Raspberry Pi has an SD card with the latest version of Raspbian installed. And also note that your Pi will have to be connected to the internet in this tutorial - otherwise we won't be able to download all of the stuff that we need!
One of Adafruit's monochrome OLED graphic displays.

There are several models available, however this tutorial will only work for the ones that use SPI (I'll explain more about SPI in a second). You'll also need to do a tiny bit of basic soldering in order to attach the pin headers to the PCB but don't worry, you shouldn't have any trouble with that! The picture below is the one I will be using, however if you look down the side you will see all of the ones that are compatible with this guide:
A Breadboard.

It doesn't matter what size or shape your breadboard is! I'm using a half size one:
7 Male to Female Jumper Wires.

You will need no more than 7 Male to Female Jumper Wires - remember that you need these to connect the Pi to your OLED display.

You can also use a Pi Cobbler and some plain jumper wires, but this technique takes up less breadboard space

And that is it! Click on the next page to learn more about how we are going to use our display...

This guide was first published on Jan 03, 2014. It was last updated on Jan 03, 2014.

This page (Components list) was last updated on Dec 31, 2013.

Text editor powered by tinymce.