SSD1322 Oled Display with a Pico?

RP2040 based microcontroller boards running MicroPython.
Target audience: MicroPython users with an RP2040 boards.
This does not include conventional Linux-based Raspberry Pi boards.
Post Reply
User avatar
ChasL001
Posts: 12
Joined: Wed Apr 07, 2021 12:05 pm
Location: Chinnor, UK
Contact:

SSD1322 Oled Display with a Pico?

Post by ChasL001 » Tue Apr 13, 2021 12:36 pm

I have an SSD 1322 OLED display which I have used with a Pi Zero for a model train display of timetables. The display works OK but of course all the programming was done by someone else and I just followed a build guide.

I'd like to try and use this display with a PICO using SPI.

I followed a great YT video https://www.youtube.com/watch?v=zlKJ5hvfs6s showing how to test I2C and get a display working but it was a different display to mine.

Doing a lot more research I discovered I needed to install the LUMA Package which I did and have luma, luma.core and luma.oled all installed via Thonny manage packages. I've tried running the I2C detection part of the tutorial https://electronoobs.com/eng_arduino_tut138.php which works when checking my BME280 board but does not when using the SSD 1322.

So I guess I'm not loading the SSD driver correctly. I've tried following the guides at the website https://luma-oled.readthedocs.io/en/latest/install.html but of course this all relates to Python on a Pi not Micropython.

Can anyone help with this in any way?

With thanks, Chas.

User avatar
Roberthh
Posts: 3667
Joined: Sat May 09, 2015 4:13 pm
Location: Rhineland, Europe

Re: SSD1322 Oled Display with a Pico?

Post by Roberthh » Tue Apr 13, 2021 2:44 pm

Looking at the SSD1322 data sheet, I2C is not mentioned. It talks about serial SPI, and parallel 8080 and 6800 mode.

User avatar
ChasL001
Posts: 12
Joined: Wed Apr 07, 2021 12:05 pm
Location: Chinnor, UK
Contact:

Re: SSD1322 Oled Display with a Pico?

Post by ChasL001 » Tue Apr 13, 2021 4:08 pm

Roberthh wrote:
Tue Apr 13, 2021 2:44 pm
Looking at the SSD1322 data sheet, I2C is not mentioned. It talks about serial SPI, and parallel 8080 and 6800 mode.
Gosh darn it, you're right! I made the assumption they were commonly connected for both but the package only talks SPI not I2C.

Right, new display SSD 1306 required for the project.

Thanks Robert :)

User avatar
Roberthh
Posts: 3667
Joined: Sat May 09, 2015 4:13 pm
Location: Rhineland, Europe

Re: SSD1322 Oled Display with a Pico?

Post by Roberthh » Tue Apr 13, 2021 4:27 pm

SPI is also available at the Pico.

Post Reply