Using I2C SSD1306 OLED Display With Arduino

Introduction

Sometimes it may be necessary to use a display when making a hardware project, but one confusing thing is the size of the display and the required pins to control it. This tutorial will show you how to use a small I2C OLED display with Arduino using only two wires.

Geekcreit 0.96 Inch I2C OLED Display Module

The display used in this tutorial has a very small (2.7 x 2.8cm) OLED screen, that is similar to Arduino Pro Mini size, with 128 x 64 screen resolution. The OLED Driver IC is SSD1306, a single-chip CMOS OLED/PLED driver with controller for organic / polymer light emitting diode dot-matrix graphic display system. The module has only 4 pins, two of them are the supply pins, while the others are SCL and SDA, I2C protocol pins, which will be used to control the display.

This OLED display module is full compatible with Arduino and has an input voltage range between 3.3V and 6V and it need less than 10 mA current, so it can be connected with 3.3V or 5V pins. It is available on Banggood store for about $5.5.

Parts you will need:

The Circuit

The circuit is very simple. First, connect the GND with Arduino GND, VCC with 3.3V or 5V on Arduino, SCL with SCL, and finally SDA with SDA pin. Upload the code and power on the Arduino.

I2C Protocol

The Inter-integrated Circuit (I2C) Protocol is a protocol intended to allow multiple slave digital integrated circuits to communicate with one or more master chips. It is only intended for short distance communications within a single device, and it only requires two signal wires to exchange information.

Read more: Using I2C SSD1306 OLED Display With Arduino


About The Author

Ibrar Ayyub

I am an experienced technical writer holding a Master's degree in computer science from BZU Multan, Pakistan University. With a background spanning various industries, particularly in home automation and engineering, I have honed my skills in crafting clear and concise content. Proficient in leveraging infographics and diagrams, I strive to simplify complex concepts for readers. My strength lies in thorough research and presenting information in a structured and logical format.

Follow Us:
LinkedinTwitter

Leave a Comment

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

Scroll to Top