How to Display on I2C OLED with Arduino

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!

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.