delabs News Feed delabs Technologies Search delabs
Contact delabs
Design Service
Feed
delabs Technologies  Search Contact Service

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. 

When you turn a tap, it is analog control. When you switch on a light, it is like digital. Digital is High or Low, Yes or No. In CMOS Logic it is like 5V and 0V. A Data Stream is made of 1s and 0s. Study more at my Embedded Blog.

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 2 0
2 0000 0010 02 2 1
4 0000 0100 04 2 2
8 0000 1000 08 2 3
16 0001 0000 10 2 4
32 0010 0000 20 2 5
64 0100 0000 40 2 6
128 1000 0000 80 2 7
The Binary Computer


The Insides of a Computer is all digital and binary. Like the Bones, Nerves and Flesh. Your Embedded Project, the 8052, Arduino and Raspberry all are examples of devices that are based on this digital language unlike analog.

Binary Computer

Learn more at my Circuits FAQ.
  • 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 pdf.

Binary
2 3 2 2 2 1 2 0
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
If you prefer images, here they are. Past it to your wallpaper and your desktop will force you to memorize this.