Module-II_Basic Principles_part-1
Module-II_Basic Principles_part-1
Module/Unit-II
Numbers We Use in
Digital Electronics
CHAPTER 2 PREVIEW
• Binary System -
Uses two symbols (base 2 system)
PLACE VALUE
Place Value 8s 4s 2s 1s
Number 1 1 0 0
RESULT: Binary 1100 = decimal 8 + 4 + 0 + 0 = decimal 12
BINARY TO DECIMAL
CONVERSION
Convert Binary Number 110011
to a Decimal Number:
Binary 1 1 0 0 1 1
Decimal 32 + 16 + 0 + 0 + 2 + 1 = 51
TEST
Convert the following binary
numbers into decimal numbers:
Binary 1001 = 9
Binary 1111 = 15
Binary 0010 = 2
DECIMAL TO BINARY
CONVERSION
Divide by 2 Process
Decimal # 13 ÷ 2 = 6 remainder 1
6 ÷ 2 = 3 remainder 0
3 ÷ 2 = 1 remainder 1
1 ÷ 2 = 0 remainder 1
1 1 0 1
TEST
Decimal 4 = 0100
Decimal 17 = 10001
ELECTRONIC TRANSLATORS
Encoders -
translates from decimal to binary
Decoders -
translates from binary to decimal
ELECTRONIC ENCODER -
DECIMAL TO BINARY
Binary output
Decimal input
01
0011
0
7 Decimal
5 to
3 Binary
Encoder
0
Binary-to-
7-Segment
Decoder/
Driver
Hexadecimal E A
DECIMAL TO HEXADECIMAL
CONVERSION
Divide by 16 Process
Decimal # 47 ÷ 16 = 2 remainder 15
2 ÷ 16 = 0 remainder 2
2 F
HEXADECIMAL TO DECIMAL
CONVERSION
Convert hexadecimal number
2DB to a decimal number
Hexadecimal 2 D B
(256 x 2) (16 x 13) (1 x 11)
63 = 3F (Hexadecimal)
OCTAL NUMBERS