How does it work?
OLED C Click is based on the PSP27801, a 25x25mm 96x96px full-color square OLED display from Shenzhen Boxing World Technology. The graphics driver used on this OLED display is the SSD1351, the display driver IC from Solomon Systech. The graphics driver comes with the embedded 128x128x18-bit SRAM display buffer. It is designed to work with a common cathode type of OLED display and has both parallel (8080/6800) and serial interfaces for communication. The SSD1351 controller also has built-in functionalities like vertical and horizontal scrolling, programmable frame rate, row and column remapping, and color swapping, and supports two color modes: 65K (6:5:6) and 262K (6:6:6).

The OLED C Click uses a standard 4-Wire SPI serial interface or parallel to communicate with the host MCU. It also occupies several other pins of the mikroBUS™ socket, such as the RST pin for resetting the OLED display, and the R/W pin of the mikroBUS™ socket is used only for parallel communication, which should be pulled to a LOW logic state when using serial communication as is the case here. The D/C is a data/command pin and is in a tight connection with the CS pin, as when the CS is at the LOW logic level, the display expects data or command.
In addition to the display's main power supply, taken from the 3.3V mikroBUS™ power rail, the PSP27801 has another power pin, more precisely, the power supply for its DC/DC converter circuit. For that reason, this Click board™ uses a low power onboard step-up converter TPS61041, which can be enabled or disabled through the EN pin of the mikroBUS™ socket, providing a 15V power supply out of 3.3V mikroBUS™ rail. The EN pin enables or disables the step-up converter and, consequently - the OLED screen itself.
This Click board™ can only be operated with a 3.3V logic voltage level. The board must perform appropriate logic voltage level conversion before using MCUs with different logic levels. However, the Click board™ comes equipped with a library containing functions and an example code that can be used, as a reference, for further development.
Product Version: |
OLED_C_Click_v100 |
OLED_C_Click_v102 |
---|
OLED part number: |
MI9696CO_v1.1 |
PSP27801 |
Controller: |
SEPS114A |
SSD1351 |
Display color: |
65,536 |
65,536/262,144 |
Size/Resolution: |
96x96pix |
96x96pix |
Module size: |
25.90 x 30.10 x 1.30 mm |
25.8 x 48.1 x 1.227mm (type) |
Diagonal A/A size |
1.12 inch |
1.12 inch |
Active area: |
19.852 x 19.852 mm |
20.135 x 20.14 mm |
Dot pitch: |
0.207 x 0.207 |
0.07 x 0.21mm |
Dot size: |
0.187 x 0.187 |
0.045 x 0.19mm |
Interface: |
8-bit parallel,4-wire SPI |
8/16/18 bit parallel, 3-wire and 4-wire SPI |
Specifications
Type |
OLED |
Applications |
Can be used for applications that require displaying some information on the screen in the form of a diagram, text, or a pie chart |
On-board modules |
PSP27801 - full-color square OLED display from Shenzhen Boxing World Technology |
Key Features |
Low power consumption, 96x96px resolution, 20.14x20.14mm active area, full-color display, integrated SSD1306 driver IC, SPI serial interface, high contrast, wide viewing angle, anti-glaze polarizer, and more |
Interface |
SPI |
Feature |
ClickID Manifest,No ClickID |
Compatibility |
mikroBUS™ |
Click board size |
L (57.15 x 25.4 mm) |
Input Voltage |
3.3V |
Pinout diagram
This table shows how the pinout on OLED C click corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
Notes |
Pin |
 |
Pin |
Notes |
---|
Read/Write Control |
RW |
1 |
AN |
PWM |
16 |
DC |
Data/Command Control |
Reset / ID SEL |
RST |
2 |
RST |
INT |
15 |
EN |
Enable |
SPI Select / ID COMM |
CS |
3 |
CS |
TX |
14 |
NC |
|
SPI Clock |
SCK |
4 |
SCK |
RX |
13 |
NC |
|
|
NC |
5 |
MISO |
SCL |
12 |
NC |
|
SPI Data IN |
SDI |
6 |
MOSI |
SDA |
11 |
NC |
|
Power supply |
3.3V |
7 |
3.3V |
5V |
10 |
NC |
|
Ground |
GND |
8 |
GND |
GND |
9 |
GND |
Ground |
Onboard settings and indicators
Label |
Name |
Default |
Description |
---|
LD1 |
PWR |
|
Power indication LED |
OLED C Click electrical specifications
Description |
Min |
Typ |
Max |
Unit |
---|
Supply Voltage |
- |
3.3 |
- |
V |
Color |
Full-Color |
Screen Size |
25x25 |
mm |
Resolution |
96x96 |
px |
Software Support
We provide a library for the OLED C Click as well as a demo application (example), developed using MIKROE compilers. The demo can run on all the main MIKROE development boards.
Package can be downloaded/installed directly from NECTO Studio Package Manager (recommended), downloaded from our LibStock™ or found on MIKROE github account.
Library Description
This library contains API for OLED C Click driver.
Key functions
-
Fill Screen.
-
Draw BMP Image.
Example Description
This demo demonstrates the use of the OLED C Click and the control of the OLED C display.
void application_task ( void )
{
oledc_fill_screen( &oledc, 0xFFFF );
Delay_100ms();
oledc_rectangle( &oledc, 0, 0, 96, 96, 0xF000 );
Delay_ms ( 500 );
oledc_rectangle( &oledc, 5, 5, 91, 91, 0xFF00 );
Delay_ms ( 500 );
oledc_rectangle( &oledc, 10, 10, 86, 86, 0x00F0 );
Delay_ms ( 500 );
oledc_rectangle( &oledc, 15, 15, 81, 81, 0x0F0F );
Delay_ms ( 500 );
oledc_rectangle( &oledc, 20, 20, 76, 76, 0xF000 );
Delay_ms ( 500 );
oledc_rectangle( &oledc, 25, 25, 71, 71, 0xFF00 );
Delay_100ms();
oledc_rectangle( &oledc, 25, 25, 71, 27, 0 );
Delay_100ms();
oledc_rectangle( &oledc, 25, 71, 71, 73, 0 );
Delay_100ms();
oledc_rectangle( &oledc, 25, 25, 27, 71, 0 );
Delay_100ms();
oledc_rectangle( &oledc, 68, 25, 71, 71, 0 );
Delay_ms ( 1000 );
Delay_ms ( 1000 );
Delay_ms ( 1000 );
oledc_image( &oledc, mikroe_with_slogan96x96, 0, 0 );
Delay_ms ( 1000 );
Delay_ms ( 1000 );
}
The full application code, and ready to use projects can be installed directly from NECTO Studio Package Manager (recommended), downloaded from our LibStock™ or found on MIKROE github account.
Other MIKROE Libraries used in the example:
- MikroSDK.Board
- MikroSDK.Log
- Click.OledC
Additional notes and informations
Depending on the development board you are using, you may need USB UART click, USB UART 2 Click or RS232 Click to connect to your PC, for development systems with no UART to USB interface available on the board. UART terminal is available in all MIKROE compilers.
mikroSDK
This Click board™ is supported with mikroSDK - MIKROE Software Development Kit. To ensure proper operation of mikroSDK compliant Click board™ demo applications, mikroSDK should be downloaded from the LibStock and installed for the compiler you are using.
For more information about mikroSDK, visit the official page.