SPI 0.91 Only 3 pins?

Hey forummers!

After a weekend long of searching, I decided to post my question here. Hope someone can help me out :confused: For example, I tried the tips in this thread SPI 0.91" 128x32 5 pin GND VCC DIN CLK DC - Displays - Arduino Forum

For my project, I purchased a SPI 0.91 inch OLED display via Ebay (http://www.ebay.com/itm/281900023759). This display I would like to use with the U8g or Adafruit libraries, but I can not find out how to connect the screen to my Nano and make it light up. Even a "Hello World" would be nice now :slight_smile: :slight_smile:

It has pins for GND and 5V, CLK, DIN and DC. I als have no clue what constructor will work for this. My guess is 1306, who knows?

Thanks for your kind replies and willingness to support me and my project!

You will use either of these constructors:

//U8GLIB_SSD1306_128X32 u8g(13, 11, 10, 9);	// SW SPI Com: SCK = 13, MOSI = 11, CS = 10, A0 = 9
//U8GLIB_SSD1306_128X32 u8g(10, 9);             // HW SPI Com: CS = 10, A0 = 9 (Hardware Pins are  SCK = 13 and MOSI = 11)

I would be 100% certain that this display needs 3.3V logic. Examine what chips are actually on the pcb.

DIN = MOSI
CLK = SCK
DC  = A0

You don't seem to have a CS pin. This subject has come up before. It means you can not have multiple SPI devices on the SPI bus.

David.

Thanks David!
I think you're right about the 3.3v, the screen is completely black where it used to be blue-ish... Seems that the 3.3v~5v mentioned by the seller comes down to 3.3 only ;-(

In the mean time, I got another display to work. It's too big for my project, but a good starting point.

:: Thumbs up to your quick help ::