NKK SWITCHES IS-Dev Kit-8 Скачать руководство пользователя страница 28

 

 

 

IS-Dev Kit-8 User Manual

 

7850 East Gelding Drive   •   Scottsdale, AZ  85260-3420

 

 

 

 

IS-Dev Kit 8 Users Manual A.doc 

 

 

Page 28 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 

 

Appendix 
 

Understanding Decimal, Hexadecimal and Binary Numbers 

 
Decimal is the numbering system we use. It is called base-10. Every digit can be between 0 to 9.  
The value of each digit is equal to the digit with ((Digit order) -1) zero in front. 
 

Table 1, Base-10 

Value in base-10 
Digit x 

 

 

 

10000 

1000 

100 

10 

Multiplication 
for converting to 
decimal 

10

(N-1)

 

… 

… 

10

4

 

10

3

  

10

2

  

10

1

  

10

0

 

Digit order 

Nth    
digit 

…. 

…. 

Fifth 
digit 

Fourth 
digit 

Third 
digit 

Second 
digit 

First 
digit 

 

Example:

 The value of each digit of the Base-10 number 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 = 

First digit: 

5 with (1-1) zero = 

 

Numbering system 

A numbering system can be based on any number (base-N). However it has to follow the rules: 
1. Each digit has to be between 0 to (Base minus one). For example:  

---Each digit for Base-2 numbering system can be 0 or 1 
---Each digit for Base-5 numbering system can be 0 to 4 
---Each digit for base-8 numbering system can be 0 to 7 
 

2. The value of each digit is equal to the digit with ((Digit order) -1) zeros in front. 
All the operations that we use on base 10 numbering system such as addition, subtraction, multiplication, 
division… works the same for all the numbering systems. The difference is the carry over will be based on the 
base-number of the numbering system instead of 10. 
 

Why do we need other base numbering systems? 

Computers logic is based on two states: 
Yes or No 
False or True  
High voltage or low voltage 

Содержание IS-Dev Kit-8

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 32: ...Mouser Electronics Authorized Distributor Click to View Pricing Inventory Delivery Lifecycle Information NKK Switches IS DEV KIT 8...

Отзывы: