SSD1327 4-bit greyscale OLED displays

Discuss development of drivers for external hardware and components, such as LCD screens, sensors, motor drivers, etc.
Target audience: Users and developers of drivers.
User avatar
mcauser
Posts: 507
Joined: Mon Jun 15, 2015 8:03 am

Re: SSD1327 4-bit greyscale OLED displays

Post by mcauser » Sun Nov 14, 2021 11:35 pm

Hi @cavalrydrone
If it's this one https://www.adafruit.com/product/4741 then it should be compatible.
It's a 128x128 screen, so use the WS_OLED_128X128 class, or SSD1327_I2C and specify the width=128 and height=128.

The SSD1327 can do I2C or SPI, but my driver focuses on the I2C interface, as it originated with the Seeed module, which is using an I2C Grove connector.

If you are using the Stemma QT connector on the Adafruit board, then it's using the I2C interface too.

https://learn.adafruit.com/adafruit-gra ... ay/pinouts

Looking at the back of the Adafruit board, the I2C address they are using is 0x3d when A0 is not connected.
Connect A0 to GND to change the address to 0x3c, or just specify addr=0x3d in the constructor.

In I2C mode, Clk = I2C SCL, Data = I2C SDA.

Post Reply