Arduino Color OLED display Tutorial

Home/Arduino Projects/Arduino Color OLED display Tutorial

Arduino Color OLED display Tutorial

Dear friends welcome back! In this video we are going to learn how to use this Arduino color OLED display with the SSD1331 driver. It’s very easy, so let’s get started!

A few weeks ago, I discovered this promising new display on and I thought that it might be useful in some of our projects so I bought it right away. It is a Color OLED display! I have used this small monochrome OLED display in some of my previous projects and I love it. So, I couldn’t resist having a color OLED display. I have loaded a demo sketch and as you can see the display is fast and bright. It is brighter than LCD displays because it uses the OLED technology and of course it uses less power. The power usage will vary with how many pixels are lit, the maximum is around 25mA. The cost of this color OLED display is around $11.


Color OLED:

Arduino Uno:

Small Breadboard:


Full disclosure: All of the links above are affiliate links. I get a small percentage of each sale they generate. Thank you for your support!

How to drive the Arduino color OLED

The display is very small. It has almost the same size as the monochrome OLED display. But the resolution of it is not the same. It has a resolution of 96×64 pixels. So, it has a lower resolution at the same size. It can display 65 thousand colors! The display I bought, uses the SPI interface so we have to connect 7 pins in order to make it work. The monochrome ones that I have bought, use the I2C interface which requires only 4 pins. So, we need more wires in order to connect it with Arduino. Let’s how to achieve that.

I am going to connect the color OLED display to an Arduino Uno. GND pin goes to Arduino GND. Vcc pin goes to either 3.3V or 5V output of the Arduino Uno. I connect it to the 3.3V output of the Arduino Uno. The next pin of the display is named SCL which is a mistake. It is actually CLK pin of the SPI interface. So CLK pin goes to digital pin 13 on the Arduino Uno. The next pin is also labeled wrong. It is named SDA but it is actually MOSI pin of the SPI interface. So the 4th pin of the display goes to digital pin 11. The next pin is RES which goes to digital pin 9. The 6th pin is DC which goes to digital pin 8. The last pin is CS which goes to digital pin 10. That’s it, we have connected the display to the hardware SPI pins of the Arduino Uno board. This way we can achieve the best performance possible. Let’s now power up the board to see if everything works ok. As you can see the display works fine and the demo sketch is running.


SSD1331 Library:

As you can see it is very easy to use this Arduino color OLED display with Arduino. Since we use our familiar Adafruit GFX library with this display we can easily develop sketches with it. You can find the code for this simple sketch I have developed in the description of the video. I have also started working on a simple Pong game using this display. I will post a video when ready. I really like this display, I think it will be my choice for small handheld project. I would love to hear your opinion about this display. What kind of projects do you want to build with it? Please post any comments or ideas in the comments section below! Thanks!










Never miss a video: Subscribe to



  1. Max October 12, 2016 at 9:17 pm - Reply

    Very good!!! I’ve the same OLED, please can you post your PONG GAME? I want to try it? If you want I’ve created a library for SSD1331, I even use Adafruit GFX library but is very slow. In my library I’ve optimized all functions to use hardware acceleration and work very very fast, 10+ times more fast that Adafruit library. My library is for ESP8266, but just small changes can work to Arduino too. With this library I can load BMP files created with computer and uploaded on ESP8266 Flash memory or SD using the same computer, then load about 25 images every second, so i can create small videoclips like animated gif using just a series of images. Many thanks, I waiting for pong game source code. 😀

  2. vnplus February 11, 2018 at 9:47 pm - Reply

    Thanks a lot!!!!!!

Leave A Comment