Page 4
Under the supervision of Seeed Technology Inc., this manual has been compiled and published which covered the latest product description and specification. The content of this manual is subject to change without notice.
1. Introduction LED 128×64 Display module is an OLED monochrome 128×64dot matrix display module with Grove 4pin I2C Interface. Comparing to LCD, OLED screens are way more competitive, which has a number of advantages such as high brightness, self-emission, high contrast ratio, slim / thin outline, wide viewing angle, wide temperature range, and low power consumption.
2. Features Grove compatible interface Communicate Mode:I2C Low power consumption Display Color: White Wide range of operating temperature:-20℃~70℃...
3. Specifications Items Norm Unit Power Voltage (VCC) Driver IC SSD1308Z Display Color White Dot Matrix 128×64 Panel Size 26.7(W)×19.26(H) Active Area 21.74(W)×11.175 (H) Dot Pitch 0.17(W)×0.175 (H) Dot Size 0.15(W)×0.15 (H) ℃ Wide range of operating temperature -20~70...
Here we demonstrate how to display "Seeedstudio" on the screen. Plug the Grove - OLED Display 128*64 onto the I2C port on Grove - Base Shield, and then plug the Base Shield onto Adriano; Download the library File:OLED_Display128X64 Library;...
Page 12
Wire.begin(); SeeedOled.init(); //initialze SEEED OLED display DDRB|=0x21; //digital pin 8, LED glow indicates OLED properly Connected . PORTB |= 0x21; SeeedOled.setInverseDisplay(); // Set Display to inverse mode SeeedOled.clearDisplay(); // clear the screen and set start position to top left corner SeeedOled.drawBitmap(SeeedLogo,1024);...
Demo code Resources linked. Note:This module is similar to Grove - OLED Display 96*96 in its usage and some library functions, you can make an gray 128*64 image arbitrary that can be shown on OLED 128*64. Please consult the latter...
Page 14
Step2: Copy and paste the following code into the new tab from Adafruit_I2C import Adafruit_I2C import time import math Oled = Adafruit_I2C(0x3c) Command_Mode=0x80 Data_mode=0x40 grayH= 0xF0 grayL= 0x0F Normal_Display_Cmd=0xA4 BasicFont x in xrange(8)] x in xrange(10)] BasicFont=[[0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00], [0x00,0x00,0x5F,0x00,0x00,0x00,0x00,0x00], [0x00,0x00,0x07,0x00,0x07,0x00,0x00,0x00], [0x00,0x14,0x7F,0x14,0x7F,0x14,0x00,0x00], [0x00,0x24,0x2A,0x7F,0x2A,0x12,0x00,0x00], [0x00,0x23,0x13,0x08,0x64,0x62,0x00,0x00], [0x00,0x36,0x49,0x55,0x22,0x50,0x00,0x00],...
Page 17
sendCommand(0xA1) # set display start line sendCommand(0x00) sendCommand(0xA2) # set display offset sendCommand(0x60) sendCommand(0xA0) # set remap sendCommand(0x46) sendCommand(0xAB) # set vdd internal sendCommand(0x01) sendCommand(0x81) # set contrasr sendCommand(0x53) sendCommand(0xB1) # Set Phase Length sendCommand(0X51) sendCommand(0xB3) # Set Display Clock Divide Ratio/Oscillator Frequency sendCommand(0x01) sendCommand(0xB9)
Page 18
grayH= 0xF0 grayL= 0x0F sendCommand(byte): Oled.write8(Command_Mode,byte) sendData(byte): Oled.write8(Data_mode,byte) multi_comm(commands): c in commands: sendCommand(c) oled_clearDisplay(): j in range (0,48): i in range (0,96): sendData(0x00) oled_setNormalDisplay(): sendCommand(Normal_Display_Cmd) oled_setVerticalMode(): sendCommand(0xA0) # remap to sendCommand(0x46) # Vertical mode oled_setTextXY(Row,Column): sendCommand(0x15) # Set Column Address sendCommand(0x08+(Column*4)) # Start Column:...
Page 19
'hello world' Step3: Save the file by clicking the disk icon with with the .py extension. Step4: Connect Grove - OLED to Grove I2C socket on BBG. Step5: Run the code. You'll find that the Grove - OLED outputs "Hello World".
Need help?
Do you have a question about the Grove and is the answer not in the manual?
Questions and answers