How to interface to Raspberry PI with Adafruit 823 display

Moderators: adafruit_support_bill, adafruit

Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/
Locked
anil1712004
 
Posts: 2
Joined: Mon Nov 05, 2012 1:54 pm

How to interface to Raspberry PI with Adafruit 823 display

Post by anil1712004 »

What does it take to get the Raspberry Pi to talk to this Adafruit 823 OLED display, both hardware and software?

User avatar
marks3
 
Posts: 52
Joined: Fri Oct 12, 2012 1:07 pm

Re: How to interface to Raspberry PI with Adafruit 823 display

Post by marks3 »

I just received my OLED (Adafruit 823). I can't find any help on how to wire or write some basic code on my Raspberry Pi.

Actually, I can't seem to find anything on how to interface to my BoardUino either.

Ahh. Just found something for the Arduino.

https://github.com/ladyada/Adafruit_Cha ... DWorld.ino

Mark

User avatar
marks3
 
Posts: 52
Joined: Fri Oct 12, 2012 1:07 pm

Re: How to interface to Raspberry PI with Adafruit 823 display

Post by marks3 »

Using the Adafruit Boarduino, I was able to follow the tutorial (the LadyAda HelloWorld example) for the OLED 823 display. I have connected the Boarduino to the Raspberry Pi thru the UART TX and RX pins being carefull to use the Adafruit 4 channel logic level converter (because the Boarduino RX pin can go to 5 V during reset? - not sure).

I can send data to the BoardUino at 9600 baud (plenty fast enough and somewhat immune to noise at this slow speed) and then have Boarduino display the characters on the OLED.

But I am wondering if anyone has written a native library (Python code maybe?) for the Raspberry Pi to command the OLED 823 directly.

User avatar
rustybikes
 
Posts: 15
Joined: Sun Jul 15, 2012 2:25 pm

Re: How to interface to Raspberry PI with Adafruit 823 display

Post by rustybikes »

You're in luck. There's an article for that: http://learn.adafruit.com/drive-a-16x2- ... i/overview :)

Note that the article talks about standard LCD's, but the same instructions work great with the 823 OLED. Just don't wire anything for pins 3, 15, and 16. They have to do with contrast and backlight, which are N/A for OLEDs.

Also, be aware that the 823 OLED is only mostly HD44780 compatible, and it doesn't really play nice with I2C or SPI backpacks, just in case you were eyeing one of those to reduce the GPIOs that the display will take up.

Locked
Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/

Return to “Adafruit Raspberry Pi® accessories”