OLED Display
In this project, you'll learn how to connect and control an Organic Light Emitting Diode (OLED) display which uses the SSD1306 controller chip.
There are two versions of this display, an I2C version with four connections and a SPI version with seven connections. The tradeoff between them is the I2C version using fewer connection wires is slower than the SPI version using more connection wires.Parts needed:
| ||||||||||||||||||||||||||||||||||||||||
1 | Making the connections
I2C Version - This OLED display uses the I2C protocol which uses four wires.
SPI Version - This OLED display uses the SPI protocol which uses seven wires.
| |||||||||||||||||||||||||||||||||||||||
2 | Download the following libraries: | |||||||||||||||||||||||||||||||||||||||
3 | Install the libraries by selecting Sketch from the Arduino IDE menu,
then select Include Library,
then select Add .ZIP Library.
Locate and select the files one at a time that you just downloaded in step 2. It should be in the Download folder.
(Refer to this document for more information on how to install a library if you run into problems.) | |||||||||||||||||||||||||||||||||||||||
4 | Create a new program by selecting File from the menu
| |||||||||||||||||||||||||||||||||||||||
3 | Upload and run the program. You should see some really cool graphics. | |||||||||||||||||||||||||||||||||||||||