FOR WIRELESS.
SCS 207.
Number Systems and Codes
By
Mr. Isaac Kuma Yeboah.
1
Chapter Objectives
Digital
Analog
Continuously varying
Examples: temperature, pressure,
velocity
Discussion Points
Digital vs.
Analog
Digital Representations
of Analog Quantities
Audio Recording
Video Recording
Digital-to-Analog and
Back Again
Why Digital
Systems Are
Immune to Analog
Noise
Digital Representations of
Alternative Energy Sources
Number of Systems.
There are four systems of arithmetic which
are often used in digital circuits. These
systems are:
1. Decimal- it has a base or radix of 10 that is it
uses 10 different symbols to represent
numbers.
2. Binary-it has a base of 2, that is it uses only
two different symbols.
3. Octal-it has a base of 8, that is uses eight
different symbols.
4. Hexadecimal- it has a base of 16, that it uses
sixteen different symbols.
11
Decimal-to-Binary
Conversion
Integers: Such conversion can be achieved
12
13
Octal Conversions
Binary to octal
Group binary positions in groups of
three
Write the octal equivalent
Octal to binary
Octal to decimal
Decimal to octal
Successive division
14
Hexadecimal Numbering
System
(Base 16)
16 allowable digits.
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, and
F
See Table 1-3
15
Hexadecimal Numbering
System
Hexadecimal Conversions
Binary-to-hexadecimal
conversion
Group
conversion
the process
16
Hexadecimal Conversions
Hexadecimal-to-decimal
conversion
Multiply
by weighting factors
Decimal-to-hexadecimal
conversion
Successive
division
17
Binary-Coded-Decimal
System
(BCD)
BCD-to-Decimal conversion
20
21
Numbering System
Applications
22
Application 1-1
The four chemical storage tanks
shown are monitored for
temperature (T) and pressure (P).
22
22
22
22
22
22
Application 1-2
A CD player converts 12-bit signals
from a CD into equivalent analog
values.
What are the largest and smallest hex
values that can be used in this system?
Application 1-3
Typically, digital thermometers
use BCD to drive their displays.
displays
How many BCD bits are
required to drive a 3-digit
display?
22
Application 1-4
Most PC-compatible computer
systems use a 20-bit address code
to identify each of over 1 million
memory locations.
locations
How many hex characters are
required to identify the address of
each memory location?
Five
Application 1-5
Application 1-6
Summary
Summary
29
Summary