Ks0136 keyestudio EASY plug OLED Module: Difference between revisions

From Keyestudio Wiki
Jump to navigation Jump to search
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[image:ks0136图.jpg|thumb|600px|right|EASY plug Flame Sensor Module]]
[[image:ks0136图.jpg|thumb|600px|right|EASY plug OLED Module]]


==Introduction==
==Introduction==
Line 8: Line 8:
In low ambient light conditions such as a dark room an OLED screen can achieve a higher contrast ratio than an 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>
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.
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>
<br>


Line 22: Line 26:
* Dimensions: 39mm*27mm*18mm
* Dimensions: 39mm*27mm*18mm
* Weight: 7g
* Weight: 7g
<br>
<br>
==Connect It Up ==
==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>
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>
Line 29: Line 33:


<br>
<br>
==Upload the Code==
==Upload the Code==
Copy and paste below code to [http://wiki.keyestudio.com/index.php/How_to_Download_Arduino_IDE Arduino IDE] and upload.  
Below is an example code. Open or drag below code to [https://wiki.keyestudio.com/Getting_Started_with_Mixly  Mixly Blocks] and upload. <br>
Libraries Download:[http://www.keyestudio.com/files/index/download/id/1507706039/]
<br>[[File:ks0398 16.1.png|500px|frameless|thumb]]<br>
<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);
==What You Should See==
<br>[[File:ks0398 16-1.png|600px|frameless|thumb]]<br>
<br>
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>


void setup() {
<br>
 
<span style="color: red"><big>'''Troubleshooting:'''</big> </span> <br>
// by default, we'll generate the high voltage from the 3.3v line internally! (neat!)
* '''Upload Failed ?''' <br>
display.begin(SSD1306_SWITCHCAPVCC, 0x3C); // initialize with the I2C addr 0x3D (for the 128x64)
This happens sometimes, the most likely case is a confused Board and serial port, you should firstly select your proper board and port.<br>
// init done
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>


// 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);
}
</pre>


<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 Result.png|500px|frameless|thumb]]<br>


<br>
==Resources ==


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


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


<br>
==Buy from ==
==Buy from ==
'''Official Website'''<br>
*[https://www.keyestudio.com/newkeyestudio-rj11-easy-plug-128-x-64-oled-module-for-arduino-steam-p0102-p0102.html '''Official Website''' ]
http://www.keyestudio.com/keyestudio-easy-plug-128-x-64-oled-module-for-arduino.html


*[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 ]




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

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