Page 1 of 1

OLED with SSD1322 controller

Posted: Wed Feb 12, 2020 7:38 am
by danielm
Is there any driver/library for OLED display with SSD1322 controller? Usual resolution is 256px * 64px.

Re: OLED with SSD1322 controller

Posted: Sat Apr 11, 2020 9:15 am
by VicLuna
Hi

have you tried SSD1306?
https://github.com/adafruit/micropython ... it-ssd1306

this library when you create the class define the resolution.
it may works.

tell us

Regards

Re: OLED with SSD1322 controller

Posted: Tue Apr 14, 2020 5:54 am
by jimmo
I'd probably try and adapt the driver from luma-oled to the SSD1306 driver at https://github.com/micropython/micropyt ... ssd1306.py See https://github.com/rm-hull/luma.oled/bl ... _init__.py
VicLuna wrote:
Sat Apr 11, 2020 9:15 am
this library when you create the class define the resolution.
it may works.
I doubt it - the SSD1322 is different to the 1306. And the up-to-date version of that driver is the one I linked to above.

Re: OLED with SSD1322 controller

Posted: Wed Apr 15, 2020 7:18 am
by danielm
I am familiar with SSD1306 driver and used it a lot in the past. However SSD1306 is limited to 128*64px and I was in need of something bigger.

SSD1322 does not support I2C, only SPI and parallel.

Yes, I was also thinking to adapt SSD1322 library for CPython. I should have hardware with 3.12" 256*64px SSD1322 display ready in about a month. Then I will will try to do it.

There are also 4.7" 256*128px displays with 2xSSD1322 - there are two chip select pins.

Re: OLED with SSD1322 controller

Posted: Sat Jul 17, 2021 2:30 pm
by jakiee3y
danielm wrote:
Wed Feb 12, 2020 7:38 am
Is there any driver/library for OLED display with SSD1322 controller? Usual resolution is 256px * 64px.
after months of searching, I finally made my own version for ssd1322.
https://github.com/jakiee3y/micropython-ssd1322

Re: OLED with SSD1322 controller

Posted: Tue Oct 19, 2021 1:35 am
by benonymous
Double post removed here.

Re: OLED with SSD1322 controller

Posted: Tue Oct 19, 2021 4:44 am
by benonymous
First of all, thanks to jakiee3y for writing the driver 8-) I have adapted the test code for the ESP32 in MicroPython to try to run the display of a Raspberry Pi Pico. Unfortunately, when the display initialises, it just lights up nearly all the pixels and won't respond to the disp.fill(0) command. Does the Pi Pico need a different initialisation script?

Re: OLED with SSD1322 controller

Posted: Sun Dec 12, 2021 1:00 am
by jakiee3y
benonymous wrote:
Tue Oct 19, 2021 4:44 am
First of all, thanks to jakiee3y for writing the driver 8-) I have adapted the test code for the ESP32 in MicroPython to try to run the display of a Raspberry Pi Pico. Unfortunately, when the display initialises, it just lights up nearly all the pixels and won't respond to the disp.fill(0) command. Does the Pi Pico need a different initialisation script?
This works: (ssd1322.py @ https://github.com/jakiee3y/micropython-ssd1322)

# DC -- GP2
# CS -- GP5
# RES -- GP3
# SCK -- GP6
# MOSI -- GP7

import ssd1322
spi=SPI(0,8_000_000)
cs=Pin(5,Pin.OUT)
dc=Pin(2,Pin.OUT)
res=Pin(3,Pin.OUT)
disp=ssd1322.SSD1322_SPI(256,64,spi,dc,cs,res)
disp.fill(0)
disp.show()
disp.line(0,0,255,63,15)
disp.show()
disp.text('hello',100,30,15)
disp.show()

Re: OLED with SSD1322 controller

Posted: Fri Aug 12, 2022 7:17 pm
by rdagger
In case anyone is interested, I wrote a Micropython driver for the SSD1322.

https://github.com/rdagger/micropython-ssd1322

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