OLED C Click is equipped with the 96x96 high-colour OLED display. It can display up to 65K/262K different colors and shades on a compact 1.12 inch size display, based on the OLED technology.
OLED C Click is equipped with the 96x96 high-colour OLED display. It can display up to 65K/262K different colors and shades on a compact 1.12 inch size display, based on the OLED technology. The OLED technology provides a very good brightness-to-contrast ratio, doesn’t require any backlight - since the pixel elements emit light on their own, better angle of viewing - compared to traditional TFT screens, better power consumption, better picture quality, better response times and more. The OLED technology is constantly being perfected and it is slowly taking over the existing liquid crystal technology (TFT).
The compact size of the display and the used OLED technology make this Click board™ a perfect solution for many applications which require the display of some information on the screen, in a form of a diagram, text or a pie chart. The Click board™ can be used to display images or any kind of graphics in 96x96 pixels resolution, with 65K/262K colors. It is a perfect solution to add display functionality to small development systems, such as the Clicker or Clicker 2 systems.
OLED C Click features the PSP27801 OLED display, with the resolution of 96x96 pixels. The graphics driver used on this OLED display is the SSD1351, the display driver IC from Solomon Systech with embedded 128x128x18 bit SRAM display buffer. The SSD1351 driver is designed to work with the common cathode type OLED displays. It has both parallel (8080/6800) and serial interfaces for the communication.
The SSD1351 controller also has built-in functionalities like the vertical and horizontal scrolling, programmable frame rate, row and column remapping, colour swapping, etc. It supports two colour modes: 65K (6:5:6) and 262K (6:6:6) and up to 128x128 pixels. However, the used OLED display has 96x96 visible pixels.
To send command or data to the SSD1351 controller via the SPI interface, it is necessary to pull the D/C pin to a LOW or to a HIGH logic state. Sending data requires pulling this pin to a HIGH logic level while sending command requires pulling this pin to a LOW logic level. If the receiving byte is a type of data, it will be written directly to the Graphical Display Data memory (GDDRAM). If the receiving byte is a command, it will be decoded and written into the corresponding command register.
The GDDRAM on the device is sorted in 128x128 cells with 18 bits for each pixel. In the 262K colour mode, three 8bit data words are interpreted as the pixel colour value: the first word is the RED colour data, the second word is GREEN colour data and the third word is BLUE colour data. Since every pixel can have a maximum of 18bits, each colour is taking up 6 bits (6:6:6 colour mode). The last 2 bits are disregarded.
When set to work in 65K colour mode, only two 8bit words are required per pixel: the 5 MSB of the first word, is interpreted as the RED colour data and the remaining 3 LSB are interpreted as the GREEN colour data. The second 8bit word contains 3 more bits for the GREEN colour data, while the remaining 5 LSB is the BLUE colour data. This comprises the 5:6:5 pixel format.
The CS pin is a part of the SPI communication protocol and it is used to select the device and enable the communication on the serial bus. When this pin is pulled to a LOW logic level, the device expects data (or command, depending on the D/C pin state) to be clocked in from the MOSI pin of the mikroBUS™.
The R/W pin is used only for the parallel communication. When using serial communication (like it is a case for the OLED C Click) this pin should be pulled to a LOW logic level.
The RST pin is used to reset the device when it is pulled to a LOW logic level. For the normal operation, this pin should stay at the HIGH logic level. When not asserted by the host MCU, this pin is set to a HIGH logic level by the pull-up resistor.
The EN pin is actually routed to the small, low power onboard step-up converter, used to provide voltage for the display. It uses the 3.3V rail of the mikroBUS™ and converts it to 15V on the output. EN pin enables or disables the step-up converter and consequently - the OLED screen itself. To enable this converter, the EN line should be pulled to a HIGH logic level. When not asserted, it is pulled to a LOW logic level by the pull-down resistor.
The OLED C Click comes with the library which contains functions which simplify working with the OLED C Click while it is used with mikroC, mikroBASIC and mikroPASCAL compilers. These functions include a display of images, text with a selectable font, some basic shapes, and more. The library comes with the example application that demonstrates using these functions and it can be used as a reference for custom design.