Ks0136 keyestudio EASY plug OLED Module: Difference between revisions

From Keyestudio Wiki
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
==EASY plug OLED Module==
[[image:ks0136图.jpg|thumb|600px|right|EASY plug Flame Sensor Module]]
<br>[[File:ks0136-1.png|500px|frameless|thumb]]<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.<br>
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>
'''Note:''' this module needs to be used together with EASY plug control board.<br>
Our EASY Plug OLED displays are perfect when you need a small display with vivid, high-contrast color. The visible portion of the OLED measures 0.96" diagonal and contains 128 x 64 pixels. <br>
An OLED display works without a backlight. Thus, it can display deep black levels and can be thinner and lighter than a liquid crystal display (LCD). <br>
In low ambient light conditions such as a dark room an OLED screen can achieve a higher contrast ratio than an LCD. <br>
OLED technology is used in commercial applications such as displays for mobile phones and portable digital media players, car radios and digital cameras among others.<br>
<span style="color: red">'''Note: ''' this module should be used together with EASY plug control board.
<br>


==Specification==
==Specification==
* Interface: Easy-plug
* 0.96" diagonal OLED
* Communication protocol: I2C
* Pixels: 128 × 64
* Number of Pixels: 128 × 64
* Color Depth: Monochrome (White)
* Color Depth: Monochrome (White)
* Brightness ( cd/m2): 100 (Typ) @ 12V
* 5V power
* Size: 38.85*27mm
* Brightness (cd/m2): 100 (Typ)  
* Weight: 20g


<br>
==Technical Details==
* Dimensions: 39mm*27mm*18mm
* Weight: 7g
<br>


==Connection Diagram ==
==Connect It Up ==
This module carries I2C interface, so we need to comply with I2C protocol in usage and corresponding head files must be included and added into the library. <br>
Connect the EASY Plug OLED module to control board using an RJ11 cable. Then connect the control board to your PC with a USB cable.<br>
Below is the connection diagram between this module and Easy-plug controller:<br>
<br>[[File:ks0136.png|500px|frameless|thumb]]<br>
<br>[[File:ks0136-2.png|500px|frameless|thumb]]<br>


==Sample Code==
<br>
==Upload the Code==
Copy and paste below code to [http://wiki.keyestudio.com/index.php/How_to_Download_Arduino_IDE Arduino IDE] and upload.
Libraries Download:[http://www.keyestudio.com/files/index/download/id/1507706039/]
Libraries Download:[http://www.keyestudio.com/files/index/download/id/1507706039/]
<pre>
<pre>
Line 65: Line 73:
</pre>
</pre>


<br>[[File:KS0136 (1).jpg|500px|frameless|thumb]]<br>
<br>
==What You Should See==
Done uploading the code, you should be able to see the text display on the OLED screen.
<br>[[File:ks0136.png|500px|frameless|thumb]]<br>


<br>
==Resources ==
==Resources ==
 
'''PDF'''<br>
'''PDF'''
 
https://drive.google.com/open?id=125AIxiiFbZyZKVGqTLOf9aX3tjWOrY0q
https://drive.google.com/open?id=125AIxiiFbZyZKVGqTLOf9aX3tjWOrY0q


'''Download the libraries of SPI,Wire,GFX,SSD1306. '''
<br>
 
'''Download the libraries of SPI,Wire,GFX,SSD1306. '''<br>
https://drive.google.com/open?id=1E0-J_dnfw8P752MHPQGRYWbLrbCxYgnw
https://drive.google.com/open?id=1E0-J_dnfw8P752MHPQGRYWbLrbCxYgnw


<br>
==Buy from ==
==Buy from ==
'''Official Website'''
'''Official Website'''<br>
http://www.keyestudio.com/keyestudio-easy-plug-128-x-64-oled-module-for-arduino.html


http://www.keyestudio.com/keyestudio-easy-plug-128-x-64-oled-module-for-arduino.html




[[category:EASY Plug]]
[[category:EASY Plug]]

Revision as of 11:17, 23 November 2018

EASY plug Flame Sensor Module

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.
Our EASY Plug OLED displays are perfect when you need a small display with vivid, high-contrast color. The visible portion of the OLED measures 0.96" diagonal and contains 128 x 64 pixels.
An OLED display works without a backlight. Thus, it can display deep black levels and can be thinner and lighter than a liquid crystal display (LCD).
In low ambient light conditions such as a dark room an OLED screen can achieve a higher contrast ratio than an LCD.
OLED technology is used in commercial applications such as displays for mobile phones and portable digital media players, car radios and digital cameras among others.
Note: this module should be used together with EASY plug control board.

Specification

  • 0.96" diagonal OLED
  • Pixels: 128 × 64
  • Color Depth: Monochrome (White)
  • 5V power
  • Brightness (cd/m2): 100 (Typ)


Technical Details

  • Dimensions: 39mm*27mm*18mm
  • Weight: 7g


Connect It Up

Connect the EASY Plug OLED module to control board using an RJ11 cable. Then connect the control board to your PC with a USB cable.

thumb


Upload the Code

Copy and paste below code to Arduino IDE and upload. Libraries Download:[1]

#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);
}


What You Should See

Done uploading the code, you should be able to see the text display on the OLED screen.
thumb


Resources

PDF
https://drive.google.com/open?id=125AIxiiFbZyZKVGqTLOf9aX3tjWOrY0q


Download the libraries of SPI,Wire,GFX,SSD1306.
https://drive.google.com/open?id=1E0-J_dnfw8P752MHPQGRYWbLrbCxYgnw


Buy from

Official Website
http://www.keyestudio.com/keyestudio-easy-plug-128-x-64-oled-module-for-arduino.html