Skip to content

rdagger/micropython-ssd1322

Repository files navigation

MicroPython Display Driver for SSD1322 Grayscale OLED

The library supports drawing lines, shapes, text, sprites and images. All code is documented and there are demo examples. Tested on 5.5 inch green OLED display SPI module with 256x64 resolution using Raspberry Pi Pico W.

Sample XGLCD fonts are included in the fonts folder. Additional fonts can generated from TTF fonts using a free utility called MikroElektronika GLCD Font Creator.

There are sample images in monochrome (monoHMSB) and grayscale (GS4) format. I’ve included python apps in the utils folder to convert images in common formats such as JPEG and PNG to monoHMSB and GS4.

demo_images.py example draws monochrome and grayscale images:

Clovers2

Please note the horizontal bands in the pictures are due to filming issues:

Faces

demo_fonts.py example:

Fonts

demo_grayscale.py example draws 16 different shades of gray:

Grayscale

demo_qr.py example draws a QR code which is readable by phones, tablets and webcams:

QR Code

demo_shapes.py example:

Shapes

There's a project on my website Rototron that utilizes the SSD1322 library. Alternatively, click the picture below for the project YouTube video:

SSD1322 Project

About

MicroPython Display Driver for SSD1322 Grayscale OLED

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages