Line 1: Line 1:
 
[[Category:8051 tutorials]]
 
[[Category:8051 tutorials]]
In earlier tutorials, we discussed the interfacing of LCD and GLCD. In this tutorial, we will see how to interfaces an I2C OLED(128x64) with 8051. There are plenty of well written arduino oled libraries to display strings, numbers, and logos. They all use a shadow ram buffer of 1024 bytes(128x64 pixels) and support different fonts etc. As 8051 has only 128 bytes of RAM we cannot use the shadow RAM buffer and support all the fonts.  
+
In earlier tutorials, we discussed the interfacing of LCD and GLCD. In this tutorial, we will see how to interfaces an I2C OLED(128x64) with 8051. There are plenty of well written arduino oled libraries to display strings, numbers, and logos. They all use a shadow ram buffer of 1024 bytes(128x64 pixels) and support different fonts etc. As 8051 has only 128 bytes of RAM we cannot use the shadow RAM buffer and support all the fonts.<br>
 
First, we will see the frame format for sending the commands and data to OLED. After this, we will discuss few of the OLED commands. Finally, we will be displaying string, numbers on OLED.
 
First, we will see the frame format for sending the commands and data to OLED. After this, we will discuss few of the OLED commands. Finally, we will be displaying string, numbers on OLED.
 
Displaying of logos/icons will be discussed in the separate tutorial.
 
Displaying of logos/icons will be discussed in the separate tutorial.
 +
 +
=OLED Frame Formats=
 +
 +
=OLED Commands=
 +
 +
=Command Write=
 +
 +
=Example Code=
 +
 +
=Downloads=

Revision as of 11:37, 8 August 2016

In earlier tutorials, we discussed the interfacing of LCD and GLCD. In this tutorial, we will see how to interfaces an I2C OLED(128x64) with 8051. There are plenty of well written arduino oled libraries to display strings, numbers, and logos. They all use a shadow ram buffer of 1024 bytes(128x64 pixels) and support different fonts etc. As 8051 has only 128 bytes of RAM we cannot use the shadow RAM buffer and support all the fonts.
First, we will see the frame format for sending the commands and data to OLED. After this, we will discuss few of the OLED commands. Finally, we will be displaying string, numbers on OLED. Displaying of logos/icons will be discussed in the separate tutorial.

OLED Frame Formats

OLED Commands

Command Write

Example Code

Downloads