Display drivers for SSD1306 / SSD1322 / SSD1325 / SSD1331 / SH1106
Python library interfacing OLED matrix displays with the SSD1306, SSD1322, SSD1325, SSD1331 or SH1106 driver using I2C/SPI on the Raspberry Pi and other linux-based single-board computers – it provides a Pillow-compatible drawing canvas, and other functionality to support:
- scrolling/panning capability,
- terminal-style printing,
- state management,
- color/greyscale (where supported),
- dithering to monochrome
Full documentation with installation instructions and examples can be found on https://luma-oled.readthedocs.io.
A list of tested devices can be found in the wiki.
The SSD1306 display pictured below is 128 x 64 pixels, and the board is tiny, and will fit neatly inside the RPi case.