DE-unit 1 PART - 1
DE-unit 1 PART - 1
DE-unit 1 PART - 1
COURSE CONTENT
1.0 Basics of Digital Electronics
Binary, Octal, Hexadecimal number systems -comparison with Decimal system-Conversion of
a given decimal number into Binary, Octal, and Hexadecimal numbers and vice versa-
Conversion of a given binary number into octal and hexadecimal number system and vice
versa- binary addition, subtraction, Multiplication and Division ,1's complement and 2's
complement numbers of a binary number subtraction of binary numbers in 2's complement
method- Use of weighted and Un-weighted codes- Binary equivalent number for a number in
8421, Excess-3 and Gray Code and vice-versa- Use of alphanumeric codes (ASCII &
EBCDIC)- importance of parity Bit Different postulates in Boolean algebra- Basic logic gates
AND, OR, NOT gates with truth table- universal logic gates (NAND, NOR gates) - exclusive -
OR gate with truth table- De-Morgan's theorems- AND, OR, NOT operations using NAND,
NOR gates- De-Morgan's theorems related postulates to simplify Boolean expressions (up to
three variables)- standard representations for logical functions (SOP and POS form)
- Boolean expressions from the given truth table Karnaugh map to simplify Boolean
Expression (up to 4 variables only).
REFERENCE BOOKS:
1. Digital Computer Electronics by Malvino and leach. 3rdedition Tata McGraw-Hill
Education
2. Modern Digital Electronics By RP JAIN TMH
3 Digital Electronics: Principles & Applications by Roger L. Tokenism -McGraw-Hill
Education, 2008
4. Digital Electronics by GK Kharate, Oxford University Press.
UNIT-1
Basics of Digital Electronics
INTRODUCTION
What is Signal?
Define Electronics?
Definition of Signal
In electronics, a signal is an electric current or electromagnetic field used to convey data
from one place to another.
The most basic division of the electric signals is the division into analogue and digital
signals.
The fundamental difference between analogue and digital signal is that analogue signal is
represented by the sine waves whereas, the digital signal is represented by square waves.
Define Electronics
A branch of physics that deals with the emission, behaviour, and effects of electrons (as
in electron tubes and transistors) and with electronic devices.
Electronics is the branch of science that deals with the study of flow and control of electrons
(electricity) and the study of their behaviour and effects in vacuums, gases, and
semiconductors, and with devices using such electrons.
This control of electrons is accomplished by devices (electronic components) that resist, carry,
select, steer, switch, store, manipulate, and exploit the electron.
Example of a digital electronic system
Mobile phone, Computer.
As you speak into the phone, the digital electronic circuits it contains converts your voice into
a series of electronic pulses (or 1s and 0s).
When the computer operator presses the letter ‘H’ on the keyboard, the motherboard converts
this into a digital signal composed of 1s and 0s. The ‘H’ in the form of 1s and 0s is displayed
on the monitor.
Number Systems
The number system is a way to represent or express numbers.
Number Systems are useful in digital computer technology.
The knowledge of these systems is very essential in designing the digital systems and to
perform reliable and economic arithmetic operations.
There are two types of numbering systems:
i)Non-positional Ex : Roman numerical system
ii) Positional number system
In this ,the position of a digit indicates the significance to be attached to that digit.
Position number systems have a radix or base.
Continua…
• In the context of digital computers, we define other types of number systems.
Decimal Number System (Base 10):
Decimal number system has only ten (10) digits from 0 to 9.
Every number (value) represents with 0,1,2,3,4,5,6, 7,8 and 9 in
this number system.
The base of decimal number system is 10, because it has only 10
digits
For example, the value of 786 is
= 7 x 102 + 8 x 101 + 6 x 100
= 700 + 80 + 6
Binary Number System:
A Binary number system has only two digits that are 0 and 1.
Every number (value) represents with 0 and 1 in this number
system.
The base of binary number system is 2, because it has only two
digits.
For example, (101101)2 in decimal is
= 1 x 25 + 0 x 24 + 1 x 23 + 1 x 22 + 0 x 21 + 1 x 20
= 1 x 32 + 0 x 16 + 1 x 8 + 1 x 4 + 0 x 2 + 1 x 1
= 32 + 8 + 4 + 1
= (45)10
Octal number system:
Octal number system has only eight (8) digits from 0 to 7.
Every number (value) represents with 0,1,2,3,4,5,6 and 7 in this
number system. The base of octal number system is 8, because it has
only 8 digits.
BINARY-TO-DECIMAL CONVERSION:
If a binary number has to be converted into decimal number, then
we should multiply, the positional values of each bit with the bit
value and add.
=1×256+1×128+0×64+1×32+0×16+1×8+0×4+0×2+1×1
=425
∴(110101001)2=(425̲)10
Binary Fractions
Example No1
Now lets suppose we have the following binary number of: (1101.0111)2, what
will be its decimal number equivalent.
= 2 × 64+ 1 × 8 + 5 × 1 = 128 + 8 + 5
= 14110
Example: Let 125 is an octal number denoted by 1258. Find the decimal
number.
1258 = 1× 82 + 2 × 81 + 5 × 80
= 1 × 64 + 2 × 8 + 5 × 1
= 64+16+5
=8510
The fractional part
1)Convert octal number (0.01) 8 into decimal form.
Solution:
0x80 + 0x8-1 + 0x8-2
= 0 + 0 + 0.015625
= 0.015625
2)Convert octal number (7.12172)8into decimal form.
Solution:
= 7x80 + 1x8-1 + 2x8-2 + 1x8-3 + 7x8-4 + 2x8-5
= 7 + 0.125 + 0.03125 + 0.001953125 + 0.001708984375 +
0.00006103515624
= 10.1599...
= 10.16 (approx. value)
PROBLEMS:
Convert given octal numbers into decimal
a) (567)8
b) (22.74)8
c) (306.2)8
DECIMAL -TO-OCTAL CONVERSION:
Follow the steps given below to learn the decimal to octal conversion: