MIKROE-2449

MIKROE-2449 Datasheet


This board has a module that combines a button and a full color organic LED display, plus input/output screw terminals for connecting external electronics. The mechanical button itself is nicely built, with a translucent black housing. When pressed, it gives satisfying tactile feedback. The display, built in the button itself, can show 64 by 48 pixel images with up to 65k colors 16-bit depth . With the screw terminals, you can toggle an external circuit on and off. The display is big enough to display simple information, whether as icons or words. Small characters are legible and clear. The most interesting feature is that the display can be programmed to change the picture when needed for example, you can design a reprogrammable keypad that would allow users to switch from latin to cyrillic script or to chinese characters . VisualTFT can be used to prepare the bmp images. There is a learn.mikroe.com article that explains how to take 16 or 24 bit bmp pictures and create C arrays.

Part Datasheet
MIKROE-2449 MIKROE-2449 MIKROE-2449 (pdf)
PDF Datasheet Preview
OLED Switch click

OLED Switch click

OLED Switch click

OLED Switch click

IC/Module

NKI Switch ISC15ANP4 [1]

Interface

Power supply
3.3V

Website

Schematic

OLED Switch click schematic [3]

If you are building any type of human machine interface, OLED Switch click can help you keep the design simple, clear and interactive. It can be used in designing a control panel for an industrial or a DIY arcade.

Features and usage notes

Hardware a full color OLED built in a button

This board has a module that combines a button and a full color organic LED display, plus input/output screw terminals for connecting external electronics. The mechanical button itself is nicely built, with a translucent black housing. When pressed, it gives satisfying tactile feedback. The display, built in the button itself, can show 64 by 48 pixel images with up to 65k colors 16-bit depth . With the screw terminals, you can toggle an external circuit on and off. The display is big enough to display simple information, whether as icons or words. Small characters are legible and clear. The most interesting feature is that the display can be programmed to change the picture when needed for example, you can design a reprogrammable keypad that would allow users to switch from latin to cyrillic script or to chinese characters . VisualTFT can be used to prepare the bmp images. There is a learn.mikroe.com article that explains how to take 16 or 24 bit bmp pictures and create C arrays.

OLED Switch click

The board communicates with the target MCU through the mikroBUS SPI interface. It uses a 3.3V power supply only.

Software frame buffering

The internal frame buffer on the OLED display holds 96x64 pixels with 2 bytes of 565 formatted color information for each. When displaying an image the size of the display, 64x48 the image will be displayed well, unless scrolled. To scroll an image without having random pixels from unused space in the internal frame buffer, load a 96x64 image onto the OLED Switch click with your desired image centered like the blue colored area in the picture below.

Programming

This code snippet takes a 565 formatted 16-bit bitmap and displays it on the OLED display, and then scrolls the image across the display.
#define BIG_IMG_SIZE 12288
void main
//Local Declarations scroll_t scroll;
//Used for scroll settings
scroll.col_horiz_shift = 0x01 //Shift left to right
scroll.row_offset
= 0 //No offset of rows
scroll.row_horiz_shift = 64 //64 BIG IMAGE, 47:SMALL
doesn't work well, because of firmware on click side
scroll.row_vert_shift = 0 //No vertical shifting
scroll.interval
= 1 //1 10 frames between each shift
//Setup system_setup BIG //Provide size of allocated space for images 64x48 or 96x64

OLED Switch click
oled_switch_deactivate_scrolling //Scrolling must be absolutely
deactivated first oled_switch_scrolling_setup scroll //Next, setup scroll settings oled_switch_draw_565_img oled_switch_logo_big_bmp, BIG_IMG_SIZE ;
//Draw the image to scroll oled_switch_activate_scrolling //Activate scrolling on screen
while 1 //Forever

Code examples for OLED Switch click, written for MikroElektronika hardware and compilers are available on Libstock
More datasheets: MAGX-002731-100L00 | MDM-37SH027B | MK15-501-D-2 | SY58052UMG TR | SY58052UMI TR | SY58052UMG | SY58052UMI | 309NPC1MEG | APT44GA60BD30C | DBM13W3SN


Notice: we do not provide any warranties that information, datasheets, application notes, circuit diagrams, or software stored on this website are up-to-date or error free. The archived MIKROE-2449 Datasheet file may be downloaded here without warranties.

Datasheet ID: MIKROE-2449 649477