Fork me on GitHub

Project Notes

#086 SSD1306 OLED With AdaFruit Libraries

Running the AdaFruit example program with a monochrome 128x64 OLED Display

Here’s a quick video of the circuit in action:

OLED/SSD1306WithAdaFruitLibraries demo


This is just a quick test of a monochrome 128x64 OLED Display using the Adafruit_SSD1306 library. It runs the 128x64 SPI example from AdaFruit.

I’m using an Arduino Pro Mini running on 3.3V at 8MHz, and driving the OLED directly.

The OLED is one I got from aliexpress for USD3.93 - see the seller’s page: Yellow+Blue 0.96” SPI Serial 128X64 OLED. Although it’s a monochrome display, this unit comes with two-tinted glass, which makes the upper fifth of the screen yellow and the lower blue.

The pin breakouts are slightly different from the AdaFruit module (used in the Fritzing diagram). These are the actual pin connections for my unit:

Arduino OLED
D11 D/C
D12 CS

Well, that works fine. But it does use a huge amount of the memory just to do this much:

  • 20,770 bytes (67%) of program storage space
  • 1,580 bytes (77%) of dynamic memory


The Breadboard

The Schematic

The Build

Credits and References

Project Source on GitHub Project Gallery Return to the LEAP Catalog

This page is a web-friendly rendering of my project notes shared in the LEAP GitHub repository.

LEAP is just my personal collection of projects. Two main themes have emerged in recent years, sometimes combined:

  • electronics - usually involving an Arduino or other microprocessor in one way or another. Some are full-blown projects, while many are trivial breadboard experiments, intended to learn and explore something interesting
  • scale modelling - I caught the bug after deciding to build a Harrier during covid to demonstrate an electronic jet engine simulation. Let the fun begin..
To be honest, I haven't quite figured out if these two interests belong in the same GitHub repo or not. But for now - they are all here!

Projects are often inspired by things found wild on the net, or ideas from the many great electronics and scale modelling podcasts and YouTube channels. Feel free to borrow liberally, and if you spot any issues do let me know (or send a PR!). See the individual projects for credits where due.