Binary and Hexadecimal System
Computers understand numbers and logic, as most are
digital computers. The Binary Hexadecimal System is the way the numbers
or logical commands are instructed to the computer. All input devices
or sensors must finally talk this language to the CPU, and all outputs
and actuators must be able to understand this numbers to do their job.
A bimetallic
thermostat is like a simple mechanical computer. Where the bimetal
response is the sensor input, the contacts are the output to actuator
and the bimetal thermal behavior is of the nature of intelligence.
Similarly we have opamps which can be real-time complex analog
computers. And the Living Being is like a biological robot, which has
all the things - a control systems, computers, sensors and actuators,
even probably a wireless network. :-)
| Number |
Binary |
Hex |
Power of 2
|
| 0 |
0000 0000 |
00 |
0 |
| 1 |
0000 0001 |
01 |
20
|
| 2 |
0000 0010 |
02 |
21
|
| 4 |
0000 0100 |
04 |
22
|
| 8 |
0000 1000 |
08 |
23
|
| 16 |
0001 0000 |
10 |
24
|
| 32 |
0010 0000 |
20 |
25
|
| 64 |
0100 0000 |
40 |
26
|
| 128 |
1000 0000 |
80 |
27
|
- Bit is 0 or 1 ... one digit ... 0 could be 0 volts
and 1 five volts.
- Nibble is four bits, 4 digits, like 0010 , in hex a
nibble is 0 to F.
- Byte is eight bits, 8 digits, like 1100 0010 , in hex
00 to FF.
- BCD binary coded decimal is binary code for numbers 0
to 9.
- Learn more by reading asciicat here.
Download and use.
|
Binary |
|
| 23
|
22
|
21
|
20
|
| 8 |
4 |
2 |
1 |
| 2*2*2 |
2*2 |
2 |
1 |
| Decimal
|
Logic
- d |
Logic
- c |
Logic
- b |
Logic
- a |
Hex
|
| 0 |
0
|
0
|
0
|
0
|
0 |
| 1 |
0
|
0
|
0
|
1
|
1 |
| 2 |
0
|
0
|
1
|
0
|
2 |
| 3 |
0
|
0
|
1
|
1
|
3 |
| 4 |
0
|
1
|
0
|
0
|
4 |
| 5 |
0
|
1
|
0
|
1
|
5 |
| 6 |
0
|
1
|
1
|
0
|
6 |
| 7 |
0
|
1
|
1
|
1
|
7 |
| 8 |
1
|
0
|
0
|
0
|
8 |
| 9 |
1
|
0
|
0
|
1
|
9 |
| 10 |
1
|
0
|
1
|
0
|
A |
| 11 |
1
|
0
|
1
|
1
|
B |
| 12 |
1
|
1
|
0
|
0
|
C |
| 13 |
1 |
1 |
0 |
1 |
D |
| 14 |
1 |
1 |
1 |
0 |
E |
| 15 |
1 |
1 |
1 |
1 |
F |
|