I want to drive 8 sh1122 OLEDs using 1 Arduino

I want to drive 8 sh1122 OLEDs using 1 Arduino.

The 8 OLEDs using SPI communication work for a very short period of time and gradually break the screen.

I tried to adjust the communication speed by modifying the U8G2 library.

At very slow speeds, it works a little longer, but eventually the screen crashes.

I searched the internet and saw a circuit diagram to connect the pull-up resistor to the CS line.

Do pull-up resistors work for driving a large number of OLEDs?

Please post a link to the actual displays that you have bought.

Quote the Arduino board by name e.g. Uno, Due, ...
Copy-paste the U8g2 constructors that you are using.

Attach or describe your schematic. A pencil drawing is fine.

David.

It's not a wiring or coding issue.
If only 3 OLEDs are connected, it works perfectly.
but when the number of OLEDs exceeds 4, the screen starts to break.
So I want to know if I need a pull-up resistor on the CS line.

Answer my questions and you will get an accurate reply.

I can guess that you have SPI displays from the 7-pin headers.
I can guess that you have a Teensy 4.1 from the pcb layout.

I can guess that your constructors might be :

U8G2_SH1122_256X64_1_4W_HW_SPI(rotation, cs, dc [, reset]) [page buffer, size = 256 bytes]

But I would be much happier if you had answered my questions properly.

If you are using a Teensy 4.1 there will be plenty of SRAM.
External pullups are not necessary but would be wise. If we could identify your hardware display(s) we could see if they are already mounted.

It would have cost 5 minutes from your life to paste a link to the display, quote "Teensy 4.1" and copy-paste your 8 constructor statements.

David.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.