Introduction: OLED and Distance Sensor Interfacing With Arduino

Picture of OLED and Distance Sensor Interfacing With Arduino

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.

Step 1: Components Used

1)Arduino Uno

2)HC-SR04 (Distance Sensor)

3)Adafruit 128x64 OLED

4)Wires

Step 2: Schematic

Picture of 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

Comments

Jon_Fuge (author)2017-10-06

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.

Jon

networxpsc (author)2016-12-30

Hi,

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.

About This Instructable

1,002views

22favorites

License:

Bio: 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 ... More »
More by sachin0987:HOW TO GET HEX FILE FROM ARDUINO ?HandTalk 2 : A Smart Hand Glove InterpreterInterfacing of LCD With Arduino Uno by Using Only 3 Pins
Add instructable to: