96x64 Color OLED display & Pi0
icepuck
Posts: 466
I'm trying use the parallax color display with a pi, do all the pins on the display need to be hooked up in order for it to work?
This is what I have so far.
pi oled
MOSI =>DIN
SCLK =>CLK
CE0 =>CS
-dan
This is what I have so far.
pi oled
MOSI =>DIN
SCLK =>CLK
CE0 =>CS
-dan
Comments
Incidentally Terry most OLED displays, including the one from Parallax should be used via I2C instead of SPI. And that sir is recommended for your project as well.
Of course the one from Parallax was wired as an SPI device, that makes things some what difficult to properly program for almost anyone.
And icepuck what prompted you to chose the Parallax OLED display for your project? Not that it matters of course.
https://cdn-shop.adafruit.com/datasheets/SSD1331_1.2.pdf
Huh?
I don't doubt that. But take a look at my message. I crossed off the one regarding one feature versus the other, after I checked out the one our correspondent decided to use.
I just now see you wrote it with a strike through. I am an idiot. My bad.
Sorry. I first wrote it down. Then I checked the product description, and sure as a certain individual was, the product did not include my preferred signaling method, it does use SPI, and not I2C, which I prefer. I have a batch of them here, and all do use I2C, which is a different display controller altogether. So I stuck a strike through command over it instead.
SPI is very common in LCD displays, and makes more sense at higher pixel counts as i2c is simply too slow.
The Pi has both i2c and SPI hardware, and there are LCD Modules for Pi that claim up to 125MHz link speeds, with Pi drivers. (I've not tested one, but they certainly appeal for P2 use)
- so SPI can be quite fast.
Thanks for the link.
-dan
Pi pins BCM pins oled
pin 19 BCM 10 DIN
pin 23 BCM 11 CLK
pin 24 BCM 8 CS
pin 18 BCM 24 DC
pin 22 BCM 25 RES
-dan