Tuesday, August 2, 2022

Guide for I2C OLED Display with Arduino

Guide for I2C OLED Display with Arduino

This article shows How to use I2C Display with Arduino.


Required Things:

  • Arduino UNO
  • I2C OLED 
  • Jumper cable
  • Bread board

Pin Wiring:

PinWiring to Arduino Uno
Vin5V
GNDGND
SCLA5
SDAA4

Libraries:

      • Open Arduino IDE
      •    Open Sketch - Include Libraries - Manage Libraries (OR) Press ctrl + shift + i

1.Type “SSD1306” in the search box and install the SSD1306 library from Adafruit.




2. After installing the SSD1306 library from Adafruit, type “GFX” in the search box and install the library.



     3. After installing the libraries, restart your Arduino IDE.



upload this code for Know Your Display Model:

Download code Here:




After check your model and upload this code: