OLED with SSD1322 controller
OLED with SSD1322 controller
Is there any driver/library for OLED display with SSD1322 controller? Usual resolution is 256px * 64px.
Re: OLED with SSD1322 controller
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
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
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
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
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.
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
after months of searching, I finally made my own version for ssd1322.
https://github.com/jakiee3y/micropython-ssd1322
- benonymous
- Posts: 2
- Joined: Mon Oct 18, 2021 11:32 pm
Re: OLED with SSD1322 controller
Double post removed here.
Last edited by benonymous on Tue Oct 19, 2021 11:16 pm, edited 1 time in total.
- benonymous
- Posts: 2
- Joined: Mon Oct 18, 2021 11:32 pm
Re: OLED with SSD1322 controller
First of all, thanks to jakiee3y for writing the driver 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
This works: (ssd1322.py @ https://github.com/jakiee3y/micropython-ssd1322)benonymous wrote: ↑Tue Oct 19, 2021 4:44 amFirst of all, thanks to jakiee3y for writing the driver 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?
# 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
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.
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.