Application Notes for OLED SmartSwitch/Display



Similar documents
LCM NHD-12032BZ-FSW-GBW. User s Guide. (Liquid Crystal Display Graphic Module) RoHS Compliant. For product support, contact

SSD1306. Advance Information. 128 x 64 Dot Matrix OLED/PLED Segment/Common Driver with Controller

OLED into Mobile Main Display

DS1621 Digital Thermometer and Thermostat

HT1632C 32 8 &24 16 LED Driver

0832 Dot Matrix Green Display Information Board User s Guide

Information Board User s Guide

Using the Siemens S65 Display

DS Wire Digital Thermometer and Thermostat

3.2 inch QVGA TFT Color LCD User s Guide Version 1 & 2

8 by 8 dot matrix LED displays with Cascadable Serial driver B32CDM8 B48CDM8 B64CDM8 General Description

DS1621 Digital Thermometer and Thermostat

PACKAGE OUTLINE DALLAS DS2434 DS2434 GND. PR 35 PACKAGE See Mech. Drawings Section

Lesson 10: Video-Out Interface

ILI9341. a-si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color. Specification Preliminary

SH X 64 Dot Matrix OLED/PLED Segment/Common Driver with Controller. Features. General Description 1 V2.2

W25Q80, W25Q16, W25Q32 8M-BIT, 16M-BIT AND 32M-BIT SERIAL FLASH MEMORY WITH DUAL AND QUAD SPI

Application Note [AN-029] Interfacing and set-up of Toshiba T6963C

AZ DISPLAYS, INC. LCD MODULE SPECIFICATION MODULE TYPE : AGM1616A

HD44780-Based LCD Modules. Introduction to the LM018L

EMERGING DISPLAY CUSTOMER ACCEPTANCE SPECIFICATIONS 16400(LED TYPES) EXAMINED BY : FILE NO. CAS ISSUE : JAN.19,2000 TOTAL PAGE : 7 APPROVED BY:

DS1307ZN. 64 x 8 Serial Real-Time Clock

LMB162ABC LCD Module User Manual

Data Acquisition Module with I2C interface «I2C-FLEXEL» User s Guide

EMERGING DISPLAY CUSTOMER ACCEPTANCE SPECIFICATIONS (LED TYPES) EXAMINED BY : FILE NO. CAS ISSUE : DEC.01,1999 TOTAL PAGE : 7 APPROVED BY:

NORITAKE ITRON VFD MODULES GU126x64D-K610A4

Hello and welcome to this training module for the STM32L4 Liquid Crystal Display (LCD) controller. This controller can be used in a wide range of

IS31FL3731 AUDIO MODULATED MATRIX LED DRIVER. May 2013

HD61202U. (Dot Matrix Liquid Crystal GraphicDisplay Column Driver)

Application software. 3-channel LED KNX controller Electrical / Mechanical characteristics : see product information. Application software ref.

Data Sheet. Adaptive Design ltd. Arduino Dual L6470 Stepper Motor Shield V th November L6470 Stepper Motor Shield

EMERGING DISPLAY CUSTOMER ACCEPTANCE SPECIFICATIONS 16290(LED TYPES) EXAMINED BY : FILE NO. CAS ISSUE : JUL.03,2001 TOTAL PAGE : 7

SSD1298. Advance Information. 240 RGB x 320 TFT LCD Controller Driver integrated Power Circuit, Gate and Source Driver with built-in RAM

MicroMag3 3-Axis Magnetic Sensor Module

7 OUT1 8 OUT2 9 OUT3 10 OUT4 11 OUT5 12 OUT6 13 OUT7 14 OUT8 15 OUT9 16 OUT10 17 OUT11 18 OUT12 19 OUT13 20 OUT14 21 OUT15 22 OUT16 OUT17 23 OUT18

CHAPTER 11: Flip Flops

Using the HT46R46 I/O Ports to Implement Half-Duplex SPI Communication

A DIY Hardware Packet Sniffer

Note monitors controlled by analog signals CRT monitors are controlled by analog voltage. i. e. the level of analog signal delivered through the

AND8336. Design Examples of On Board Dual Supply Voltage Logic Translators. Prepared by: Jim Lepkowski ON Semiconductor.

User Guide Win7Zilla

CAT28C64B F R E E. 64K-Bit CMOS PARALLEL EEPROM L E A D FEATURES DESCRIPTION BLOCK DIAGRAM

FEATURES DESCRIPTION. PT6321 Fluorescent Display Tube Controller Driver

BV4512. I2C-LCD- 128 x 64 Graphic Controller. Product specification. November 2008 V0.a. ByVac Page 1 of 14

Application Notes (Preliminary)

Contents & P-LCD Modules Cross Reference Table

ILI9335. a-si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color. Datasheet

Designing VM2 Application Boards

In-System Programmer USER MANUAL RN-ISP-UM RN-WIFLYCR-UM

M25P05-A. 512-Kbit, serial flash memory, 50 MHz SPI bus interface. Features

DS18B20 Programmable Resolution 1-Wire Digital Thermometer

TURBO PROGRAMMER USB, MMC, SIM DEVELOPMENT KIT

M68EVB908QL4 Development Board for Motorola MC68HC908QL4

WS2812B Intelligent control LED integrated light source

POCKET SCOPE 2. The idea 2. Design criteria 3

SPECIFICATION NO. : DS D A T E O F I S S U E : July 16, R E V I S I O N : September 1, 2010 (00) : : :

DVB-T 730. User s Manual

Newhaven Display International, Inc Galvin Ct. Elgin IL, Ph: Fax:

EN25P64 EN25P Megabit Uniform Sector, Serial Flash Memory FEATURES GENERAL DESCRIPTION

Projector Control Command Reference Manual

Bidirectional wireless communication using EmbedRF

2CSG445012D0201 M2M ETHERNET. ETHERNET interface user manual M2M ABB

Using the HT1632 for Dot Matrix LED Displays

Develop a Dallas 1-Wire Master Using the Z8F1680 Series of MCUs

User Manual. AS-Interface Programmer

Lab Experiment 1: The LPC 2148 Education Board

CAM-VGA100 User Manual

DS1821 Programmable Digital Thermostat and Thermometer

DOGS GRAPHIC SERIES 102x64 DOTS

4 Character 5x7 LED Matrix Display

NHD-0420D3Z-FL-GBW-V3

MAR. 15, 2004 Version 1.8

AVR151: Setup and Use of the SPI. Introduction. Features. Atmel AVR 8-bit Microcontroller APPLICATION NOTE

GTS-4E Hardware User Manual. Version: V1.1.0 Date:

Create Colorful and Bright LED Light with an LED Matrix Dimmer

NJU6061. Full Color LED Controller Driver with PWM Control GENERAL DESCRIPTION PACKAGE OUTLINE FEATURES

Keep it Simple Timing

Getting Started with IntelleView POS Administrator Software

OLED Solution for Mobile Phone Subdisplay

[F/T] [5] [KHz] [AMP] [3] [V] 4 ) To set DC offset to -2.5V press the following keys [OFS] [+/-] [2] [.] [5] [V]

AN-812 APPLICATION NOTE

D-MAX WEB GUIDE CONTROLLER WITH OPERATOR INTERFACE PANEL QUICK START SETUP MANUAL

INTEGRATED CIRCUITS PCA9530, PCA9531, PCA9532, PCA9533, PCA9550, PCA9551, PCA9552, PCA9553, SAA1064

BlueSolar Pro Remote Panel For BlueSolar PWM-Pro charge controllers 12/24V 5, 10, 20, 30A Article number SCC

CONTENTS. Section 1 Document Descriptions Purpose of this Document Nomenclature of this Document... 3

A N. O N Output/Input-output connection

Implementing SPI Communication Between MSP430 G2452 and LTC ADC

Instruction manual. testo easyheat Configuration and Analysis software

Model 288B Charge Plate Graphing Software Operators Guide

Guangzhou HC Information Technology Co., Ltd. Product Data Sheet

Implementing SPI Master and Slave Functionality Using the Z8 Encore! F083A

2 ASCII TABLE (DOS) 3 ASCII TABLE (Window)

Technical Note. Micron NAND Flash Controller via Xilinx Spartan -3 FPGA. Overview. TN-29-06: NAND Flash Controller on Spartan-3 Overview

DATASHEET. ADAM Arduino Display Adaptor Module. Arduino Compatible Shield P/N: 4Display-Shield-FT843 For the 4D Systems 4DLCD-FT843 Display

Inwall 4 Input / 4 Output Module

XC83x AP Application Note. Microcontrollers. intouch Application Kit - LED Matrix Display V1.0,

The I2C Bus. NXP Semiconductors: UM10204 I2C-bus specification and user manual HAW - Arduino 1

NortechCommander Software Operating Manual MAN R6

User s Manual of Board Microcontroller ET-MEGA2560-ADK ET-MEGA2560-ADK

Pmod peripheral modules are powered by the host via the interface s power and ground pins.

Transcription:

Application Notes for OLED SmartSwitch/Display Revision D NKK Switches 7850 E. Gelding Drive Scottsdale, AZ 85260 480-991-0942 FAX (480) 998-1435 e-mail <hsajadi@nkkswitches.com> All Rights Reserved Worldwide NKK Switches makes no warranty for the use of these products and assumes no responsibility for any errors, which may appear in this document, nor does it make a commitment to update the information contained herein. SmartSwitch is trademark of NKK Switches. Application Notes for OLED SmartSwitch D.doc Page 1 of 20

TABLE OF CONTENTS Table of Contents...2 1. Pin Function...3 2. Pin Description...4 3. VCC Requirement...4 4. Initialization...5 5. Memory Format...9 6. Specifying a Memory Window for Downloading...10 7. Pixels and Image Format...11 8. Display Commands Available...12 9. Additional Commands Available...12 10. Scrolling (Screen saver)...14 11. Graphic Command...16 12. Initialization Options...18 13. Sample Schematic for Multi-Switch Controller...19 14. Operating Life Time...19 15. Frequently Asked Questions...20 Application Notes for OLED SmartSwitch D.doc Page 2 of 20

General Information The application notes should be used in conjunction with the OLED data sheet which has the timing diagram for the communication. The OLED switch is rated at 30,000 hr life and the display is rated for 15,000 hr life. The initialization values are different for each module and listed in Table 1 to 4. The rest of the application note apply to all the OLED modules. Part Numbers The following is a list of the OLED s part numbers and their associated hardware. The OLED is currently available as a 64x48 switch and a 52x36 display. For prototyping it is recommended to use the sockets and charge pump for easy use. Part number Description ISC15ANP4 OLED SmartSwitch AT9704-085L Socket for OLED SmartSwitch ISC01P OLED SmartDisplay AT9704-085M Socket for OLED SmartDisplay IS-CHPMP Charge pump. Input 2.4 to 5.5. Out put 16V. Evaluation controllers and demonstration kits are also available. 1. Pin Function The following are the pinouts for OLED SmartSwitch Pins Symbol Pin Name Function 1 SW Switch Terminal Normally open switch 2 SW Switch Terminal Normally open switch 3 VDD power Power source for logic circuit 4 SS Slave select Select the OLED module 5 RES Reset Reset the OLED module 6 D/C Data/Commend Indicate data or commend transmission 7 SCK Clock SPI clock 8 SDI Data SPI data 9 VCC Power Power source for OLED 10 GND Ground Application Notes for OLED SmartSwitch D.doc Page 3 of 20

The following are the pinouts for OLED SmartDisplay. 2. Pin Descriptions Pins Symbol Pin Name Function 1 VDD power Power source for logic circuit 2 SS Slave select Select the OLED module 3 RES Reset Reset the OLED module 4 D/C Data/Command Indicate data or command transmission 5 SCK Clock SPI clock 6 SDI Data SPI data 7 VCC Power Power source for OLED 8 GND Ground Switch terminals: The switch is normally open. The switch can be scanned by connecting one pin to Ground and the other pin to a micro-controller. For a matrix of switches many different methods can be used for scanning. Ground: The Ground for logic and OLED. VDD: Power source for logic (2.4V to 3.5V) VCC: Supply voltage for OLED (15V to 17V) SCK: Clock for SPI communication maximum 6.66 MHZ SDI: Data for SPI communication. D/C: Data/command select. When pin is pulled low the transmitted bytes are treated as command. When pin is pulled high the transmitted bytes are treated as image data. RES: Reset for OLED module for initialization. SS : select OLED module. This pin should be pulled down for duration of the data/command package. 3. VCC (16V) Requirement The VCC must be float, when it is not active, to conform to the required power ON/OFF sequences. This can be achieved with a relay or true shut down charge pump. Care must be taken in the design so upon power up the VCC is not activated. For your convenience in prototype stages we have made a charge pump. It provides more than 20mA at 16V out put from 2.4V to 5.5V input. It has shut down pin to activate/disable. It provides enough current for up to four modules. The charge pump part number is IS-CHPMP. Application Notes for OLED SmartSwitch D.doc Page 4 of 20

4. Initialization Initialization procedure upon power up for OLED switch (64x48) and OLED display (52x36) 1. By design VCC should be disabled upon power up. 2. The Reset pin should be set to low for 3 µs and then set to high. 3. Enable VCC. 4. Initialize the OLED controller by transmitting the commands and data from the appropriate table below. Each command is one byte and has 0 to 10 associated data bytes. The D/C pin should be set low for the entire command and associated data. To transmit each command set the Select pin to low, transmit the command and associated data, and then set the Select pin to high. Table 1 Initialization for OLED switch (64x48) 15,000 hr life Commands Function *1 4.1 Transmit 81H 19H Contrast for color A *1 4.2 Transmit 82H 14H Contrast for color B *1 4.3 Transmit 83H 24H Contrast for color C 4.4 Transmit 87H 0FH Master current control 4.5 Transmit A0H 70H Remap & color depth setting 4.6 Transmit A1H 00H Set display start line *1 4.7 Transmit A2H 10H Set display offset 4.8 Transmit A4H Normal display *1 4.9 Transmit A8H 2FH Multiplex ratio 4.10 Transmit ABH 00H 12H 0CH 14H 12H Dim mode setting for color A, B &C *1 4.11 Transmit ADH 8EH Master configuration 4.12 Transmit B0H 0BH Power save mode *1 4.13 Transmit B1H 44H Phase 1 and 2 period adjustment *1 4.14 Transmit B3H A0H Display clock divider/ oscillator frequency *1 4.15 Transmit B9H Enable linear gray scale *1 4.16 Transmit BBH 12H Pre charge level *1 4.17 Transmit BEH 28H Set Vcomh 4.18 Transmit AFH Display on in normal mode *1 note: Changing the set up values may cause damage to the OLED modules. Application Notes for OLED SmartSwitch D.doc Page 5 of 20

Table 2 Initialization for OLED switch (64x48) 30,000 hr life Commands Function *1 4.1 Transmit 81H 15H Contrast for color A *1 4.2 Transmit 82H 1AH Contrast for color B *1 4.3 Transmit 83H 17H Contrast for color C 4.4 Transmit 87H 0FH Master current control 4.5 Transmit A0H 70H Remap & color depth setting 4.6 Transmit A1H 00H Set display start line *1 4.7 Transmit A2H 10H Set display offset 4.8 Transmit A4H Normal display *1 4.9 Transmit A8H 2FH Multiplex ratio 4.10 Transmit ABH 00H 12H 0CH 14H 12H Dim mode setting for color A, B &C *1 4.11 Transmit ADH 8EH Master configuration 4.12 Transmit B0H 0BH Power save mode *1 4.13 Transmit B1H 44H Phase 1 and 2 period adjustment *1 4.14 Transmit B3H A0H Display clock divider/ oscillator frequency *1 4.15 Transmit B9H Enable linear gray scale *1 4.16 Transmit BBH 12H Pre charge level *1 4.17 Transmit BEH 3EH Set Vcomh 4.18 Transmit AFH Display on in normal mode *1 note: Changing the set up values may cause damage to the OLED modules. Application Notes for OLED SmartSwitch D.doc Page 6 of 20

Table 3 Initialization for OLED Display (52x36) 15,000 hr life Commands Function *1 4.1 Transmit 81H 0FH Contrast for color A *1 4.2 Transmit 82H 0EH Contrast for color B *1 4.3 Transmit 83H 1BH Contrast for color C 4.4 Transmit 87H 0FH Master current control 4.5 Transmit A0H 70H Remap & color depth setting 4.6 Transmit A1H 00H Set display start line *1 4.7 Transmit A2H 1CH Set display offset 4.8 Transmit A4H Normal display *1 4.9 Transmit A8H 23H Multiplex ratio 4.10 Transmit ABH 00H 0BH 08H 0FH 12H Dim mode setting for color A, B &C *1 4.11 Transmit ADH 8EH Master configuration 4.12 Transmit B0H 0BH Power save mode *1 4.13 Transmit B1H 44H Phase 1 and 2 period adjustment *1 4.14 Transmit B3H 30H Display clock divider/ oscillator frequency *1 4.15 Transmit B9H Enable linear gray scale *1 4.16 Transmit BBH 12H Pre charge level *1 4.17 Transmit BEH 21H Set Vcomh 4.18 Transmit AFH Display on *1 note: Changing the set up values may cause damage to the OLED modules. Table 4 Initialization for OLED Display (52x36) 30,000 hr life Commands Function *1 4.1 Transmit 81H 0EH Contrast for color A *1 4.2 Transmit 82H 13H Contrast for color B *1 4.3 Transmit 83H 12H Contrast for color C 4.4 Transmit 87H 0FH Master current control 4.5 Transmit A0H 70H Remap & color depth setting 4.6 Transmit A1H 00H Set display start line *1 4.7 Transmit A2H 1CH Set display offset 4.8 Transmit A4H Normal display *1 4.9 Transmit A8H 23H Multiplex ratio 4.10 Transmit ABH 00H 0BH 08H 0FH 12H Dim mode setting for color A, B &C *1 4.11 Transmit ADH 8EH Master configuration 4.12 Transmit B0H 0BH Power save mode Application Notes for OLED SmartSwitch D.doc Page 7 of 20

*1 4.13 Transmit B1H 44H Phase 1 and 2 period adjustment *1 4.14 Transmit B3H 30H Display clock divider/ oscillator frequency *1 4.15 Transmit B9H Enable linear gray scale *1 4.16 Transmit BBH 12H Pre charge level *1 4.17 Transmit BEH 3CH Set Vcomh 4.18 Transmit AFH Display on *1 note: Changing the set up values may cause damage to the OLED modules. Upon finishing the initialization, the OLED module displays whatever is the content of the memory. Application Notes for OLED SmartSwitch D.doc Page 8 of 20

5. Memory Format The onboard OLED controller can control up to 96x64 pixels. The controller memory size is 96 x 2 bytes per pixel x 64. 0H/0D 0H 10H 16H 49H 4FH 5FH 0D 16D 22D 73D 79D 95D 23H/35D 2FH/47D 3FH/63D Picture 1 OLED on-board memory map The memory data specified by yellow will be displayed on OLED display (52X36). The memory data specified by yellow and blue will be displayed on OLED switch (64x48). Application Notes for OLED SmartSwitch D.doc Page 9 of 20

6. Specifying a Memory Window for Downloading A memory window is specified by a beginning and end column and a beginning and end row. These boundaries are set by commands 15H and 75H. The two bytes following the command 15H specify beginning and end columns (range 00H to 5FH). The two bytes following the command 75H specify beginning and end rows. (range 00H to 3FH) The boundaries of the memory window can be changed at any time. Table 3 shows the commands to specify the size and location of memory corresponding to OLED Switch (64x48). Table 4 shows the commands to specify the size and location of memory corresponding to OLED Display (52x36). Table 3 Setting the columns and rows as well as putting the curser at top left OLED Display (64x48) Commands Function Transmit 15H 10H 4FH Set the column range Transmit 75H 00H 2FH Set the row range Table 4 Setting the columns and rows as well as putting the curser at top left OLED Display (52x36) Commands Function Transmi t 15H 16H 49H Set the columns range Transmi t 75H 00H 23H Set the rows range The cursor starts at the upper left hand pixel of the specified memory window. Whenever the data for a pixel is received, the cursor increments from left to right. After receiving data for the right most pixel of the row, the curser moves to the left hand pixel of the next row. Once the last row is completed, the cursor returns to left hand pixel of the first row. Any data transmitted when D/C pin is high is considered as image data. OLED onboard controller continuously refreshes the OLED from the memory. Any changes to memory will be displayed immediately. Application Notes for OLED SmartSwitch D.doc Page 10 of 20

7. Pixels and Image Format An image is handled as a window of 6144 bytes. Each pixel requires two bytes in the 565 format as shown below. B 7 B 6 B 5 B 4 B 3 G 2 G 1 G 0 G 7 G 6 G 5 R 4 R 3 R 2 R 1 R 0 It may be best to create the images in a computer as 24 bit bitmap, which is standard, and extract the 16 bits from there using the process below: Image size for OLED switch 64x48 (6144 bytes) Byte Description 1-128 First line of image 129-256 Second line of image 5889-6016 47th line of image 6017-6144 48 th line of image Image size for OLED display 52x36 (3744 bytes) Byte Description 1-104 First line of image 105-208 Second line of image 3537-3640 35th line of image 3641-3744 36 th line of image Application Notes for OLED SmartSwitch D.doc Page 11 of 20

8. Display Commands Available Display ON/OFF The following three commands can be used at anytime. They do not affect the content of the memory. 1 Transmit ACH Dim Display 2 Transmit AEH Display OFF (sleep mode) 3 Transmit AFH Display ON Transmitting AEH command turns off the display. Transmitting AFH command turns on the display in normal mode. Transmitting ACH command turns on the display in dim mode. The dim mode level is according to the initialization step 4.10. The last 3 bytes are the contrast for color A, B and C. The value can not exceed the maximum level for each color of initialization of steps 4.1, 4.2 and 4.3 respectively. Powering down sequences Following procedure needs to be followed for turning off the OLED. 1. Transmit the command to turn off the OLED display. Transmit AEH Display off 2. Disable the VCC. 3. Turn off the VDD power. 9. Additional Commands Available No Operation Transmit E3H NOP Transmit BCH NOP Transmit BDH NOP Application Notes for OLED SmartSwitch D.doc Page 12 of 20

Display Mode These are one byte commands. They do not affect memory data. Transmit A4H Normal operation Transmit A5H All pixels on at the highest brightness Transmit A6H All pixels on at lowest intensity Transmit A7H Inverse display Command A4H is for normal operation. Commands A5H/A6H forces all pixels highest/lowest intensity regardless of the contents of the memory. The command A7H causes the complement of the pixels data from memory to be displayed. Master Current Control Transmit 87H 0FH Master current control This command should be used while the display is off (after command AEH). There are 16 steps for the current level (00H to 0FH). 0FH is the maximum brightness and 00H is the minimum brightness. The OLED life of 30000 hrs is based on 0FH brightness. The dimmer the OLED are used the longer the life. Application Notes for OLED SmartSwitch D.doc Page 13 of 20

10. Scrolling (Screen saver) Command 27H is used to set up the parameter for scrolling. This command can only be transmitted during initialization or when the display is off and scrolling is deactivated (commands AEH and 2EH). The sequence of use is as follows. First turn off the display and deactivate scrolling. Then send the command 27H and the picture. Finally turn display on and activate the scrolling (commands AFH and 2FH). Command 27H has 5 bytes of data; A, B, C, D, and E. Byte A sets the number of columns shifted horizontally to the right each time. For example the value 01H will make the image appear to be shifted from right to left. The value 5FH will make the image appear to be shifting from the left to right. Byte A should not be set to 00H or it will deactivate the scrolling for the rest of the session and scrolling can not be reactivated. Therefore, the Byte A value should be set between 01H and 5FH. Byte B sets the offset or starting row. Byte C sets the number of rows that get shifted horizontally. Byte D sets to number of rows that are vertically shifted up each time. For example the value 01H will make the image appear to be shifted from bottom to top. The value 3FH will make the image appear to be shifting from the top to bottom. A zero value for byte D indicates no vertical shift. Byte E sets the interval between each shift. The horizontal speed of scrolling is determined by the value of bytes A and E. The vertical speed of scrolling is determined by the value of bytes D and E. The portion of the image that is horizontally shifted is determined by the values of bytes B and C. For the horizontal scroll, rows selected will shift using the 96 columns. For vertical scroll, all 96 columns will be shifted using all 64 rows. After deactivation, the position of the contents of the memory has been changed due to the shifts. To restore the original image the image data should be downloaded again. Refer to Table 5. Application Notes for OLED SmartSwitch D.doc Page 14 of 20

Table 5 Scrolling commands Hex D7 D6 D5 D4 D3 D2 D1 D0 Command Description 27 0 0 1 0 0 1 1 1 A[6:0]: Sets number of columns as horizontal scroll offset A[6:0] * A6 A5 A4 A3 A2 A1 A0 Range: 0D-95D (0 equals no horizontal scroll) B[5:0] * * B5 B4 B3 B2 B1 B0 B[5:0]: Sets start row address C[6:0] * C6 C5 C4 C3 C2 C1 C0 C[6:0]: Sets number of rows to be horizontally scrolled D[5:0] * * D5 D4 D3 D2 D1 D0 B[5:0]+C[6:0]<=64 E[1:0] * * * * * * E1 E0 D[5:0]: Sets number of rows as vertical scroll offset Continuous Range: 0D-63D (0 equals no Horizontal vertical scroll) & Vertical E[1:0]: Sets time interval Scrolling between each scroll step Setup 00B 6 frames 01B 10 frames 10B 100 frames 11B 200 frames 2E 0 0 1 0 1 1 1 0 2F 0 0 1 0 1 1 1 1 Deactivate scrolling Activate scrolling Note: (1) Vertical scroll is run with 64MUX setting only (2) The parameters should not be changed after scrolling is activated This command deactivates the scrolling action Note: (1) After sending 2EH command to deactivate the scrolling action, the ram data needs to be rewritten. This command activates the scrolling function according to the setting done by Continuous Horizontal & Vertical Scrolling Setup command 27H. Application Notes for OLED SmartSwitch D.doc Page 15 of 20

11. Graphic command Table 6 and table 7 have the graphic commands. Please note the command 26H is the set up which effect the operation of commands 22H and 23H. Note: Graphic commands modify the content of memory. Table 6 Graphic Commands Hex D7 D6 D5 D4 D3 D2 D1 D0 Command Description 21 0 0 1 0 0 0 0 1 A[6:0]: Column Address of Start A[6:0] * A6 A5 A4 A3 A2 A1 A0 B[5:0]: Row Address of Start B[5:0] * * B5 B4 B3 B2 B1 B0 C[6:0]: Column Address of End C[6:0] * C6 C5 C4 C3 C2 C1 C0 D[5:0]: Row Address of End D[5:0] * * D5 D4 D3 D2 D1 D0 Draw Line E[5:1]: Color C of the line E[5:1] * * E5 E4 E3 E2 E1 * F[5:0]: Color B of the line F[5:0] * * F5 F4 F3 F2 F1 F0 G[5:1]: Color A of the line G[5:1] * * G5 G4 G3 G2 G1 * 24 0 0 1 0 0 1 0 0 A[6:0]: Column Address of Start A[6:0] * A6 A5 A4 A3 A2 A1 A0 B[5:0]: Row Address of Start B[5:0] * * B5 B4 B3 B2 B1 B0 C[6:0]: Column Address of End C[6:0] * C6 C5 C4 C3 C2 C1 C0 D[5:0]: Row Address of End D[5:0] * * D5 D4 D3 D2 D1 D0 Dim The effect of dim window: Window GS15~GS0 no change GS19~GS16 become GS4 GS23~GS20 become GS5 GS62~GS60 become GS15 25 0 0 1 0 0 1 0 1 A[6:0]: Column Address of Start A[6:0] * A6 A5 A4 A3 A2 A1 A0 B[5:0]: Row Address of Start B[5:0] * * B5 B4 B3 B2 B1 B0 Clear C[6:0]: Column Address of End Window C[6:0] * C6 C5 C4 C3 C2 C1 C0 D[5:0]: Row Address of End D[5:0] * * D5 D4 D3 D2 D1 D0 Application Notes for OLED SmartSwitch D.doc Page 16 of 20

Table 7 Graphic Commands and Set Up Hex D7 D6 D5 D4 D3 D2 D1 D0 Command Description 22 0 0 1 0 0 0 1 0 A[6:0]: Column Address of Start A[6:0] * A6 A5 A4 A3 A2 A1 A0 B[5:0]: Row Address of Start B[5:0] * * B5 B4 B3 B2 B1 B0 C[6:0]: Column Address of End C[6:0] * C6 C5 C4 C3 C2 C1 C0 D[5:0]: Row Address of End D[5:0] * * D5 D4 D3 D2 D1 D0 E[5:1]: Color C of the line E[5:1] * * E5 E4 E3 E2 E1 * Drawing F[5:0]: Color B of the line Rectangle F[5:0] * * F5 F4 F3 F2 F1 F0 G[5:1]: Color A of the line G[5:1] * * G5 G4 G3 G2 G1 * H[5:1]: Color C of the fill area H[5:1] * * H5 H4 H3 H2 H1 * I [5:0]: Color B of the fill area I[5:0] * * I5 I4 I3 I2 I1 I0 J[5:1]: Color A of the fill area J[5:1] * * J5 J4 J3 J2 J1 * 23 0 0 1 0 0 0 1 1 A[6:0]: Column Address of Start A[6:0] * A6 A5 A4 A3 A2 A1 A0 B[5:0]: Row Address of Start B[5:0] * * B5 B4 B3 B2 B1 B0 C[6:0]: Column Address of End C[6:0] * C6 C5 C4 C3 C2 C1 C0 D[5:0]: Row Address of End D[5:0] * * D5 D4 D3 D2 D1 D0 Copy E[6:0]: Column Address of New Start E[6:0] * E6 E5 E4 E3 E2 E1 E0 F[5:0]: Row Address of New Start F[5:0] * * F5 F4 F3 F2 F1 F0 26 0 0 1 0 0 1 1 0 A0 0 : Disable Fill for Draw Rectangle Command (RESET) A[4:0] * * * A4 0 0 0 A0 1 : Enable Fill for Draw Fill Enable / Disable Rectangle Command A[3:1] 000: Reserved values A4 0 : Disable reverse copy (RESET) 1 : Enable reverse during copy command Application Notes for OLED SmartSwitch D.doc Page 17 of 20

