Ks0271 keyestudio OLED Display OLED Module: Difference between revisions

From Keyestudio Wiki
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
==Keyestudio OLED Display OLED Module ==
<br>[[File:KS0271- (2).jpg|500px|frameless|thumb]]<br>


== keyestudio 0.96'' OLED Display Module ==
<br>[[File:Ks0271-1.png|500px|frameless|thumb]]<br>
<br>
==Introduction ==
==Introduction ==
OLED is short for organic light emitting diode. On the microscopic level, an OLED display is a matrix of organic LEDs that light up when they emit energy. Old LCD (Liquid Crystal Display) technology uses electronically controlled polarizers to change the way light passes or does not pass through them. This requires an external backlight that lights up the whole display underneath. This uses a lot of energy because at the time the display is on, enough light for all pixels must be provided. The new OLED technology only uses electricity per pixel. Because each pixel creates its own light, only the pixels that are on use electricity. This makes OLED technology very efficient; also, the way these types of OLEDs are built allows them to be very thin compared to LCD.
OLED is short for organic light emitting diode. On the microscopic level, an OLED display is a matrix of organic LEDs that light up when they emit energy. <br>
Old LCD (Liquid Crystal Display) technology uses electronically controlled polarizers to change the way light passes or does not pass through them. This requires an external backlight that lights up the whole display underneath. This uses a lot of energy because at the time the display is on, enough light for all pixels must be provided. <br>
The new OLED technology only uses electricity per pixel. Because each pixel creates its own light, only the pixels that are on use electricity. This makes OLED technology very efficient; also, the way these types of OLEDs are built allows them to be very thin compared to LCD. <br>
<br>[[File:KS0271- (2).jpg|500px|frameless|thumb]]<br>


<br>
==Specification ==
==Specification ==
* Supply Voltage: 3.3V to 5V
* Supply Voltage: 3.3V to 5V
Line 11: Line 18:
* Communication way: IIC
* Communication way: IIC


<br>[[File:KS0271 -(4).jpg|500px|frameless|thumb]]<br>
<br>
 
==Connection Diagram ==
==Connection Diagram ==
<br>[[File:Ks0271.png|500px|frameless|thumb]]<br>
<br>[[File:Ks0271.png|700px|frameless|thumb]]<br>


<br>
==Sample Code ==
==Sample Code ==
<pre>
<pre>
Line 59: Line 66:
</pre>
</pre>


<br>
==Result ==
==Result ==
Wiring as the above diagram and burning the code, after power-on, OLED display will as the graph shown below.
Wiring as the above diagram and burning the code, after power-on, OLED display will as the graph shown below. <br>
 
<br>[[File:Ks0271-.png|500px|frameless|thumb]]<br>
<br>[[File:Ks0271-.png|500px|frameless|thumb]]<br>


 
<br>
==Resource ==
==Resource ==
'''PDF File:''' <br>
* '''PDF File:''' <br>
https://drive.google.com/open?id=1ksYXWqnel7kQjDK1c9mCSRpW6FphaOay
https://drive.google.com/open?id=1ksYXWqnel7kQjDK1c9mCSRpW6FphaOay
<br>


'''Four Libraries of OLED Display Module:'''  <br>
* '''Code:''' <br>
https://drive.google.com/open?id=1w8g0MFWgW-HVBDTVgmn_7vyJDfI_Kq_L
 
* '''Four Libraries of OLED Display Module:'''  <br>
https://drive.google.com/open?id=1VneczfQemtHSrRf4cDYMrZlclz55CR7l
https://drive.google.com/open?id=1VneczfQemtHSrRf4cDYMrZlclz55CR7l


'''VIDEO:''' <br>
* '''VIDEO:''' <br>
http://www.keyestudio.com/wp/ks0271/
http://video.keyestudio.com/ks0271/


<br>
==Buy from ==
==Buy from ==
'''Official Website'''


http://www.keyestudio.com/ks0271.html
*[https://www.keyestudio.com/keyestudio-096-oled-module-128x64-blue-lcd-led-display-module-iic-serial-for-arduino-p0442-p0442.html    '''Official Website''' ]
 
*[https://www.aliexpress.com/store/product/Keyestudio-0-96-OLED-Module-128X64-Blue-LCD-LED-Display-Module-IIC-Serial/1452162_32823394893.html?spm=2114.12010615.8148356.5.6dd228c1lb6ljy      '''Shop on aliexpress''' ]
 




[[Category: Module]]
[[Category: Module]]

Revision as of 15:00, 19 April 2019


keyestudio 0.96 OLED Display Module


thumb


Introduction

OLED is short for organic light emitting diode. On the microscopic level, an OLED display is a matrix of organic LEDs that light up when they emit energy.
Old LCD (Liquid Crystal Display) technology uses electronically controlled polarizers to change the way light passes or does not pass through them. This requires an external backlight that lights up the whole display underneath. This uses a lot of energy because at the time the display is on, enough light for all pixels must be provided.
The new OLED technology only uses electricity per pixel. Because each pixel creates its own light, only the pixels that are on use electricity. This makes OLED technology very efficient; also, the way these types of OLEDs are built allows them to be very thin compared to LCD.

thumb


Specification

  • Supply Voltage: 3.3V to 5V
  • Number of Pixels:128 × 64
  • Color Depth:blue
  • Communication way: IIC


Connection Diagram


thumb


Sample Code

#include <SPI.h>
#include <Wire.h>
#include <Adafruit_GFX.h>
#include <Adafruit_SSD1306.h>

#define OLED_RESET 4
Adafruit_SSD1306 display(OLED_RESET);

void setup() {

// by default, we'll generate the high voltage from the 3.3v line internally! (neat!)
display.begin(SSD1306_SWITCHCAPVCC, 0x3C); // initialize with the I2C addr 0x3D (for the 128x64)
// init done

// Show image buffer on the display hardware.
// Since the buffer is intialized with an Adafruit splashscreen
// internally, this will display the splashscreen.
display.display();
delay(2000);

// Clear the buffer.
display.clearDisplay();
}

void loop() {

display.clearDisplay();
display.setTextSize(1);
display.setTextColor(WHITE);
display.setCursor(0,0);
display.println("Hello,world!");
display.println("Hello,keyestudio!");
display.setTextSize(2);
display.println("Hello!");
display.println("keyes!");
display.println("keyestudio");
display.display();
delay(250);
}


Result

Wiring as the above diagram and burning the code, after power-on, OLED display will as the graph shown below.

thumb


Resource

  • PDF File:

https://drive.google.com/open?id=1ksYXWqnel7kQjDK1c9mCSRpW6FphaOay

  • Code:

https://drive.google.com/open?id=1w8g0MFWgW-HVBDTVgmn_7vyJDfI_Kq_L

  • Four Libraries of OLED Display Module:

https://drive.google.com/open?id=1VneczfQemtHSrRf4cDYMrZlclz55CR7l

  • VIDEO:

http://video.keyestudio.com/ks0271/



Buy from