🇬🇧 English 🇪🇸 Español 🇩🇪 Deutsch 🇫🇷 Français 🇮🇹 Italiano 🇮🇳 हिंदी (Hindi) 🇷🇺 Русский 🇷🇴 Română 🇯🇵 日本語 🇨🇳 中文 🇵🇹 Português

@tutorial: i2c OLED with Arduino

This is a very short example. How to wire up an I2C oled display to the arduino using i2c communication and then display text, numbers, some special cahracters but also some unique logos made with the image2LCD software. Below you have the schematic you need and an example code. Remember to install the i2c OLED librarie below. Read the comments in the code for more or leave a question below.

External Link: https://electronoobs.com/eng_arduino_tut52.php

by: ELECTRONOOBS on 2026-11-04

First, you need an i2c OLED display like this one on this link. This display needs only 2 pins, SCL and SDA which are clock and data.

Arduino wired to an I2C OLED display showing text, numbers, symbols and custom logos from image2LCD.
Arduino wired to an I2C OLED display showing text, numbers, symbols and custom logos from image2LCD.
~PART 1 - Schematic

Ok, make the i2c connections from the Arduino to OLED display as below. The i2c pins of the arduino are A4 for data (SDA) and A5 for clock (SCL). Connect those pins and supply 5V and GND and that's it. Next, download the libraries from below, and uplaod the example code.

Wiring diagram and Arduino code for connecting an I2C OLED display, showing text and custom icons.
Wiring diagram and Arduino code for connecting an I2C OLED display, showing text and custom icons.
~PART 2 - Example code

First of all, you need the Adafruit_GFX library and Adafruit_SSD1306 in order to work. For that, go below and downlaod those libraries. They will be a in two .zip files. Open Arduino IDE and go to sketch, include library, add .zip library and select the downlaoded files one by one. Now the libraries are installed. You could downlaod the example code or just copy/paste it from below.

Leave a comment

Please login in order to comment.

Comments