CHAPTER 1_Basic_Jan 2021
CHAPTER 1_Basic_Jan 2021
Electronics
Introduction to Digital
Electronics
• Digital Electronics represents
information with only two discrete
Introduction •
values (0, 1) .
Ideally
to Digital “no voltage” (e.g.,
0V/GND) represents a 0 and
2
Bridging the Digital Device
1623 ANALOG TO DIGITAL
3 21 935 3 16 63
6 935272
CONVERSION
534 7 75 935 93 5
275
1 534
23412 37
45 1 13
7 2
145
34
0
1 1 01 00
0 0
100111
0 01
0
1 010
0100
1
01
1101
010 101 10 0
0010
1 1001 10
0
1 1 10
01 00
111
0010
1101 0 010 011 101
1 011011
011 11 0010110010
DIGITAL TO ANALOG 0 011
CONVERSION 011 01
1 0 1
01 0 1 10 1
0 1 1
1
10 0001 10
0
1 00 1 0
0 1 01 1
0 1 01 10 11 01011
1 1011 00 0
00 1 00
3
Decimal Number
Numbering
- denary counting system
• - Base-10 numbering system
• -ten possible values from 0 to 9
•
System
(10 counting sequences)
Binary Number
Octal Number
Hexadecimal Number
4
Decimal Conversion
Decimal
Binary Hexadecimal
Octal
Technique
- Divide by base, keep track of the remainder
- Bottom top answer
5
Example
12510 = ?2 2 125
62 1
2
2 31 0
15 1
2
7 1
2
2 3 1
2 1 1
0 1
12510 = 11111012
6
Example
123410 = ?8
8 1234
154 2
8
19 2
8
2 3
8
0 2
123410 = 23228
7
Example
123410 = ?16
16 1234
16 77 2
16 4 13 = D
0 4
123410 = 4D216
8
Binary Conversion
Binary
1
2 3
Decimal Hexadecimal
Octal
9
• Technique 1
Sum of Power of 2 ^N-1
Binary • Technique 2
• Technique 3
Group in 4 bit starting from the most
right (LSB)
Example
10110101112 = ?10
11
Example
10110101112 = ?8
1 3 2 7
10110101112 = 13278
12
Example
10110101112 = ?16
10 1101 0111
2 13 7
10110101112 = 1D716
13
Fractions
• Binary to decimal
10.1011 => 1 x 2-4 = 0.0625
1 x 2-3 = 0.125
0 x 2-2 = 0.0
1 x 2-1 = 0.5
0 x 20 = 0.0
1 x 21 = 2.0
2.6875
14
Fractions
• Decimal to binary x
.14579
2
3.14579 0.29158
x 2
0.58316
x 2
1.16632
x 2
0.33264
x 2
0.66528
x 2
1.33056
11.001001... etc.
15
Logic Gate
• A Logic Gate is an electronic circuit capable of making logical
decisions.
• A basic building of a digital system
• It has one output and one or more inputs.
• 0 and 1.
• Divided into 2 groups:
1. Fundamental Gates to perform basic mathematical operation ( x, +,
invert)
2. Derived Gates to perform more complicated logic operation
The OR Gate Y=A+B
• SOP expressions consist of two or more AND terms (products) that are
ORed together
• Example: ABC + A’BC’
• POS expressions consist of two or more OR terms (sums) that are ANDed
together
• Example:
• (A + B’ + C)(A + C)
• (A + B’)(C’ + D)F
Example •
•
Y = MNO + MNO’ +M’N’O + M’NO’
Y = PQRS +P’QR’S+PQ’RS
Simplification
Using mathematical method -Boolean Algebra /
De Morgan Theorem
01/21/2025 60
Designing Combinational Logic Circuits
Design a logic circuit that has three inputs, A, B, and C,
whose output will be HIGH only when a majority of the
inputs are HIGH.
01/21/2025 61
62
Step 1: Problem
Statement
• Understand what is the design requirements
01/21/2025
Here;
N=3
logic combination = 2 POWER OF 3
=8
01/21/2025 64
Step 3: Switching Equations
01/21/2025 65
Step 4: Equation Simplification
01/21/2025 66
Step 5: Logic Circuit Drawn
01/21/2025 67
Step 6: Circuit Built
01/21/2025 68
Wiring Diagram
VDD
7404
7408 7432
A
B
C F
01/21/2025 69
Step 7: • Check and verify the truth table
Testing
01/21/2025 70
Example • Proof that by using Truth Table
(revision)
UNIVERSAL GATE