Ks0136 keyestudio EASY plug OLED Module: Difference between revisions

From Keyestudio Wiki
Jump to navigation Jump to search
 
(19 intermediate revisions by the same user not shown)
Line 1: Line 1:
==EASY plug OLED Module==
[[image:ks0136图.jpg|thumb|600px|right|EASY plug OLED 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. <br>
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>
This module should be used together with EASY plug control board.
 
<span style=color:red> '''Special Note:''' <br>
The sensor/module is equipped with the RJ11 6P6C interface, compatible with our keyestudio EASY plug Control Board with RJ11 6P6C interface. <br> If you have the control board of other brands, it is also equipped with the RJ11 6P6C interface but has different internal line sequence, can’t be used compatibly with our sensor/module. </span><br>
 
<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
 
 
==Connection Diagram ==
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>
Below is the connection diagram between this module and Easy-plug controller:<br>
<br>[[File:ks0136-2.png|500px|frameless|thumb]]<br>
 
 
==Sample Code==
Libraries Download:[http://www.keyestudio.com/files/index/download/id/1507706039/]
<pre>
#include <SPI.h>
#include <Wire.h>
#include <Adafruit_GFX.h>
#include <Adafruit_SSD1306.h>


#define OLED_RESET 4
<br>
Adafruit_SSD1306 display(OLED_RESET);
==Technical Details==
* Dimensions: 39mm*27mm*18mm
* Weight: 7g


void setup() {
<br>
==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.<br>
<br>[[File:ks0136.jpg|500px|frameless|thumb]]<br>


// by default, we'll generate the high voltage from the 3.3v line internally! (neat!)
<br>
display.begin(SSD1306_SWITCHCAPVCC, 0x3C); // initialize with the I2C addr 0x3D (for the 128x64)
==Upload the Code==
// init done
Below is an example code. Open or drag below code to [https://wiki.keyestudio.com/Getting_Started_with_Mixly  Mixly Blocks] and upload. <br>
<br>[[File:ks0398 16.1.png|500px|frameless|thumb]]<br>


// Show image buffer on the display hardware.
<br>
// Since the buffer is intialized with an Adafruit splashscreen
==What You Should See==
// internally, this will display the splashscreen.
<br>[[File:ks0398 16-1.png|600px|frameless|thumb]]<br>
display.display();
<br>
delay(2000);
Done uploading the code, you should be able to see the text is displayed on the OLED screen.
<br>[[File:ks0398 16-2.png|600px|frameless|thumb]]<br>


// Clear the buffer.
<br>
display.clearDisplay();
<span style="color: red"><big>'''Troubleshooting:'''</big> </span> <br>
}
* '''Upload Failed ?''' <br>
This happens sometimes, the most likely case is a confused Board and serial port, you should firstly select your proper board and port.<br>
Or make sure you have placed all the libraries below into arduino-1.8.5 libraries folder directory.  <br>
Pay more attention that the library folder can’t be overlapped.
<br>[[File:ks0398 16-3.png|600px|frameless|thumb]]<br>
<br>[[File:Ks0398 9-5.png|600px|frameless|thumb]]<br>


void loop() {


display.clearDisplay();
<br>
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);
}
</pre>


==Resources ==
==Resources ==


'''PDF'''
https://fs.keyestudio.com/KS0136


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


'''Download the libraries of SPI,Wire,GFX,SSD1306. '''
==Buy from ==
*[https://www.keyestudio.com/newkeyestudio-rj11-easy-plug-128-x-64-oled-module-for-arduino-steam-p0102-p0102.html  '''Official Website''' ]


https://drive.google.com/open?id=1E0-J_dnfw8P752MHPQGRYWbLrbCxYgnw
*[https://www.aliexpress.com/store/product/NEW-Keyestudio-EASY-plug-128-x-64-OLED-module-for-arduino/1452162_32646350610.html?spm=2114.12010612.8148356.18.4ecd4ba7I8rbcp  Shop on aliexpress ]


==Buy from ==
'''Official Website'''


http://www.keyestudio.com/keyestudio-easy-plug-128-x-64-oled-module-for-arduino.html
[[category:EASY Plug]]
[[category:Module]]

Latest revision as of 16:54, 7 January 2021

EASY plug OLED 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.
This module should be used together with EASY plug control board.

Special Note:
The sensor/module is equipped with the RJ11 6P6C interface, compatible with our keyestudio EASY plug Control Board with RJ11 6P6C interface.
If you have the control board of other brands, it is also equipped with the RJ11 6P6C interface but has different internal line sequence, can’t be used compatibly with our sensor/module.


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

Below is an example code. Open or drag below code to Mixly Blocks and upload.

thumb


What You Should See


thumb

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


Troubleshooting:

  • Upload Failed ?

This happens sometimes, the most likely case is a confused Board and serial port, you should firstly select your proper board and port.
Or make sure you have placed all the libraries below into arduino-1.8.5 libraries folder directory.
Pay more attention that the library folder can’t be overlapped.
thumb

thumb



Resources

https://fs.keyestudio.com/KS0136


Buy from