background image

 

 

 

IS-Dev Kit-8 User Manual

 

7850 East Gelding Drive   •   Scottsdale, AZ  85260-3420

 

 

 

 

IS-Dev Kit 8 Users Manual A.doc 

 

 

Page 13 of 31 

Toll Free 

1.877.2BUYNKK (877.228.9655)  

  

Phone

 480.991.0942  

•  Fax

 480.998.1435 

www.nkkswitches.com

  •  Email

 [email protected]   

 

1209 

Pressing the Middle Switch 
 

Attribute Block at address 0001H 

Current 
Address 

Top 

Switch 

Address 

Middle 

Switch 

Address 

Bottom 

Switch 

Address 

End 

Address  Timer1  Timer2 

0001H 

0002H 

0006H 

0007H 

0000H 

00H 

00H 

 
If the middle switch, the image at the address 0006H is displayed and the Attribute Block of the address 0006H 
becomes active.  
 
Attribute Block at address 0006H 

Current 
Address 

Top 

Switch 

Address 

Middle 

Switch 

Address 

Bottom 

Switch 

Address 

End 

Address  Timer1  Timer2 

0006H 

0000H 

0000H 

0001H 

000AH 

02H 

FFH 

 
The timer is 510ms. If there is no switch activity for 510ms the timer expires causing the next image, 0007H, to 
be displayed. This continues until images 0008H, 0009H, and 000AH are also displayed. When the timer 
expires at address 000AH the address is equal to the End Address. The Middle Switch Address from the 
Attribute Block of 000AH is then checked. 
 
Attribute Block at address 000AH 

Current 
Address 

Top 

Switch 

Address 

Middle 

Switch 

Address 

Bottom 

Switch 

Address 

End 

Address  Timer1  Timer2 

000AH 

000CH 

0000H 

000AH 

0000H 

00H 

00H 

 
Since the Middle Switch Address is zero then the image at address 0006H is displayed and the Attribute Block 
of address 0006H stay active.  
 
If the bottom switch is pressed in any address from 0006H to 000AH then the image at address 0001H is 
displayed and the Attribute Block of address 0001H become active. 

 

 
Pressing the Bottom Switch 

 

Attribute Block at address 0001H 

Current 
Address 

Top 

Switch 

Address 

Middle 

Switch 

Address 

Bottom 

Switch 

Address 

End 

Address  Timer1  Timer2 

0001H 

0002H 

0006H 

0007H 

0000H 

00H 

00H 

 
If the bottom switch is pressed, the image at the address 0007H is displayed and the Attribute Block of the 
address 0007H becomes active.  
 

Summary of Contents for IS-Dev Kit-8

Page 1: ...ision A IS Dev Kit 8 Version 1 0 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 engineering nkkswitches com All R...

Page 2: ...998 1435 www nkkswitches com Email engineering nkkswitches com 1209 TABLE OF CONTENTS Table of Contents 2 1 General Controller Features 3 2 Thank you for purchasing NKK Switches IS Dev Kit 8 4 3 Prefa...

Page 3: ...On board selection between 9V battery and AC power supply On board microSD Flash that can hold up to 65 536 images Adjustable audio feedback when a switch is pressed 16 level of brightness settings t...

Page 4: ...cker can be the distinguishing feature within your application that sets your product apart from the competition This kit contains all the necessary components to get you started using testing and ult...

Page 5: ...ish to simply start using the Dev Kit without getting into the technical details Section 6 7 and 8 covers communication and commands between the host computer and the Dev Kit controller Section 9 is t...

Page 6: ...itch activity will keep the unit in this mode After 2 6 seconds of user inactivity the controller will move into the main operations mode Main Operational Mode The IS DEV KIT 8 is programmed with fact...

Page 7: ...change B If the address is set to a positive number the image at the address is displayed and the attributes at the address become active 2 Middle Switch Address The address of the image to be display...

Page 8: ...causes a change ii If the Middle address 2 is a positive number the image at the address is displayed and the attributes at the address become active 6 7 Reserved for future use and must be set to ze...

Page 9: ...e images are as desired so all the loops for sequential changes based on timer are sequential You can select Edit Attributes from Batch Picture Download screen Screen shot 1 Universal Communicator dis...

Page 10: ...tribute information can be modified by the user Screen Shot 2 Universal Communicator Batch Attribute Download Window Timer The timer controls the number of milliseconds to display an image before swit...

Page 11: ...x An Example of How Attributes Work The following demonstrate the way attributes of Screen shot 2 above works The Illustration 2 below visually demonstrates the way these attributes work The blue is t...

