• Home
  • pcDuino
  • WiKi
  • Store
  • Distributors
  • Home
  • pcDuino
  • WiKi
  • Store
  • Distributors
Previous Next

Linker OLED Module For Arduino

Posted by: , June 7, 2014

[vc_row][vc_column][vc_column_text]Linker OLED module is an OLED display measured at  0.96 ” and with a  resolution of  128 x 64. It communicates with the host through IIC interface. It is of  high brightness, wide view angle, low power consumption, and small form factor.

图片1[/vc_column_text][vc_tour][vc_tab title=”Features” tab_id=”1402020614-1-52″][vc_column_text]

  1. Communication interface: IIC
  2. Driver IC: SSD1306
  3. Working voltage: 3.3 V  ~  5.5 V
  4. Working temperature: – 30 ℃ ~ 70 ℃
  5. Display color: mono color ( blue)

[/vc_column_text][/vc_tab][vc_tab title=”Parts List” tab_id=”1402020614-2-98″][vc_column_text]

  • 1  x  Arduino UNO
  • 1  x  Linker OLED Module
  • 1  x  Linker Base Shield
  • 1  x  Linker Cable

[/vc_column_text][/vc_tab][vc_tab title=”Test code” tab_id=”1402021475958-2-2″][vc_column_text]

#include <Wire.h>
#include <linker_oled.h>

void setup()
{
  Wire.begin();
  linkeroled.init(); 
  DDRB|=0x21;       
  PORTB |= 0x21;
  linkeroled.clearDisplay();          //clear the screen and set start position to top left corner
  linkeroled.setInverseDisplay();     //Set display to inverse mode
  //linkeroled.setNormalDisplay();      //Set display to normal mode (i.e non-inverse mode)
  linkeroled.setBrightness(255);  // Change the brightness 0 - 255

  linkeroled.setPageMode();           //Set addressing mode to Page Mode
  linkeroled.setTextXY(1,2);          //Set the cursor to Xth Page, Yth Column 
  linkeroled.putString("Hello World!"); //Print the String
  linkeroled.setTextXY(3,1);          //Set the cursor to Xth Page, Yth Column 
  linkeroled.putString("linksprite.com"); //Print the String
  linkeroled.setTextXY(6,5);          //Set the cursor to Xth Page, Yth Column 
  linkeroled.putString("04/06/2014"); //Print the String

}

void loop()
{

}

[/vc_column_text][/vc_tab][vc_tab title=”Test Result” tab_id=”1402022435260-3-4″][vc_column_text]

(1)Wiring:Install the LinkerBaseShield to ArduinoUNO,  connect the LinkerOLED to the IIC interface of  LinkerBaseShield with LinkerCable.

图片2

 (2) Download the code library in the attachment, unzip to “/arduino-1.0/libraries/ “directory:

图片3

 (3)Open the ArduinoIDE, input the test code, compile and download, you can also click File -> Examples -> Linker_OLED and open the routine:

图片4

 (4) Show the effect ( white light and blue light):

图片5

图片6

[/vc_column_text][/vc_tab][vc_tab title=”Download” tab_id=”1402022950989-4-9″][vc_column_text]

Linker OLED library:Linker_OLED

SSD1306:SAS1-9046-B UG-2864HSWEG01-Univision

[/vc_column_text][/vc_tab][/vc_tour][/vc_column][/vc_row]

Tags: Shields

Share!
Tweet

About the author

Leave a Reply Cancel reply

You must be logged in to post a comment.

Category

  • Home
  • pcDuino
  • WiKi
  • Store
  • Distributors