OLED HDK

From ElectroDragon Wiki
Revision as of 13:37, 3 June 2021 by Chao (talk | contribs) (→‎Interface - IIC)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

SSD1306 and SSH1106

  • IIC address select, 稳压管 = on board regulator
IIC address.jpg
  • IC compare
Type SSH1106 SSD1306
Display for 1.3 only for 0.96 and 1.3 both
RAM / resolution 132 x 64 128 x 64
address 0x00 0x02
Alternative address for arduino 0x3D or 0x3C, or run a IIC scanner in arduino


Interface - IIC

  • GND VCC SCL SDA
  • And here is the front side of display

Interface - SPI

  • GND - GND
  • VCC - 3.3V - 5V
  • CLK or D0 - SPI_CLK
  • MOSI or D1 - SPI_MOSI
  • RES - Reset (normal MCU IO)
  • DC - Data / Command (normal MCU IO)
  • CS - SPI_CS

Interface

Pin From Left IIC SPI Change from SPI to IIC Arduino Setup
1 GND GND GND
2 VCC VCC VCC
3 SCL D0 - CLK or SCL D13
4 SDA D1 - MOSI or SDA D11
5 X reset D8
6 X data/command select for setting IIC address D9
7 X chip select D10
  • SPI interface, can be changed to IIC
  • To use SPI un-comment U8G2 library line in skech example

U8X8_SH1106_128X64_NONAME_4W_HW_SPI u8x8(/* cs=*/ 10, /* dc=*/ 9, /* reset=*/ 8);

  • To use IIC, un-commen the next line

U8X8_SH1106_128X64_NONAME_HW_I2C u8x8(/* reset=*/ U8X8_PIN_NONE);

Dimension

Dimension for OLED with back PCB

Dimension for raw OLED, see more information in raw oled datatsheet below

Board schematic

RAW OLED schematic

Schematic wiring for Raspberry

Common Version

  • 0.96" = 128x64
  • 1.3" = 128x64
  • 0.91" = 128x32