Page 12: ...te Block of address 0002H becomes active Attribute Block at address 0002H Current Address Top Switch Address Middle Switch Address Bottom Switch Address End Address Timer1 Timer2 0002H 0000H 0000H 000...

Page 13: ...to be displayed This continues until images 0008H 0009H and 000AH are also displayed When the timer expires at address 000AH the address is equal to the End Address The Middle Switch Address from the...

Page 14: ...p switch is pressed in any address from 0007H to 000AH then the image at address 0001H is displayed and the Attribute Block of address 0001H become active Notice that the other attributes within the A...

Page 15: ...H B Top switch Release is reported as C1H C Middle switch press is reported as 92H D Middle switch Release is reported as C2H E Bottom switch press is reported as 93H F Bottom switch Release is report...

Page 16: ...ress 004EH The attribute block of the address 004EH will be used Command to update the display This command resends the picture from current address to the OLED Rocker The controller transmits back 61...

Page 17: ...1 One byte send in HEX format timer 2 timer 2 One byte send in HEX format The command sets the timers with the given values and activates them If a switch is pressed or the timer expires causes a new...

Page 18: ...H 51H 69H transmit format xxH xxH xxH Command to turn the switch display on This command turns on the OLED display command format 26H 51H 66H transmit format xxH xxH xxH Command to turn the OLED volta...

Page 19: ...es sent in ASCII HEX format These byte should be 00H This is for future use Customer could use the last byte for storing the data version All other byte must be transmitted with the stated values Flag...

Page 20: ...xH xxAH xxAH address is two bytes with value of 0001H to FFFFH sent as ASCII HEX format image is 768 bytes transmitted in ASCII HEX format An image is handled as a block of 768 bytes Each pixel requir...

Page 21: ...ock An attribute is handled as a block of 14 bytes Table below show the transmit order of the data Byte Description 1 High byte of action address for Top Switch 2 Low byte of action address for Top Sw...

Page 22: ...and operation command format 2EH 53H transmit format xxH xxH Example Start at address 00A1H Send 2E 53 and the OLED display displays the image stored at address 00A2H Send 2E 53 again and the OLED dis...

Page 23: ...ber is one byte sent in ASCII HEX format 02H to 80H This is the number of data bytes 2 to 128 bytes data is 2 to 128 bytes sent in ASCII HEX format The controller sends the first byte as command and t...

Page 24: ...ation Controls The OLED Rocker has a monochromatic 96x64 OLED display and top middle and bottom buttons The Battery Compartment is for an optional 9V battery The Operation Controls are as follows The...

Page 25: ...elding Drive Scottsdale AZ 85260 3420 IS Dev Kit 8 Users Manual A doc Page 25 of 31 Toll Free 1 877 2BUYNKK 877 228 9655 Phone 480 991 0942 Fax 480 998 1435 www nkkswitches com Email engineering nkksw...

Page 26: ...Drive Scottsdale AZ 85260 3420 IS Dev Kit 8 Users Manual A doc Page 26 of 31 Toll Free 1 877 2BUYNKK 877 228 9655 Phone 480 991 0942 Fax 480 998 1435 www nkkswitches com Email engineering nkkswitches...

Page 27: ...significant and bit B0 is least significant bit Nibble Hex digit A four bit value ranging from 0H to FH A byte consists of two nibbles ASCII A byte value representing a symbol Communication There are...

Page 28: ...r 7605 is as follow Fourth digit 7 with 4 1 zero 7000 Third digit 6 with 3 1 zero 600 Second digit 0 with 2 1 zero 0 First digit 5 with 1 1 zero 5 Numbering system A numbering system can be based on a...

Page 29: ...4 1 zero 1000 Third digit 0 with 3 1 zero 0 Second digit 1 with 2 1 zero 10 First digit 0 with 1 1 zero 0 To convert a base 2 number to decimal multiply each digit by multiplier and add them together...

Page 30: ...se 2 numbering system convert to one digit of base 16 numbering system Since we did not have digits for 10 11 12 13 14 and 15 they were assigned letters A B C D E and F respectively Table 3 Number bas...

Page 31: ...er Second digit 9 3 divide by 16 0 with 3 remainder Third digit 3 925 decimal 39D hex Converting between hex and binary is as easy as replacing each digit of hex with equivalent 4 digit of binary Exam...

Page 32: ...Mouser Electronics Authorized Distributor Click to View Pricing Inventory Delivery Lifecycle Information NKK Switches IS DEV KIT 8...

Reviews: