Shop OBEX P1 Docs P2 Docs Learn Events
96x64 Color OLED display & Pi0 — Parallax Forums

96x64 Color OLED display & Pi0

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

Comments

  • You also need to connect DC as well. That is what determines if the message sent to the display is data or a command.
  • And depending on whether the display does SPI or I2C, you need to have the right feature enabled on the Pi. In this case you've chosen to send to the display via OLED via SPI, and of course that's what was enabled on the Pi.

    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.
  • ke4pjwke4pjw Posts: 1,065
    edited 2019-04-29 15:24
    I am intimately familiar with the signaling used for the SSD1331. There is no I2C option.

    https://cdn-shop.adafruit.com/datasheets/SSD1331_1.2.pdf
  • ke4pjw wrote: »
    I am intimately familiar with the signaling used for the SSD1331. There is no I2C option.

    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.
  • ke4pjw wrote: »
    I am intimately familiar with the signaling used for the SSD1331. There is no I2C option.

    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.
  • Here is a tutorial for using it with the PiZero. https://www.bluetin.io/displays/oled-display-raspberry-pi-ssd1331/
  • ke4pjw wrote: »
    ke4pjw wrote: »
    I am intimately familiar with the signaling used for the SSD1331. There is no I2C option.

    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.
  • jmgjmg Posts: 15,140
    And depending on whether the display does SPI or I2C, you need to have the right feature enabled on the Pi. In this case you've chosen to send to the display via OLED via SPI, and of course that's what was enabled on the Pi.

    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.

    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.

  • ke4pjw wrote: »
    Here is a tutorial for using it with the PiZero. https://www.bluetin.io/displays/oled-display-raspberry-pi-ssd1331/

    Thanks for the link.
    -dan
  • I finally got this to work. Here's the pin out from pi to the oled, if anyone else wants to try it.

    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
Sign In or Register to comment.