12. Initialization Option This command is the step 4.5 of initialization. There are many options for format of the image data as well as selecting the 256 color instead of 65K. For 256 color each pixels has one byte of data in the format of BBBGGGRR. However the on-board controller translates it to two bytes upon receiving the byte. Hex D7 D6 D5 D4 D3 D2 D1 D0 Command Description A0 1 0 1 0 0 0 0 0 A[0]= 0 : Horizontal address increment A[7:0] A7 A6 A5 A4 A3 A2 A1 A0 A[0]=1 : Vertical address increment A[1]=0 : Ram column 0 to 95 maps to pin seg 0 to 95 A[1]=1 : Ram column 0 to 95 maps to pin seg 95 to 0 A[2]=0 : normal order Remap &color / Depth setting SA,SB,SC (eg RGB) A[2]=1 : reverse order SC,SB,SA (eg BGR) A[3]=0 : Disable left-right swapping on COM A[3]=1 : Set left-right swapping on COM A[4]=1 must be set to 1 A[5]=1 must be set to 1 A[7,6]=00 : 256 color A[7,6]=01 : 65k color A[7,6]=10 : reserved A[7,6]=11 : reserved Application Notes for OLED SmartSwitch D.doc Page 18 of 20

13. Sample Schematic for Multi-Switch Controller Below is a sample schematic to control two OLED modules. With the maximum clock frequency of 6.6 MHz, up to four OLED modules can be controlled at 30 frames per second. There are 6144 bytes for each image in the 65k color mode. One image takes 6144 byte * 8 bits/byte= 49152 bits. Dividing the SPI frequency by 49152 provides the minimum time it takes to transmit one image to the OLED module. The additional time it takes to retrieve the image data and other functions of microcontroller have to be added to the minimum time to get the true retrieval to display time. Select 1 Select 2 Reset D/C SCK SDO VCC Illustration 1, Sample schematic for control of two OLED modules VDD VCC SDI VDD GND SCK D/C RES OLED M2 ss VDD VCC SDI VDD GND SCK D/C RES OLED M1 ss 14. Operating Life Time The OLED life is rated for 30000 hrs (40% pixels ON) meaning it will be at half brightness after 30000 hrs. The OLED life rating is based on displaying moving images such as videos. It is determined that when a display is showing a video, on average each pixel of the display is on 40% of the time. The software engineers creativity could impact the life expectancy of OLED drastically by incorporating dimming, screen savers, and/or moving images. OLED technology is progressing in fast pace. We anticipate increasing the OLED life to 30,000 hrs in 2010 and 50,000 hrs by end of 2012. The initialization value may change with the future revisions of the product however all other design parameters stay the same. Application Notes for OLED SmartSwitch D.doc Page 19 of 20

15. Frequently Asked Questions How many different colors can each pixel display? 65536 different colors. OLED has the most vivid and sharp display among all the technologies. Is the OLED SmartSwitch/Display capable of displaying movies? Yes. The OLED response time is 0.2 ms which is the best among all the display technologies. The bottle neck is normally the communication speed. Over 100 frames per second of data can be transmitted to the OLED SmartSwitch/display. Most videos are 24 to 30 frames per second. Can the OLED SmartSwitch/Display display live video? Yes. The controller has to be fast enough to resize and transmit the data to the OLED SmartSwitch/Display. What is aging? Aging for the OLED is refers to the reduction in brightness over time. Specifically the OLED life is defined as the time it takes for the brightness to reach half the original state. Since the OLED is intended to display movies or frequently changing images it is assumed that each pixels will be on the equivalent of 40% of the time at full brightness. How does aging affect the colors? When displaying movies the OLED colors age proportionally and the combined colors stay relatively consistent. However, if the OLED displays a still image, over time the pixels used for the image get dimmer compared to the pixels not used. The color OLED is not suited for use in applications that display the same still image over an extended period of time. Does the power up/down sequence have to be followed? Yes. The power up sequence must be observed. If VCC powers the circuit before VDD is activated the circuit could latch and damage the OLED. For the power down sequence VCC can not be present after VDD is off. Simultaneous turn off is possible as long as VCC is examined to confirm that it does not have too much capacitance charge after turn off. Are subassemblies of SmartSwitches available? Yes. NKK Switches has many development kits and also entertain custom designs. Is NKK Switches planning to develop other sizes of the OLED SmartSwitch? NKK Switches is interested in developing new OLED SmartSwitch products if there is a large quantity requirement. Customer feedback is considered when deciding what new products to develop. Feedback and/or application requirements are much appreciated. Application Notes for OLED SmartSwitch D.doc Page 20 of 20