joural
Posts: 13
Joined: Mon Oct 08, 2018 10:42 am

Ssd1322 oled display

Sat Jul 27, 2019 9:25 pm

hi, so i have my ssd1322 based oled display id like to connect to my raspberry pi, any idea how would i achive that, on back side of the module is table with resistors R5,6,7 & 8, from that table it appears the display is in 8080 analog mode? Would swapping resistor from R6 to R5 enable 4 wire spi? Sorry this is my first spi & oled device im hooking up to rpi. I found datasheets from various sources that refer to something as BS0 - BS1 as interface switch, could this be variant on module? Am i right that resistors have value of 0ohm, so i can just burn one and join pads on another? Which pins should i connect to which? Thank you for all the help
IMG_20190727_221238_compress35.jpg
IMG_20190727_221238_compress35.jpg (122.39 KiB) Viewed 1196 times

Andyroo

Re: Ssd1322 oled display

Sat Jul 27, 2019 9:50 pm

Without details of who made the board you may be struggling.

A quick Google image search found two very very different pin outs for the same device - one using a 30 pin connector, one a 20 and one using a 16 pin one :shock: but even the 16 pin use may be different to yours...

Often selector pads are connected by zero ohm resistors UNLESS they perform a pull-up or pull-down function. Look carefully to see if the have a '0' one them - this denotes a zero ohm resistor. You can short the pads, use a small jumper wire or any zero ohm resistor of the correct size.

joural
Posts: 13
Joined: Mon Oct 08, 2018 10:42 am

Re: Ssd1322 oled display

Sat Jul 27, 2019 10:52 pm

Thank you Andyroo
It is 16pin version, came from aliexpress, but manufacter search didnt reveal anything, identicaly looking from different seller i found this table, if it will go up in the smoke oh well... With this table and pressumption of swaping to spi 4 wire interface, how would i go about connecting it ?
Thank you in advance
HTB1m2vTTmzqK1RjSZFpq6ykSXXaY.jpg_640x640q90.jpg
HTB1m2vTTmzqK1RjSZFpq6ykSXXaY.jpg_640x640q90.jpg (64.49 KiB) Viewed 1168 times

Andyroo

Re: Ssd1322 oled display

Sat Jul 27, 2019 11:59 pm

You may also blow the Pi :cry: if it’s not the one.

Try to find a driver for the three wire SPI version - last on your table. This needs to match pins on the Pi using https://pinout.xyz/pinout/spi

GND on the board to any GND / 0v on the Pi
VDD to 3v3 on the Pi
SCLK to BCM 11 on the Pi
SDIN to BCM 9 on the Pi
DC to any GND / 0v on the Pi

Other than that, I have no clues on the commands to send other than Googling :lol:

joural
Posts: 13
Joined: Mon Oct 08, 2018 10:42 am

Re: Ssd1322 oled display

Sun Jul 28, 2019 8:14 am

Ill try it with rpi 0 to minimize damages. ;-) It seems like people connecting it with 7 wires, 4 for spi, 2 for power , dont know what last one is for.
Cheers

Andyroo

Re: Ssd1322 oled display

Sun Jul 28, 2019 10:19 am

Looking at the four wire connection it uses one line to denote data or command being sent and one as a reset (pull low to reset) along with clock and data.

Not sure - but I think this means the instruction set may be slightly different for three wire and four wire with commands being sent in the data with the three fire but the same value being taken as data OR command depending on the state of pin 14...

Beginning to think looking for a software driver first is best THEN set the jumpers to what the driver needs :lol:

joural
Posts: 13
Joined: Mon Oct 08, 2018 10:42 am

Re: Ssd1322 oled display

Sun Jul 28, 2019 10:30 am

I thought luna.oled gonna do just that.
https://luma-oled.readthedocs.io/en/latest/intro.html#

Andyroo

Re: Ssd1322 oled display

Sun Jul 28, 2019 10:34 am

That looks neat - love the space invaders game :lol:

gounthar
Posts: 27
Joined: Mon Jul 29, 2013 1:39 pm

Re: Ssd1322 oled display

Thu Jan 09, 2020 2:59 pm

So, did you ever manage to get it to work?
Image
Mine is also in 80XX mode (whatever that may be), so I guess I should move the "0" resistor from R6 to R5, am I right?
Afterwards, I will have to figure out the use of each pin... unless you already know it.
2*3B at home for the kids
7*3B+ at work for serious business (gitlab-runner, broadcasting conference, openSTF server...)
Hoping to get a few hats in the following weeks

Return to “HATs and other add-ons”