Appendix C: Binary To Hexadecimal Conversions; Converting Binary To Hexadecimal; Conversion Table; Scientific Calculator - Lantronix xPico WiFi User Manual

Embedded device server
Hide thumbs Also See for xPico WiFi:
Table of Contents

Advertisement

Appendix C: Binary to Hexadecimal Conversions

Many unit configuration procedures require you to assemble a series of options (represented as
bits) into a complete command (represented as a byte).
The resulting binary value must be converted to a hexadecimal representation.
Use this chapter to learn to convert binary values to hexadecimals or to look up hexadecimal
values in the tables of configuration options. The tables include:
Command Mode (serial string sign-on message)
AES Keys

Converting Binary to Hexadecimal

Following are two simple ways to convert binary
numbers to hexadecimal notation.

Conversion Table

Hexadecimal digits have values ranging from 0 to F,
which are represented as 0-9, A (for 10), B (for 11),
etc. To convert a binary value (for example, 0100
1100) to a hexadecimal representation, treat the
upper and lower four bits separately to produce a two-
digit hexadecimal number (in this case, 4C). Use the
following table to convert values from binary to
hexadecimal.

Scientific Calculator

Another simple way to convert binary to hexadecimal
is to use a scientific calculator, such as the one
available on the Windows operating systems. For
example:
1. On the Windows Start menu, click Programs ->
Accessories -> Calculator.
2. On the View menu, select Scientific. The
scientific calculator appears.
3. Click Bin (Binary), and type the number you want
to convert.
xPico® Wi-Fi® Embedded Device Server User Guide
Table C-1 Binary to Hexadecimal
Conversion
Decimal
Binary
0
0000
1
0001
2
0010
3
0011
4
0100
5
0101
6
0110
7
0111
8
1000
9
1001
10
1010
11
1011
12
1100
13
1101
14
1110
15
1111
Hex
0
1
2
3
4
5
6
7
8
9
A
B
C
D
E
F
47

Advertisement

Table of Contents
loading

Table of Contents