0miker0
Posts: 3
Joined: Thu Jun 26, 2014 12:34 am

SPI 128x64 Oled Display I created

Mon Aug 11, 2014 11:52 am

Last night I created a small 128x64 white Oled module that plugs onto the Raspberry Pi header. My setup before was a small breadboard and several jumper wires. This new one is an I/O hog but plugs right onto the header. Not sure what it could be used for yet but I thought I would give it a go. The code and instructions are on the Adafruit site:
https://learn.adafruit.com/ssd1306-oled ... bone-black


A video of it working can be found here.
http://youtu.be/1te4_fI7b8Q?list=UUXpjU ... EtzbuK0xkQ

toxibunny
Posts: 1382
Joined: Thu Aug 18, 2011 9:21 pm

Re: SPI 128x64 Oled Display I created

Mon Aug 11, 2014 4:38 pm

Well that's nice and compact! Looks good. :)
note: I may or may not know what I'm talking about...

acpadhi
Posts: 25
Joined: Sat Sep 13, 2014 9:18 pm

Re: SPI 128x64 Oled Display I created

Sun Sep 14, 2014 1:39 pm

Congrats.

These displays are just cute. I think this one is Hardware SPI, right ?

I got another one, Image is attached in this, and I got it working on I2C :).
It has 8 Pins, as you can make out from the Attached Images.

I am not able to get it working either on Hardware or Software SPI.
The Library in the link you provided uses/forces to use DC and RST pins which are missing in this Display.

Can anyone share experiences with this display ? From SPI Specs, I think, DC and RST are non standard PINs and this display does not have them, SO I think it surely meets the SPI specs. However, Don't know why it does not work. I used relevant pins as per the tutorials in the link you provided.
https://learn.adafruit.com/ssd1306-oled ... ack/wiring

Obviously., the DC and RST part is not connected since they do not exist for this OLED

I tried sending 0 to RST and DC also in shapes.py
RST = 0
DC = 0

disp = Adafruit_SSD1306.SSD1306_128_64(rst=RST, dc=DC, spi=SPI.SpiDev(SPI_PORT, SPI_DEVICE, max_speed_hz=8000000))

Sending None raises error in Library since it needs an integer for the DC and RST pins.

From what I can make out, this Display has ability to autoswitch between I2C and SPI as per signals send. There are no pads in the PCB also as you can see from the attached PICS.

Attached are 3 Images with descriptions. Please guide on how to get this working in SPI (both hardware and software). This is SSD1306, since the I2C works fine as per adafruit tutorials
Attachments
P_20140913_152816.jpg
No SOlderable Pads anywhere in back side. SO must be haing autoswitch facility between I2C and SPI
P_20140913_152816.jpg (55.72 KiB) Viewed 4130 times
P_20140913_152841.jpg
Front of LEd, see, how there is no DC and no RST
P_20140913_152841.jpg (47.88 KiB) Viewed 4130 times
P_20140914_145804.jpg
Working Fine on I2C, with NO DC, No RST
P_20140914_145804.jpg (44.85 KiB) Viewed 4130 times

Return to “Interfacing (DSI, CSI, I2C, etc.)”