Gadgeteer and the OLED Display from Seeed Studio

By | 24. October 2013

Hi folks!

Its just a small article about the OLED Display from Seeed Studios…

Yeah sorry… its an older article and i think some of the products discontinued… but for sure there are similar moduls you can use now.

The display is interesting because i think its a great easy way to show some status messages out of your GHI Board.

Some infos from GHI Electronics:

OLED Display module for Gadgeteer. This module is a 128×128 dot matrix multicolor OLED display, with the driver IC SSD1351. It has a programmable color mode of 65k or 262k, frame rate and multiplexing ratio. This module communicates with the processor via a 4-wire SPI interface.
  • Socket: S
  • Size: 37mm x 43mm
  • Weight: 10g
  • 3.3V  Consumption : >1mA
  • 5V Consumption: 5mA
  • Includes one Gadgeteer cable
OLED Feature
  • Display Format:128(RGB)x128 Dots
  • Dimension: 33.80 x 34.00 x 1.60 mm
  • Active Area:26.855 x 26.864 mm
  • Color: 262,144 color
  • Display Mode: Passive matrix(1.50’’)
  • Operating temperature: -30℃ – +70℃


What you need:

Display text:

oledDisplay.SimpleGraphics.DisplayText("Hello World", Resources.GetFont(Resources.FontResources.small), GT.Color.Green, 1,1);

Display image:

The “pic” paramater can be from type bitmap or picture


Display leeren:



And you can play animation on the OLED Display. Ok.. its not much more than load an image wait some milliseconds and than show the next image.

In this example we load 5 pictures from a sd card. Furthermore we use a time to loop the array with the different pictures.

Firstly we need some attributes.

int count = 0;

string[] faceArray;

On progam start we initialize the timer. Within the tick event from the timer we switch every 200ms the picture.

To start the timer we simply use the timer.start() function.

void ProgramStarted()

Debug.Print("Program Started");
GT.Timer timer = new GT.Timer(200);
timer.Tick +=timer_Tick;

faceArray= new string[5];
faceArray[0] = rootDirectory + @"" + "rain_1.bmp";
faceArray[1] = rootDirectory + @"" + "rain_2.bmp";
faceArray[2] = rootDirectory + @"" + "rain_4.bmp";
faceArray[3] = rootDirectory + @"" + "rain_5.bmp";
faceArray[4] = rootDirectory + @"" + "rain_6.bmp";

void timer_Tick(GT.Timer timer)

oledDisplay.SimpleGraphics.DisplayImage(facearray[count], Bitmap.BitmapImageType.Bmp, 0, 0);
if (count == 4)
count = 0;

Debug.Print("timer tick");

Leave a Reply