Page 1
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.
7850 East Gelding Drive • Scottsdale, AZ 85260-3420 1. General Controller Features The CL01 Version 1.2 controls two OLED (64x48) SmartSwitches or two OLED (52x36) SmartDisplays. The firmware can be customized based on customer requirements. Below are current features: • Controls two OLED (64x48) SmartSwitches or two OLED (52x36) SmartDisplays •...
CL01 Intelligent Controller User Manual 7850 East Gelding Drive • Scottsdale, AZ 85260-3420 3. Operational Overview Power-up Sequence: Upon power up, the controller checks the position of the Mode Select Switch and adjusts the image size accordingly. The “Switch” position will show the full image while the “Display” position will display only the middle 52 pixels of the top 36 lines of the image.
Page 5
CL01 Intelligent Controller User Manual 7850 East Gelding Drive • Scottsdale, AZ 85260-3420 Illustration 1, Start and Ending Addresses for Switch A Actions Addresses Address … … … … … … … Start Image 0001 Left switch’s Right switch’s Ending...
Page 6
CL01 Intelligent Controller User Manual 7850 East Gelding Drive • Scottsdale, AZ 85260-3420 controller takes 35ms to send a image to each OLED for a maximum of 28 images per second on one OLED. Attribute Block: An attribute is handled as a block of 8 bytes.
CL01 Intelligent Controller User Manual 7850 East Gelding Drive • Scottsdale, AZ 85260-3420 4. Operational Details Power-Up Sequence (Steps 1,2,3) Upon power-up or reset, controller performs the following steps: Step 1: Check the status of Mode Select Switch for mode of operation. Initialize according to selected mode.
CL01 Intelligent Controller User Manual 7850 East Gelding Drive • Scottsdale, AZ 85260-3420 H. If there is update flag for switch 2 is set, process it. I. Checks the host communication buffer for data. If there is data, process them. (For detail see Communication Protocol) J.
CL01 Intelligent Controller User Manual 7850 East Gelding Drive • Scottsdale, AZ 85260-3420 4. If switch 2 action address for switch 2 is not equal zero and the attribute for the location is programmed then: e. Start address for switch 2 = switch 2 action address for switch 2.
Page 10
CL01 Intelligent Controller User Manual 7850 East Gelding Drive • Scottsdale, AZ 85260-3420 Step 6D: If timer for switch 2 is expired then: 1. Transmit 84H to host if flag is enabled. 2. Increment current address for switch 2. 3. If current address for switch 2 is not equal ((end address for switch 2) +1) then: l.
CL01 Intelligent Controller User Manual 7850 East Gelding Drive • Scottsdale, AZ 85260-3420 5. Communication Protocol The controller communicates with the host by serial communication via RS232 (57.6K, 1 start bit, 8 bit, 1 stop bit). The controller receives the data via an interrupt routine that places the data on the circular receive buffer.
Page 12
CL01 Intelligent Controller User Manual 7850 East Gelding Drive • Scottsdale, AZ 85260-3420 Command to download setup data The command downloads an attribute block to the EEPROM location. command format: [00H] [00H] [55H] [flag] [address1] [address2 ] [reserved] transmit format:...
Page 13
CL01 Intelligent Controller User Manual 7850 East Gelding Drive • Scottsdale, AZ 85260-3420 The controller disables the timers and switch execution upon receiving this command. However, the switches are still scanned and reported. They are enabled upon reboot/power up or by command from host.
Page 14
CL01 Intelligent Controller User Manual 7850 East Gelding Drive • Scottsdale, AZ 85260-3420 Command to display image on left switch at the requested address This command displays an image on left switch at the requested address. command format: 2EH [address]...
Page 15
[Controller name] [version] [mode] one byte. 33H indicating OLED module mode or 34H indicating OLED display mode. [Controller name] 4 bytes. 43H 4CH 30H 31H (CL01) [version] one byte. 12H (version 1.2) Command to query controller for firmware version This command queries the controller for the firmware version installed.
Page 16
CL01 Intelligent Controller User Manual 7850 East Gelding Drive • Scottsdale, AZ 85260-3420 Command for temporarily setting the timers This command sets both the left and right switch timers. command format: [left timer] [right timer] transmit format: (xxH) (xxH) (xxH)
Page 17
CL01 Intelligent Controller User Manual 7850 East Gelding Drive • Scottsdale, AZ 85260-3420 Command to dim switch display This command dims the OLED module display. command format: transmit format: (xxH) (xxH) (xxH) Command to turn the OLED voltage off This command turns off the 16V supply to the OLED module.
Page 18
CL01 Intelligent Controller User Manual 7850 East Gelding Drive • Scottsdale, AZ 85260-3420 Commands to download information directly to OLED modules Note: Care must be taken using these commands. The OLED modules could get damaged if they are initialized with a value exceeding the specifications. Please check the OLED modules data sheet and application notes before using commands.
CL01 Intelligent Controller User Manual 7850 East Gelding Drive • Scottsdale, AZ 85260-3420 6. Hardware Controls Overview The Mode Select Switch has two settings; “Switch” is for the OLED (64x48) switches and “Display” is for the OLED (52x36) displays. The Connector is for the installation of the Logic Boards onto the controller. One pin is keyed to reduce miss mates.
Page 20
CL01 Intelligent Controller User Manual 7850 East Gelding Drive • Scottsdale, AZ 85260-3420 Controller Schematic CL01 User Manual Page 20 of 24 Toll Free 1.877.2BUYNKK (877.228.9655) • Phone 480.991.0942 • Fax 480.998.1435 www.nkksmartswitch.com • Email smartswitch@nkkswitches.com 0209...
Page 21
CL01 Intelligent Controller User Manual 7850 East Gelding Drive • Scottsdale, AZ 85260-3420 Two OLED SmartSwitch logic board CL01 User Manual Page 21 of 24 Toll Free 1.877.2BUYNKK (877.228.9655) • Phone 480.991.0942 • Fax 480.998.1435 www.nkksmartswitch.com • Email smartswitch@nkkswitches.com 0209...
Page 22
CL01 Intelligent Controller User Manual 7850 East Gelding Drive • Scottsdale, AZ 85260-3420 Two OLED SmartDisplay logic board CL01 User Manual Page 22 of 24 Toll Free 1.877.2BUYNKK (877.228.9655) • Phone 480.991.0942 • Fax 480.998.1435 www.nkksmartswitch.com • Email smartswitch@nkkswitches.com 0209...
Page 23
CL01 Intelligent Controller User Manual 7850 East Gelding Drive • Scottsdale, AZ 85260-3420 Container size Board photo CL01 User Manual Page 23 of 24 Toll Free 1.877.2BUYNKK (877.228.9655) • Phone 480.991.0942 • Fax 480.998.1435 www.nkksmartswitch.com • Email smartswitch@nkkswitches.com 0209...
CL01 Intelligent Controller User Manual 7850 East Gelding Drive • Scottsdale, AZ 85260-3420 7. Key Terms & Definitions OLED module NKK Switches’ OLED SmartSwitches and SmartDisplays. Host Any computer, terminal, or other device that can communicate over the RS232 line.