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/

How to interface to Raspberry PI with Adafruit 823 display

by anil1712004 on Mon Nov 05, 2012 1:00 pm

What does it take to get the Raspberry Pi to talk to this Adafruit 823 OLED display, both hardware and software?
anil1712004
 
Posts: 1
Joined: Mon Nov 05, 2012 12:54 pm

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

by marks3 on Mon Nov 05, 2012 6:35 pm

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_CharacterOLED/blob/master/examples/HelloOLEDWorld/HelloOLEDWorld.ino

Mark
marks3
 
Posts: 32
Joined: Fri Oct 12, 2012 12:07 pm
Location: Toronto, Ontario, Canada

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

by marks3 on Wed Nov 07, 2012 11:16 am

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.
marks3
 
Posts: 32
Joined: Fri Oct 12, 2012 12:07 pm
Location: Toronto, Ontario, Canada

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

by rustybikes on Sun Nov 11, 2012 9:58 pm

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.
rustybikes
 
Posts: 10
Joined: Sun Jul 15, 2012 1:25 pm