Experiment of OLED Display

Experiment of OLED Display

Overview

The OLED (Organic Light Emitting Diode) display technology is characterized by self-luminous. It uses a very thin coating of organic material and a glass substrate. When current flows through the organic material, it illuminates. In addition, the OLED display has a large viewing angle and can save power. The characteristics of OLED technology are as follows:

  1. OLED device has a very thin core layer that can be less than 1 mm, only one-third of that of the LCD.
  2. OLED device has all solid structure, without vacuum and liquid material, which ensures excellent anti-seismic capability and well adaptation to huge acceleration, vibration and other harsh environments.
  3. Self-illuminating property makes OLEDs almost unrestricted to the viewing angles, and it’s typically up to 170 degrees. From a broad perspective, it won’t be distorted even if you look from the side.
  4. The response time of the OLED display is tens of milliseconds shorter than that of the TFT-LCD screen. And the response time of the best TFT-LCD is now 12 milliseconds, an OLED display is about a few microseconds to tens of microseconds.
  5. With good low temperature performance, OLED can display normally even at minus 40 degrees Celsius. It is also currently used as a display for space suits. While, the response speed of the TFT-LCD varies with temperature. It will slow down at low temperatures. Therefore, the LCD does not perform well at low temperatures.
  6. OLED adopts the principle of organic light emission, which requires only a small amount of materials and lesser production process (less than 3 processes) compare to the production process of LCD. Therefore, the cost is greatly reduced.
  7. OLED uses self-emitting diodes, therefore no backlight is required. Having lower power consumption than LCD, OLED is effective in light conversion, which can be fabricated on substrates of different materials. The circuit of it can even be printed on elastic materials – making it display flexibly.
  8. Driven by DC low voltage (less than 5V), OLED can be illuminated with a battery. It can reach high brightness more than 300lm.

Components

– 1 * Adeept UNO Board- 1 * USB Cable

– 1 * OLED Module

– 1 * Jumper Wires

Procedures

Step 1 Connect the circuit as shown below.

Step 2 Install the U8glib.ZIP library. U8glib

Step 3 Download AdeeptTestOLED.ino to UNO. AdeeptTestOLED

/***********************************************************
File name: AdeeptOLED.ino
Description:
Website: www.adeept.com
E-mail: support@adeept.com
Author: Tom
Date: 2019/02/27
***********************************************************/
#include "U8glib.h"
/*I2C*/
U8GLIB_SSD1306_128X64 u8g(U8G_I2C_OPT_NONE); 
void setup()
{
  if ( u8g.getMode() == U8G_MODE_R3G3B2 ) 
    u8g.setColorIndex(255);     // white
  else if ( u8g.getMode() == U8G_MODE_GRAY2BIT )
    u8g.setColorIndex(3);         // max intensity
  else if ( u8g.getMode() == U8G_MODE_BW )
    u8g.setColorIndex(1);         // pixel on
  u8g.setFont(u8g_font_6x10);
  u8g.setFontRefHeightExtendedText();
  u8g.setDefaultForegroundColor();
  u8g.setFontPosTop();
}
void loop()
{
  u8g.firstPage();  
  do {
    u8g.drawStr(0,0,"Current state:  ");
      u8g.drawStr(0,10,"   Learning Status  "); 
      u8g.drawStr(0,30,"remaining steps:     ");
    u8g.drawStr(25,54,"www.adeept.com ");  
  } while( u8g.nextPage() );
  delay(5);
}

Leave a Reply