This OLED display has white pixels on a black background. The display communicates over SPI / I2C and can be powered with 3.3V.
OLED (Organic Light-Emitting Diode) means that the screen consists of all small LEDs (each pixel equals 1 LED). As a result, the display does not require a backlight and is much more economical to use. In addition, this gives a much higher contrast, making this display very clear and legible despite its size.
Specifications- Control chip: SSD1306
- Display area: 21.744 x 10864mm
- Physical size: 27.3 x 27.8mm
- Interface type: by Default 7-wire SPI
- Switchable rear resistor to use 3-wire SPI, IIC interfaces
- Number of pins: 7
- Display color: White
- Working temperature: -40 -70°C
Interface- GND (Power ground)
- VCC (Power 3.3V - 5V)
- D0 (SPI clock line for SPI interface and IIC clock line for IIC interface)
- D1 (SPI data line for SPI interface and IIC data line for IIC interface)
- RES (OLED reset, OLED needs to be reset once after power-on)
- DC (SPI data/command selection pin, used to set IIC address when IIC interface)
- CS (OLED SPI chip select, active low, if you do not want to use must be grounded)
Connection- Method 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. - Method 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. - Method 3:
MCU analog IIC connection method:
IIC address:
DC is low = 0x78
DC is high = 0x7A - Method 4:
MCU hardware IIC connection method:
IIC address:
DC is low = 0x78
DC is high = 0x7A