Part Number Hot Search : 
TS414 P8254 L2726SMD 85HF140 TOP224YN PIC876 01000 PT61020L
Product Description
Full Text Search
 

To Download IS-CL01-F-E Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  cl01 intelligent controller users manual 7850 east gelding drive ? scottsdale, az 85260 -3420 cl01 intelligent controller users manual b.doc page 1 of 24 toll free 1.877.2buynkk (877.228.9655) ? phone 480.991.0942 ? fax 480.998.1435 www.nkkswitches.com ? email engineering@nkkswitches.com 0110 cl01 intelligent controller users manual revision b cl01 intelligent controller version 1.4 (for is-dev kit-7 and is-dev kit-7d) nkk switches 7850 e. gelding drive scottsdale, az 85260 toll free 1-877-2buynkk (877-228-9655) phone 480-991-0942 fax 480-998-1435 e-mail all rights reserved worldwide nkk switches makes no warranty for the use of these products and assumes no responsibility for any err ors, which may appear in this document, nor does it make a commitment to update the information contained h erein. smart switch is trademark of nkk switches.
cl01 intelligent controller users manual 7850 east gelding drive ? scottsdale, az 85260 -3420 cl01 intelligent controller users manual b.doc page 2 of 24 toll free 1.877.2buynkk (877.228.9655) ? phone 480.991.0942 ? fax 480.998.1435 www.nkkswitches.com ? email engineering@nkkswitches.com 0110 table of contents table of contents .................................. ................................................... .....................2 1. general controller features .................... ................................................... ............3 2. compatible dev kits and logic boards............ ................................................... ..3 3. operational overview............................ ................................................... ...............4 4. operational details ............................. ................................................... ...................7 5. communication protocol .......................... ................................................... ............11 6. hardware ........................................ ................................................... ........................19 7. key terms & definitions......................... ................................................... ..............24 8. firmware problems ............................... ................................................... ................24
cl01 intelligent controller users manual 7850 east gelding drive ? scottsdale, az 85260 -3420 cl01 intelligent controller users manual b.doc page 3 of 24 toll free 1.877.2buynkk (877.228.9655) ? phone 480.991.0942 ? fax 480.998.1435 www.nkkswitches.com ? email engineering@nkkswitches.com 0110 1. general controller features the cl01 version 1.4 controls two oled (64x48) smar tswitches or two oled (52x36) smartdisplays. the firmware can be customized based on customer requir ements. below are current features: ? controls two oled (64x48) smartswitches or two oled (52x36) smartdisplays ? serial communication via rs232 (57.6k, 1 start bit , 8 bit , 1 stop bit) ? on board microsd flash that can hold up to 65,536 i mages ? optional audio feedback while switch is pressed. ? program responses to switch-actions events and time r-expire events. ? user programmable for images, attributes and set-up s. ? command the controller to display images in real ti me. ? direct communication from host to the oled modules. ? set the type of activity reports from the controlle r to host. ? brightness settings to extend oled life. ? reports switch activity and timer expiration via se rial port. ? stand alone operation or real time control by host. 2. compatible dev kits and logic boards the following is a list of dev kits with a cl01 con troller. ? is-dev kit-7 for two oled (64x48) smartswitches ? is-dev kit-7d for two oled (52x36) smartdisplays the following is a list of compatible logic boards and switches. ? is-l02l1 logic board for two oled (64x48) smartswit ches ? is-l02p1 logic board for two oled (52x36) smartdisp lays
cl01 intelligent controller users manual 7850 east gelding drive ? scottsdale, az 85260 -3420 cl01 intelligent controller users manual b.doc page 4 of 24 toll free 1.877.2buynkk (877.228.9655) ? phone 480.991.0942 ? fax 480.998.1435 www.nkkswitches.com ? email engineering@nkkswitches.com 0110 3. operational overview power-up sequence: upon power up, the controller checks the position o f the mode select switch and adjusts the image size accordingly. the ?switch? position will show the fu ll image while the ?display? position will display only the middle 52 pixels of the top 36 lines of the image. oled brightness adjustment mode: the controller will then allow the brightness of th e two oled modules to be adjusted. press the left h and switch to make both oled modules dimmer. press the right hand switch to make both oled modules brighte r. the brightness can be one of 16 levels between 0 an d f where f is the maximum brightness. at the f lev el the oled has a rated life of 15,000 hours. the dimmer t he level is set the longer the life of the oled. main operational mode: after a few seconds of user inactivity the controll er will move into the main operations mode where th e switch on the left displays the image at the user?s first preset address. the right hand switch will display the image at the user?s second preset address. the controller wi ll then respond to a switch actuation or a timer ex piration as set by the attributes. addresses: the controller associates one address to the left s witch and one address to the right switch. each swi tch will display the image at their associated addresses. th e addresses are in hexadecimal. the controller hand les the addresses as a group of addresses with associated i mages and attributes within user defined loops. eac h loop has a starter address and an ending address. the functi on of the attributes for each address is to tell th e controller where to point to next either when the switch assoc iated with that particular address is pressed or wh en a timer expires. there are three types of attributes: ? attributes sw1 and sw2 are the action addresses. in the starting address the action addresses tell the controller what addresses to point to when the swit ch associated with that particular address is press ed. in the ending address the action addresses tell the co ntroller what addresses to point to when the loop h as ended. ? the end address, ep1, sets the ending address for t he loop. ? t1 and t2 are timers that are multiplied together t o set the length of time to stay at one address bef ore moving to the next address within the loop. the only addresses that need attributes within the loop are the first and last addresses. illustration 1 shows the starting and ending addres ses for ?switch a? which is associated with address 0001h. switch a could be the left or right switch.
cl01 intelligent controller users manual 7850 east gelding drive ? scottsdale, az 85260 -3420 cl01 intelligent controller users manual b.doc page 5 of 24 toll free 1.877.2buynkk (877.228.9655) ? phone 480.991.0942 ? fax 480.998.1435 www.nkkswitches.com ? email engineering@nkkswitches.com 0110 illustration 1, start and ending addresses for swit ch a actions addresses address sw1 sw2 ep1 t1 t2 ? ? ? ? ? ? ? start image 0001 left switch?s future address when switch a is pressed. right switch?s future address when switch a is pressed. ending address (0003) milli- seconds milli- seconds ? ? ? ? ? ? ? ending image 0003 left switch?s future address when end of loop right switch?s future address when end of loop don?t care don?t care don?t care ? ? ? ? ? ? ? illustration 2 shows a simple loop where images at addresses 0041h through 0057h are shown in sequence for two seconds each and will loop continuously until t he switch associated with that particular address i s pressed or the loop ends. when that switch is pressed the c ontroller will set the left hand switch to address 0001h and the right hand switch to address 006ah. if the loop ends before the switch is pressed the left switch will go to address 0059h and the right switch will go to addre ss 005ah. illustration 2, simple image loop actions addresses address sw1 sw2 ep1 t1 t2 ? ? ? ? ? ? ? start image 0041 0001 006a 0057 7d 14 next image 0042 0000 0000 0000 00 00 ? ? ? ? ? ? ? next image 0056 0000 0000 0000 00 00 ending image 0057 0059 005a 0000 00 00 ? ? ? ? ? ? ? if sw1 and/or sw2 for the ending addresses are 0000 h the loop will start again. loops can overlap whe re, for instance, the left switch starts at address 0001h a nd ends at 0005h while the right switch starts at 0 002h and ends at 0006h. the two loops will not interfere wit h each other. timers operation: each switch has an independent timer; timer1 and ti mer2. each timer value is the product of the two us er defined variables t1 and t2 of the attributes. the formula for the timer value in millisecond is: the timer value in ms= (t1)x(t2) each of these variables can have a value between 01 h to ffh (1 to 255). the timer for a given switch w ill be disabled if the t1 value is set to zero. for t2 the zero value is defined as 256. pressing either s witch will reset the timers for both switches. holding down ei ther switch will prevent both timers from running. the
cl01 intelligent controller users manual 7850 east gelding drive ? scottsdale, az 85260 -3420 cl01 intelligent controller users manual b.doc page 6 of 24 toll free 1.877.2buynkk (877.228.9655) ? phone 480.991.0942 ? fax 480.998.1435 www.nkkswitches.com ? email engineering@nkkswitches.com 0110 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. byte description 1 high byte of action address for oledmodule #1. 2 low byte of action address for oledmodule #1. 3 high byte of action address for oledmodule #2. 4 low byte of action address for oledmodule #2. 5 high byte of end address. 6 low byte of end address. 7 timer b 8 timer a image block: an image is handled as a block of 6144 bytes. each pixel requires two bytes in the 565 format as shown below. b7 b6 b5 b4 b3 g2 g1 g0 g7 g6 g5 r4 r3 r2 r1 r0 the current version of the controller can only hand le 64x48 format images. the oled switches show the full image while the oled displays will only show the mi ddle 52 pixels of the top 36 lines of the image. th e image is handled from top left to bottom right as shown b elow. 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
cl01 intelligent controller users manual 7850 east gelding drive ? scottsdale, az 85260 -3420 cl01 intelligent controller users manual b.doc page 7 of 24 toll free 1.877.2buynkk (877.228.9655) ? phone 480.991.0942 ? fax 480.998.1435 www.nkkswitches.com ? email engineering@nkkswitches.com 0110 4. operational details power-up sequence (steps 1,2,3) upon power-up or reset, controller performs the fol lowing steps: step 1: check the status of mode select switch for mode of operation. initialize according to selected mode. step 2: display dim and bright on the two switches and allo w for adjustments of the brightness. there are 16 brightness levels (0 to f). when the internal timer is expired, the controller proceeds to step 3. eve ry time a switch is pressed, the timer gets reset. if a switc h is held depressed the timer does not run. switch activity are not reported to host. step 3: transmit 11h to host via rs232. check the microsd for set up value. if set up valu es are programmed, get the start address for switch 1, sta rt address for switch 2 and the flag byte. if the s et up values are not programmed use the default values: start ad dress for switch 1 = current address for switch 1 = 0001h, start address for switch 2 = current address for sw itch 2 = 0010h and flag byte = 80h. step 4: a. if attributes for start address of switch 1 are pro grammed, get the attribute for switch 1. b. if attributes for start address of switch 1 are not programmed, use the default: switch 1 action address for switch 1 = 0000h, switch 1 action addre ss for switch 2 = 0000h, end address for switch 1 = 0010h timer2 for switch 1=00h timer1 fo r switch 1= 0ah. c. if attributes for start address of switch 2 are pro grammed, get the attribute for switch 2. d. if attributes for start address of switch 2 are not programmed, use the default: switch 2 action address for switch 1 = 0000h, switch 2 action addre ss for switch 2 = 0000h, end address for switch 2 = 0020h timer2 for switch 2=00h timer1 fo r switch 2= 0dh, step 5: send the pictures from microsd to oled module accor ding to start addresses. main operational mode step 6: a. if the switch 1 is pressed, process it. (see detail s below) b. if the switch 2 is pressed, process it. (see detai ls below) c. if the timer for switch 1 is expired, process it. ( see details below) d. if the timer for switch 2 is expired, process it. ( see details below) e. if the switch 1 is released: transmit b1h to host i f flag is enabled. f. if the switch 2 is released: transmit b2h to host i f flag is enabled. g. if there is update flag for switch 1 is set, proces s it.
cl01 intelligent controller users manual 7850 east gelding drive ? scottsdale, az 85260 -3420 cl01 intelligent controller users manual b.doc page 8 of 24 toll free 1.877.2buynkk (877.228.9655) ? phone 480.991.0942 ? fax 480.998.1435 www.nkkswitches.com ? email engineering@nkkswitches.com 0110 h. if there is update flag for switch 2 is set, proces s it. i. checks the host communication buffer for data. if there is data, process them. (for detail see communication protocol ) j. go to step 6 a. detailed explanation of operation step 6 step 6a : if switch 1 is pressed then: 1. transmit 81h to host if flag is enabled. 2. if switch 1 action address for switch 1 is not equa l zero and the attribute for the location is programmed then: a. start address for switch 1 = switch 1 action addres s for switch 1. b. current address for switch 1 = switch 1 action addr ess for switch 1. c. get the attributes and put the values for switch 1 action address for switch 1, switch 1 action address for switch 2, end address for switch 1 and timers for switch 1. d. set update flag for switch 1. 3. if switch 1 action address for switch 1 is equal ze ro or the attribute for the location is not programmed then take no action. 4. if switch 1 action address for switch 2 is not equa l zero and the attribute for the location is programmed then: a. start address for switch 2 = switch 1 action addres s for switch 2. b. current address for switch 2 = switch 1 action addr ess for switch 2. c. get the attributes and put the values for switch 2 action address for switch 1, switch 2 action address for switch 2, end address for switch 2 and timers for switch 2. d. set update flag for switch 2. 5. if switch 1 action address for switch 2 is equal ze ro or the attribute for the location is not programmed then take no action. step 6b : if switch 2 is pressed then: 1. transmit 82h to host if flag is enabled. 2. if switch 2 action address for switch 1 is not equa l zero and the attribute for the location is programmed then: a. start address for switch 1 = switch 2 action addres s for switch 1. b. current address for switch 1 = switch 2 action addr ess for switch 1. c. get the attributes and put the values for switch 1 action address for switch 1, switch 1 action address for switch 2, end address for switch 1 and timers for switch 1. d. set update flag for switch 1. 3. if switch 2 action address for switch 1 is equal ze ro or the attribute for the location is not programmed then take no action.
cl01 intelligent controller users manual 7850 east gelding drive ? scottsdale, az 85260 -3420 cl01 intelligent controller users manual b.doc page 9 of 24 toll free 1.877.2buynkk (877.228.9655) ? phone 480.991.0942 ? fax 480.998.1435 www.nkkswitches.com ? email engineering@nkkswitches.com 0110 4. if switch 2 action address for switch 2 is not equa l zero and the attribute for the location is programmed then: e. start address for switch 2 = switch 2 action addres s for switch 2. f. current address for switch 2 = switch 2 action addr ess for switch 2. g. get the attributes and put the values for switch 2 action address for switch 1, switch 2 action address for switch 2, end address for switch 2 and timers for switch 2. h. set update flag for switch 2. 5. if switch 2 action address for switch 2 is equal ze ro or the attribute for the location is not programmed then take no action. step 6c : if timer for switch 1 expires then: 1. transmit 83h to host if flag is enabled. 2. increment current address for switch 1. 3. if current address for switch 1 is not equal ((end address for switch 1) +1) then: i. transmit fdh and current address for switch 1 to ho st if flag is enabled. j. set update flag for switch 1. 4. if current address for switch 1 is equal ((end addr ess for switch 1) +1) then: k. read the attributes for end address location. i. if end location action address for switch 1 is equa l zero then put current address = start address and set update flag for switch 1. ii. if end location action address for switch 1 is not equal zero then: 1. start address for switch 1 = end address action add ress for switch 1. 2. current address for switch 1 = end address action a ddress for switch 1. 3. get the attributes and put the values for switch 1 action address for switch 1, switch 1 action address for switch 2, end address f or switch 1 and timers for switch 1. 4. set update flag for switch 1. iii. if end location action address for switch 2 is equa l zero then take no action. iv. if end location action address for switch 2 is not equal zero then: 1. start address for switch 2 = end address action add ress for switch 2. 2. current address for switch 2 = end address action a ddress for switch 2. 3. get the attributes and put the values for switch 2 action address for switch1, switch 2 action address for switch 2, end address f or switch 2 and timers for switch 2. 4. set update flag for switch 2.
cl01 intelligent controller users manual 7850 east gelding drive ? scottsdale, az 85260 -3420 cl01 intelligent controller users manual b.doc page 10 of 24 toll free 1.877.2buynkk (877.228.9655) ? phone 480.991.0942 ? fax 480.998.1435 www.nkkswitches.com ? email engineering@nkkswitches.com 0110 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. transmit feh and current address for switch 2 to ho st if flag is enabled. m. set update flag for switch 2. 4. if current address for switch 2 is equal ((end addr ess for switch 2) +1) then: n. read the attributes for end address location for sw itch 2. o. if end location action address for switch 2 is equa l zero then put current address for switch 2 = start address for switch 2 and set update flag for switch 2. p. if end location action address for switch 2 is not equal zero then: i. start address for switch 2 = end address action add ress for switch 2. ii. current address for switch 2 = end address action a ddress for switch 2. iii. get the attributes and put the values for switch 2 action address for switch 1, switch 2 action address for switch 2, end address for switch 2 and timers for switch 2. iv. set update flag for switch 2. q. if end location action address for switch 1 is equa l zero then take no action. r. if end location action address for switch 1 is not equal zero then: i. start address for switch 1 = end location action ad dress for switch 1. ii. current address for switch 1 = end location action address for switch 1. iii. get the attributes and put the values for switch 1 action address for switch 1, switch 1 action address for switch 2, end address for switch 1 and timers for switch 1. iv. set update flag for switch 1. step 6e : if the switch 1 is released: transmit b1h to host if flag is enabled. step 6f : if the switch 2 is released: transmit b2h to host if flag is enabled. step 6g: if update flag for switch 1 is set then: 1. clear the switch 1 update flag. 2. transmit fdh and current address for switch 1 to ho st if flag is enabled. 3. send the picture from microsd to oled module 1 acco rding to current address for switch 1. step 6h: if update flag for switch 2 is set then: 1. clear the switch 2 update flag. 2. transmit feh and current address for switch 2 to ho st if flag is enabled. send the picture from microsd to oled module 2 acco rding to current address for switch 2. step 6i: checks the host communication buffer for data. if there is data, process them. (for detail see communication protocol ) step 6j: go to step 6a .
cl01 intelligent controller users manual 7850 east gelding drive ? scottsdale, az 85260 -3420 cl01 intelligent controller users manual b.doc page 11 of 24 toll free 1.877.2buynkk (877.228.9655) ? phone 480.991.0942 ? fax 480.998.1435 www.nkkswitches.com ? email engineering@nkkswitches.com 0110 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 circu lar receive buffer. if there is a communication problem between microcontroller and the microsd flash, the control ler will transmit 6fh to host for each communication fa ilure. when the controller detects data in the circ ular receive buffer, at step 6i, it reads one byte and e xecutes the following: a. if the byte is a command, the controller transm its a 61h and executes the subroutine for the comma nd and upon completion of command the controller trans mits 79h. all of the commands are explained in detail in this section. b. if the byte is not a command, it is ignored. when the controller executes a subroutine and expec ts additional information: a. a timer is set. if the expected data byte is no t received in 64ms, the controller transmits 6ch 6e h and terminates the routine. b. if the byte value is not acceptable (invalid ra nge, option, etc.), the controller transmits 6eh an d terminates the routine. commands are one byte in the range of 20h to 2fh an d 01h and are transmitted in hex format. the proper format for all command options and data is specifie d for each command. commands to the controller command to reboot the controller the command reboots the controller to power-up stat e. command format: 24h transmit format: (xxh) command to check communication the command is used to check if the controller is o n-line. command format: 01h transmit format: (xxh) the controller transmits back 61h to the host.
cl01 intelligent controller users manual 7850 east gelding drive ? scottsdale, az 85260 -3420 cl01 intelligent controller users manual b.doc page 12 of 24 toll free 1.877.2buynkk (877.228.9655) ? phone 480.991.0942 ? fax 480.998.1435 www.nkkswitches.com ? email engineering@nkkswitches.com 0110 command to download setup data the command downloads an attribute block to the eep rom location. command format: 2ah [00h] [00h] [55h] [flag] [address1] [address2 ] [re served] transmit format: (xxh) (xxah) (xxah) (xxah) (xxah) (xxah) (xxah) (xxah) [flag] is one byte sent in ascii hex format. (detai l below) [address 1] is two bytes with value of 0001h to fff fh sent in ascii hex format. this is the address fo r the image that switch 1 displays upon power up/reboot. [address 2] is two bytes with value of 0001h to fff fh sent in ascii hex format. this is the address fo r the image that switch 2 displays upon power up/reboot. [reserved] is two bytes sent in ascii hex format. t his is for future use. customer could use the last byte for storing the data version. this set up data can be read using the attribute up load command. the controller disables the timers and switch execu tion upon receiving this command. however, the swit ches are still scanned and reported. they are enabled up on reboot/power up or by command from host. flag byte default value=80h bit enable value flag controller action when flag is set b0 0 buzzer beeper sound for switch press b1 0 61h flag 61h is transmitted in response to co mmand. b2 0 79h flag 79h is transmitted upon completion o f command. b3 0 switch release report flag switch release are reported b4 0 6eh flag 6ch/6eh is transmitted if there is a ny error during communication to host. b5 0 timers expire report flag timers expiration a re reported b6 0 switch press report flag switch presses are r eported b7 0 address change report flag newest address is reported for each switch example: 2a30303030 3535 3830 30303031 30303146 30303030 sets all the flags on, points left switch to address 0001h and right switch to address 001fh. th e flag takes affect when the controller is reset. command to download an image this command downloads an image from the host to the eeprom location. command format: 28h [address] [image] transmit format: (xxh) (xxah) (xxah) [address] is two bytes with value of 0001h to ffffh sent as ascii hex format. [image] is 6144 bytes transmit in ascii hex format.
cl01 intelligent controller users manual 7850 east gelding drive ? scottsdale, az 85260 -3420 cl01 intelligent controller users manual b.doc page 13 of 24 toll free 1.877.2buynkk (877.228.9655) ? phone 480.991.0942 ? fax 480.998.1435 www.nkkswitches.com ? email engineering@nkkswitches.com 0110 the controller disables the timers and switch execu tion upon receiving this command. however, the swit ches are still scanned and reported. they are enabled up on reboot/power up or by command from host. command to upload an image this command uploads an image from the microsd lo cation to the host. command format: 29h [address] transmit format: (xxh) (xxah) [address] is two bytes with value of 0001h to ffffh sent as ascii hex format. the controller transmits back the image (6144 bytes ) in hex format. the controller disables the timers and switch execu tion upon receiving this command. however, the swit ches are still scanned and reported. they are enabled up on reboot/power up or by command from host. command to download attribute block this command downloads an attribute block from th e host to the eeprom location. command format: 2ah [address] [attribute block] transmit format: (xxh) (xxah) (xxah) [address] is two bytes with value of 0001h to ffffh sent as ascii hex format. [attribute block] is eight bytes transmit in ascii hex format. the address and attribute block are saved at this a ddress. when the controller reads the attribute blo ck it compares the requested address to the saved address and if they do not match controller knows that the attribute block is not programmed and ignores it. the controller disables the timers and switch execu tion upon receiving this command. however, the swit ches are still scanned and reported. they are enabled up on reboot/power up or by command from host. command to upload an attribute block this command uploads an attribute block from the eeprom location to the host. command format: 2bh [address] transmit format: (xxh) (xxah) [address] is two bytes with value of 0001h to ffffh sent as ascii hex format. the controller transmits back the saved address and [attribute block] in hex format. the controller disables the timers and switch execu tion upon receiving this command. however, the swit ches are still scanned and reported. they are enabled up on reboot/power up or by command from host.
cl01 intelligent controller users manual 7850 east gelding drive ? scottsdale, az 85260 -3420 cl01 intelligent controller users manual b.doc page 14 of 24 toll free 1.877.2buynkk (877.228.9655) ? phone 480.991.0942 ? fax 480.998.1435 www.nkkswitches.com ? email engineering@nkkswitches.com 0110 command to display image on left switch at the requ ested address this command displays an image on left switch at the requested address. command format: 2eh 31h [address] transmit format: (xxh) (xxh) (xxah) [address] is two bytes with value of 0001h to ffffh sent as ascii hex format. example: 2e 31 30303445 displays the image stored a t address 004eh. command to display image on right switch at the req uested address this command displays an image on left switch at the requested address. command format: 2eh 32h [address] transmit format: (xxh) (xxh) (xxah) [address] is two bytes with value of 0001h to ffffh sent as ascii hex format. example: 2e 32 30313034 displays the image stored a t address 0104h. command to increment address on left switch this command displays an image on left switch at the address+1. command format: 2eh 33h transmit format: (xxh) (xxh) example: start at address 00a1h. send 2e 33 and the left switch displays the image stored at address 0 0a2h. send 2e 33 again and the left switch displays the i mage stored at address 00a3h. command to increment address on right switch this command displays an image on right switch at the address+1. command format: 2eh 34h transmit format: (xxh) (xxh) example: start at address 0f09h. send 2e 34 and the right switch displays the image stored at address 0f0ah. send 2e 34 again and the right switch displa ys the image stored at address 0f0bh. command to decrement address on left switch this command displays an image on left switch at the address-1. command format: 2eh 35h transmit format: (xxh) (xxh)
cl01 intelligent controller users manual 7850 east gelding drive ? scottsdale, az 85260 -3420 cl01 intelligent controller users manual b.doc page 15 of 24 toll free 1.877.2buynkk (877.228.9655) ? phone 480.991.0942 ? fax 480.998.1435 www.nkkswitches.com ? email engineering@nkkswitches.com 0110 example: start at address 1004h. send 2e 35 and the left switch displays the image stored at address 1 003h. send 2e 35 again and the left switch displays the i mage stored at address 1002h. command to decrement address on right switch this command displays an image on right switch at the address-1. command format: 2eh 36h transmit format: (xxh) (xxh) example: start at address 2345h. send 2e 36 and the right switch displays the image stored at address 2344h. send 2e 36 again and the right switch displa ys the image stored at address 2343h. command to query controller for mode, controller, a nd firmware version this command queries the controller for the mode as set by the mode select switch, the controller name, and the firmware version installed. command format: 26h 52h 58h transmit format: (xxh) (xxh) (xxh) example: the command is sent. the controller respon ds with the following: 61 34 43 4c 30 31 12 79 61h [mode] [controller name] [version] 79h [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 firmw are version installed. command format: 26h 15h transmit format: (xxh) (xxh) example: the command is sent. the controller respon ds with the following: 61 12 61h [version] [version] one byte. 12h (version 1.2) note: version 1.2 does not send 79h. it will be cor rected in the next version.
cl01 intelligent controller users manual 7850 east gelding drive ? scottsdale, az 85260 -3420 cl01 intelligent controller users manual b.doc page 16 of 24 toll free 1.877.2buynkk (877.228.9655) ? phone 480.991.0942 ? fax 480.998.1435 www.nkkswitches.com ? email engineering@nkkswitches.com 0110 command for temporarily setting the timers this command sets both the left and right switch timers. command format: 26h 51h 55h [left timer] [right timer] transmit format: (xxh) (xxh) (xxh) (xxh) (xxh) [left timer] timer for left switch. two bytes send in hex format. [right timer] timer for right switch. two bytes se nd in hex format. the command sets the timers with the given values a nd activates them. if either switch is pressed or t he timers expire the values are lost. these values are over w ritten by the values stored on the microsd flash in the current address. this command is useful for determining the best val ues for animations or movies. command to disable the timers and switch execution this command disables the timers and switch execu tion. command format: 26h 51h 5ah transmit format: (xxh) (xxh) (xxh) the controller disables the timers and switch execu tion upon receiving this command. however, the swit ches are still scanned and reported. they are enabled up on reboot/power up or by command from host. command to enable the timers and switch execution this command enables the timers and switch execut ion. command format: 26h 51h 65h transmit format: (xxh) (xxh) (xxh) the controller enables the timers and switch execut ion upon receiving this command. command to turn the switch display off this command turns off the oled module display. command format: 26h 51h 69h transmit format: (xxh) (xxh) (xxh) command to turn the switch display on this command turns on the oled module display. command format: 26h 51h 66h transmit format: (xxh) (xxh) (xxh)
cl01 intelligent controller users manual 7850 east gelding drive ? scottsdale, az 85260 -3420 cl01 intelligent controller users manual b.doc page 17 of 24 toll free 1.877.2buynkk (877.228.9655) ? phone 480.991.0942 ? fax 480.998.1435 www.nkkswitches.com ? email engineering@nkkswitches.com 0110 command to dim switch display this command dims the oled module display. command format: 26h 51h 71h transmit format: (xxh) (xxh) (xxh) command to turn the oled voltage off this command turns off the 16v supply to the oled module. command format: 26h 51h 74h transmit format: (xxh) (xxh) (xxh) command to turn the oled voltage on this command turns on the 16v supply to the oled module. command format: 26h 51h 75h transmit format: (xxh) (xxh) (xxh) note: this command should only be used when the ole d displays are in the off mode.
cl01 intelligent controller users manual 7850 east gelding drive ? scottsdale, az 85260 -3420 cl01 intelligent controller users manual b.doc page 18 of 24 toll free 1.877.2buynkk (877.228.9655) ? phone 480.991.0942 ? fax 480.998.1435 www.nkkswitches.com ? email engineering@nkkswitches.com 0110 commands to download information directly to oled m odules note: care must be taken using these commands. the oled modules could get damaged if they are initialized with a value exceeding the specificatio ns. please check the oled modules data sheet and application notes before using commands. command to download data directly to oled modules this command downloads data directly from the hos t to the oled module. command format: 2fh 53h [number] [data] transmit format: (xxh) (xxh) (xxah) (xxah) [number] is one byte sent in ascii hex format (01h to 80h). this is the number of data bytes (1 to 12 8 bytes). [data] is 1 to 128 bytes sent in ascii hex format. the controller sends the [data] to both oled module s as data. command to download a command directly to oled modu les this command downloads a command from the host to the oled module. command format: 2fh 47h [number] [data] transmit format: (xxh) (xxh) (xxah) (xxah) [number] is one byte sent in ascii hex format (01h to 80h). this is the number of data bytes (1 to 12 8 bytes). [data] is 1 to 128 bytes sent in ascii hex format. the controller sends the [data] to both oled module s as a command. command to download a command directly to oled modu les (special) this command turns off the oled module, downloads a command from the host to the oled module, and turns it back on. command format: 2fh 49h [number] [data] transmit format: (xxh) (xxh) (xxah) (xxah) [number] is one byte sent in ascii hex format (01h to 80h). this is the number of data bytes (1 to 12 8 bytes). [data] is 1 to 128 bytes sent in ascii hex format. the controller turns off the oled display switches, sends the [data] to both switches as a command and then turns on the oled display switches.
cl01 intelligent controller users manual 7850 east gelding drive ? scottsdale, az 85260 -3420 cl01 intelligent controller users manual b.doc page 19 of 24 toll free 1.877.2buynkk (877.228.9655) ? phone 480.991.0942 ? fax 480.998.1435 www.nkkswitches.com ? email engineering@nkkswitches.com 0110 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 t he controller. one pin is keyed to reduce miss mates. note: improper installation of the logic boards cou ld damage either/both the logic board and controller. the batt/pwr switch has three positions: battery, off, line power. buzzer volume adjusts the volume of the buzzer that activates wh en a button is pushed. the 9v dc power jack mates with a 2.5mm cylinder power connector. center positive. the rs232 connector links the controller to the host. 1 2 3 4 5 6 rs232 gnd tx rx gnd note: to turn off the controller, press both switch es at the same time until the switches are off then turn off the batt/pwr switch. this step must be fol lowed to comply with oled power off requirement.
cl01 intelligent controller users manual 7850 east gelding drive ? scottsdale, az 85260 -3420 cl01 intelligent controller users manual b.doc page 20 of 24 toll free 1.877.2buynkk (877.228.9655) ? phone 480.991.0942 ? fax 480.998.1435 www.nkkswitches.com ? email engineering@nkkswitches.com 0110 controller schematic
cl01 intelligent controller users manual 7850 east gelding drive ? scottsdale, az 85260 -3420 cl01 intelligent controller users manual b.doc page 21 of 24 toll free 1.877.2buynkk (877.228.9655) ? phone 480.991.0942 ? fax 480.998.1435 www.nkkswitches.com ? email engineering@nkkswitches.com 0110 two oled smartswitch logic board
cl01 intelligent controller users manual 7850 east gelding drive ? scottsdale, az 85260 -3420 cl01 intelligent controller users manual b.doc page 22 of 24 toll free 1.877.2buynkk (877.228.9655) ? phone 480.991.0942 ? fax 480.998.1435 www.nkkswitches.com ? email engineering@nkkswitches.com 0110 two oled smartdisplay logic board
cl01 intelligent controller users manual 7850 east gelding drive ? scottsdale, az 85260 -3420 cl01 intelligent controller users manual b.doc page 23 of 24 toll free 1.877.2buynkk (877.228.9655) ? phone 480.991.0942 ? fax 480.998.1435 www.nkkswitches.com ? email engineering@nkkswitches.com 0110 container size board photo
cl01 intelligent controller users manual 7850 east gelding drive ? scottsdale, az 85260 -3420 cl01 intelligent controller users manual b.doc page 24 of 24 toll free 1.877.2buynkk (877.228.9655) ? phone 480.991.0942 ? fax 480.998.1435 www.nkkswitches.com ? email engineering@nkkswitches.com 0110 7. key terms & definitions oled module nkk switches? oled smartswitches and smartdisplays. host any computer, terminal, or other device that can c ommunicate over the rs232 line. controller a pcb assembly that controls one or more logic boar ds and the switches associated with them. it communicates with a host o ver the rs232 line. logic board a pcb assembly with ?glue logic? for mounting switc hes. it is controlled by a controller. byte an eight bit hex value ranging from 00h to ffh (de cimal 0 to 255). the bit format of a byte is: (b7 b6 b5 b4 b3 b2 b1 b0) wher e b7 is most significant and bit b0 is least significant bit. nibble/hex digit a four bit value ranging from 0h to fh. a byte con sists of two nibbles. ascii a byte value representing a symbol. communication there are two formats to transmit a byte: format 1. hex format - a hex byte is transmitted without any change to it. [ xxh ] will be used to denote this. all commands and some data are sent by using this format. 2. ascii hex format - each nibble of the byte is converted to ascii cod e and sent as a byte. [ xxah ] will be used to denote this. for example, the hex byte 5ah is transmitted in tw o bytes, 35h and 41h . the ascii value for 5 is 35h and the ascii value for a is 41h . all addresses and most data are sent using this fo rmat. address a two byte value ranging from 0001h to ffffh repres enting the 65536 memory locations for pictures and attributes on mic rosd flash. 8. firmware issues the problems found in the most current version are listed below and get resolved in the following vers ion. version v1.4 no firmware issues at this time.


▲Up To Search▲   

 
Price & Availability of IS-CL01-F-E

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X