How to Display on I2C OLED with Arduino

In this tutorial, I’ll share with you on how to display on I2C OLED using Arduino. The video will cover on :

  1. Installing library for OLED.
  2. Testing the OLED with example provided.
  3. How to custom an image to display on the OLED.
  4. Display an output on the OLED.

HARDWARE PREPARATION

This tutorial use :

  1. Maker UNO
  2. Temperature Sensor (Celcius)
  3. OLED I2C 
  4. Breadboard 8.5×5.5cm (400 holes)
  5. Acrylic Base Plate For Arduino UNO
  6. Jumper Wires

You can make the hardware connection based on the diagram and table below.

Connection
OLED : VCCMaker UNO: 3.3V
OLED : GNDMaker UNO: GND
OLED : SCLMaker UNO: SCL
OLED : SDAMaker UNO: SDA
LM35 : GNDMaker UNO: GND
LM35 : VOutMaker UNO: Pin A0
LM35 : VCCMaker UNO: 5V

Sample Code

This is the sample code used for this tutorial. Try it!

https://gist.github.com/suadanwar/88cdef31a2fb5a64e130008dfc1f97a3#file-oleddisplay-ino

References :

  1. OLED Arduino by Dronebot Workshop
  2. OLED I2C Display by DIY Factory
  3. Bitmap Image

Thank you

Thank you for reading this tutorial and we hope it helps your project development. If you have any technical inquiry, please post at Cytron Technical Forum.

Leave a Comment

Your email address will not be published.

Share this Tutorial

Share on facebook
Share on whatsapp
Share on email
Share on print
Share on twitter
Share on pinterest
Share on facebook
Share on whatsapp
Share on email
Share on print
Share on twitter
Share on pinterest

Latest Tutorail

Raspberry Pi Line Following Robot with Maker Line
Magnetic Contact Switch Sensor with Arduino.
Control MDDS30 In Serial Simplified Mode Using Raspberry Pi
Control A Servo And Display Sensor’s Reading Using The GUI On Arduino.
USB Serial Communication Between Arduino and Raspberry Pi
Scroll to Top