TOY0005

TOY0005 Datasheet


OLED 2828 color display module .NET Gadgeteer Compatible SKU:TOY0005

Part Datasheet
TOY0005 TOY0005 TOY0005 (pdf)
PDF Datasheet Preview
OLED 2828 color display module .NET Gadgeteer Compatible SKU:TOY0005

Contents
• 1 Instruction
• 2 Specification
• 3 Pins Identification
• 4 Product Size
• 5 SPI Sequence Diagram
• 6 Commands List
• 7 Application in Arduino

Connecting Diagram Sample Code More

Instruction

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. Support arduino controller and .NET Gadgeteer-compatible mainboard

Specification
• Working
• 262,144 Colors max
• 128x128 RGB pixel resolution
• or Gadgeteer
• ~ +70
• OLED x 26.864 mm
• Module x 42.00 mm
• g
• inch
• Driver

Pins Identification
*Arduino
power3.3V
power 5V (through boost circuit to supply 13V to

Select
*Gadgeteer

PIN1:3.3V PIN2:5V PIN3:NC PIN4:RST PIN5:DC PIN6:CS PIN7:SI PIN8:NC

PIN9:SCK PIN10:G

Product Size

Product Size

SPI Sequence Diagram

Sequence Diagram

Commands List

The address of rows and columns and the display mode can be changed by setting command. For more detail refer to SSD1351.pdf page SSD1351.pdf We will simply explain these above-mentioned commands through the example Set Re-map / Color Depth Display RAM to Panel in Page 32 A[7:6] Set Color Depth 00b 256 color 01b 65K 10b 262k color, 8/18-bit,16 bit 1stoption MCU interface 11b 262k color, 16 - bit MCU interface 2ndoption With different mode, there are different bits for each pixel data as you can see below refer to SSD1351.pdf Page For example if written A[7:6]=01b to choose 65K color use 2 8-bit data to determine a pixel in which C0~C4 represents B.

A[2] Set Color Sequence A[2]=0b, Color sequence A-B-C [reset] A[2]=1b, Color sequence is swapped C-B-A So , in depth 65k color with sequence C-B-A RGB mode , we can write data 0xf8,0x00 to make the screen red and in sequence A-B-C BGR with same depth ,write to
make screen red.

Application in Arduino

Connecting Diagram

Board uno 3.3V 5V G GND RST D7 SCK D13 SI D11 CS D8 DC D9

Sample Code
#include "U8glib.h" U8GLIB_SSD1351_128X128_332 u8g 13, 11, 8, 9, 7 // Arduino UNO SW SPI Com SCK = 13, MOSI = 11, CS = 8, DC = 9, RESET = 7 uk/ArduinoShield.aspx
void draw void // graphic commands to redraw the complete screen should be placed here u8g.setFont u8g_font_unifont //u8g.setFont u8g_font_osb21 u8g.drawStr 0, 22, "Hello World!" ;
void setup void
// flip screen, if required // u8g.setRot180 ;
// set SPI backup if required
// assign default color value
if u8g.getMode == U8G_MODE_R3G3B2
u8g.setColorIndex 255 ;
// white
else if u8g.getMode == U8G_MODE_GRAY2BIT
u8g.setColorIndex 3 ;
// max intensity
More datasheets: 2715B/M | 2715R/M | 2715B/C | 2715R/C | AIMB-564VG-00A1E | M3455 SL002 | M3455 SL001 | M3455 SL005 | 67-21/GBC-YV2W2N/2A0 | NX2520SA-40.000000MHZ-W3


Notice: we do not provide any warranties that information, datasheets, application notes, circuit diagrams, or software stored on this website are up-to-date or error free. The archived TOY0005 Datasheet file may be downloaded here without warranties.

Datasheet ID: TOY0005 509173