Driving an AdaFruit SSD1306 OLED display with a netduino [reloaded]
I ported adapted the Arduino driver written by Limor Fried for the SSD1306 monochrome OLED display to the netduino last week back in January.
At the time, I could not figure out why I was unable to communicate with the display over hardware SPI and had resorted to bit banging data, which was quite slow as you can see:
Last night, I revisited the driver and figured out the issue I had in January. I overhauled the code which now works properly @ 40 MHz using hardware SPI.
Here’s a video of the new driver in action:
Connecting the display to the netduino
SSD1306 VDD ->netduino 3.3 volts power
SSD1306 VBAT ->netduino 3.3 volts power
SSD1306 CS -> netduino D10 (or other Dx pin)
SSD1306 RESET -> netduino D9 (or other Dx pin)
SSD1306 D/C -> netduino D8 (or other Dx pin)
SSD1306 CLK -> netduino D13
SSD1306 DAT -> netduino D11
The driver and the sample code is located at http://netduinohelpers.codeplex.com/
Happy hacking!
Post edited on June 1st 2011.