I recently helped fund a Kickstarter project for an Organic LED (OLED) display and breakout board. This was design and built by ILSoft, an electronics and software company based in Tyne and Wear, UK.

I had been interested in using an OLED display for some time, as they have a good contrast ratio and quite a good resolution. This makes them good for viewing small details in different light conditions (potentially where an LCD might not be suitable).

This board recently arrived in the post and I wanted to check it out and get it up and running. This is a post on my first very basic tests getting the display to work with an Arduino.

 

I downloaded the example code from ILSoft GITHUB pages. These were uploaded into my Libraires folder within my Sketchbook.

When the Arduino IDE was opened up I had access to their example code. I uploaded one of the AVR examples for Arduino and connected up the following connections (its obvious now, but I needed to realise that the SDI and SCK go to the equivalent pins on the Arduino….):

 OLED Board Pin  Arduino Pin 
 GND GND
Vcc 5V
 D/!C  9
SDI  11
SCK  13
!CS 8
!RES 7
GND GND

This worked to give me the example outputs which looked pretty, but were pretty basic.

I wrote a quick test routine which drew random lines in random colours (check the end of the post for the code). This shows off the capability of the screen pretty well, although it looks like a mess after a minute or so.

Here are some photos:

Drawing random lines within a 128 x 128 display with each line as a random colour.

Eventually its a mess – but fun.

The resolution of the display is great – its has good contrast and you can read really small text with ease. This means you can display a load of information in a very small space. I am planning on building a photovoltaic IV curve tracer which will have this a s a display. Look out for more posts about it…

Here is is Arduino code. You need to download and install to your libraries folder the OLED library from ILSoft for this to run.

 

Leave a Reply

Your email address will not be published. Required fields are marked *