0.42 Inch White OLED Display Screen LCD Module IIC/SPI Interface SSD1306 72*40 0.42”
Product Details
Product Parameters
Resolution: 72*40
Driver IC: SSD1306
Color: white
Brightness: Support 256-step adjustable brightness
Communication interface: 4-wire SPI/IIC, default SPI
Interface Definition
1.GND
2.VCC: +3.3-5V
3.SCL: SPI clock
4.SDA: SPI data
5.RES: OLED reset after power-on low level
Reset once, then stay high
DC: Data / Command Control Line
CS: OLED SPI chip select, active low
The 0.42 inch spi interface is modified to the IIC interface operation method
The resistor SPI is removed and soldered to the ICC position; the ends of R5 are shorted by tin, and the dc and cs pins are grounded; the res pin is controlled by an io to complete the reset; the reset method first keeps the RES pin at the level of 20ms; The RES pin is operated with a high level to complete the reset operation, and then the OLED is initialized; thus, ic=SDA can be communicated with iic.