OLED and Distance Sensor Interfacing With Arduino

About: Working in Bharti Airtel Ltd. as Executive Trainee. My core skill set includes electronic hardware design, telecommunication, optical networks. My objective is to apply my engineering skills to new and excit...

This is a very simple project.Only OLED is new in this project OLED is upcoming Technology.That's why I am Sharing this Instructable.

What is an OLED?
OLED (Organic Light Emitting Diodes) is a flat light emitting technology, made by placing a series of organic thin films between two conductors. When electrical current is applied, a bright light is emitted. OLEDs can be used to make displays and lighting. Because OLEDs emit light they do not require a backlight and so are thinner and more efficient than LCD displays(which do require a white backlight).

OLEDs are not just thin and efficient - they can also be made flexible (even rollable) and transparent.

OLED vs LCD OLED displays have the following advantages over LCD displays:

Improved image quality - better contrast, higher brightness, fuller viewing angle, a wider color range and much faster refresh rates.

Lower power consumptionSimpler design that enables ultra-thin, flexible and transparent displays

Better durability - OLEDs are very durable and can operate in a broader temperature range.

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

Step 1: Components Used

1)Arduino Uno

2)HC-SR04 (Distance Sensor)

3)Adafruit 128x64 OLED


Step 2: Schematic

Connect the OLED and Sensor with Arduino as Schematic.

Find the Attached Code and Upload it on Arduino Board.

Note: Must add Lib file for OLED and Distance Sensor,which is avilable in Adafruit website.

Thank You

Be the First to Share


    • Made with Math Contest

      Made with Math Contest
    • Multi-Discipline Contest

      Multi-Discipline Contest
    • Robotics Contest

      Robotics Contest

    2 Discussions


    2 years ago

    Perfect, got this up and running very quickly; I will be adapting the code very soon to work with a wifi ESP8266 module to I can use it to monitor the ulage (the unfilled volume in a container) and hence indirectly the volume of liquid in my various farm water cisterns and septic tanks.

    Well done, and thanks for sharing.



    2 years ago


    do you already tried with IDE 1.8.0?
    I have some trouble as i only get pixel chaos which resets about every second on my oled.