Using more than one SSD1306 display via SPI

Breakout boards, sensors, other Adafruit kits, etc.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
ahochan2
 
Posts: 17
Joined: Wed Feb 13, 2013 2:52 am

Using more than one SSD1306 display via SPI

Post by ahochan2 »

Has anyone tried running more than one SSD1306 display via the same SPI line?

If possible, I'd like to use an Arduino / Arduino Mega and the Adafruit library (with one instance of the library of each display).
Mbed or MSP430 are also options.

I will connect SPI MOSI and SCLK to the DATA and CLK connector for all the displays.
There will be one CS pin for each display.
How about D/C and RESET?

(My feeling is that D/C can be shared, since its state will probably just be ignored if CS isn't asserted. For RESET, probably one for each display is needed.

What are the RAM requirements for each instance of the Adafruit library?

I plan on storing graphics on an SD card. Refresh rate doesn't need to be super-high, it will not run any heavy animation.

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: Using more than one SSD1306 display via SPI

Post by adafruit_support_rick »

That all sounds right. The 128x32 display requires 512 bytes of buffer space, the 128x64 requires 1K of buffer space.

ahochan2
 
Posts: 17
Joined: Wed Feb 13, 2013 2:52 am

Re: Using more than one SSD1306 display via SPI

Post by ahochan2 »

Just got the displays now, and driving more than one works great! (shared SPI and D/C. RESET and CS separate for each display)

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: Using more than one SSD1306 display via SPI

Post by adafruit_support_rick »

Good to know! Thanks for posting

Locked
Please be positive and constructive with your questions and comments.

Return to “Other Products from Adafruit”