[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.
[/vc_column_text][vc_tour][vc_tab title=”Features” tab_id=”1402020614-1-52″][vc_column_text]
- Communication interface: IIC
- Driver IC: SSD1306
- Working voltage: 3.3 V ~ 5.5 V
- Working temperature: – 30 ℃ ~ 70 ℃
- 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) Download the code library in the attachment, unzip to “/arduino-1.0/libraries/ “directory:
(3)Open the ArduinoIDE, input the test code, compile and download, you can also click File -> Examples -> Linker_OLED and open the routine:
(4) Show the effect ( white light and blue light):
[/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]
Leave a Reply
You must be logged in to post a comment.