SSD1306 LCD Display 12864 affichage pour ESP8266

Geekcreit® 7Pin 0.96 Inch OLED Display 12864 SSD1306 SPI IIC Serial LCD Screen

Pour ceux qui sont perdu avec le cablage (wiring) de l’ecran SSD1306:
Geekcreit® 7Pin 0.96 Inch OLED Display 12864 SSD1306 SPI IIC Serial LCD Screen. Il dispose de plusieurs solutions pour le câbler.

Présentation

Control chip: SSD1306
Display area: 21.744 x 10864mm
Physical size: 27.3 x 27.8mm
Interface type: Default 4-wire SPI
Switchable rear resistor to use 3-wire SPI, IIC interfaces
Number of pins: 7Display
color: yellow blueWorking
temperature: -40~70°C
Net weight: 5g

Interface définition

  • 1> GND (Power ground)
  • 2> VCC (Power + 3.3-5V)
  • 3> D0 (SPI clock line for SPI interface and IIC clock line for IIC interface)
  • 4> D1 (SPI data line for SPI interface and IIC data line for IIC interface)
  • 5> RES (OLED reset, OLED needs to be reset once after power-on)
  • 6> DC (SPI data/command selection pin, used to set IIC address when IIC interface)
  • 7> CS (OLED SPI chip select, active low, if you do not want to use must be grounded)

Wiring 1:

MCU hardware SPI connection method:
If there is only one device on the SPI bus, you can directly ground the CS of the OLED screen, which saves an IO.


Wiring 2:

MCU IO analog SPI connection mode:
If there is only one device on the SPI bus, you can directly ground the CS of the OLED screen, which saves an IO.


Wiring 3:

MCU analog IIC connection method:
IIC address:
DC is low = 0x78
DC is high = 0x7A
Generally DC grounding 


Wiring 4:

MCU hardware IIC connection method:
IIC address:
DC is low = 0x78
DC is high = 0x7A
Generally
DC grounding

Laisser un commentaire