SlideShare a Scribd company logo
Basics of Digital ElectronicsBasics of Digital Electronics
Prof.Anjali JagtapProf.Anjali Jagtap
anjalij@isquareit.edu.inanjalij@isquareit.edu.in
Prof.Anjali JagtapProf.Anjali Jagtap
anjalij@isquareit.edu.inanjalij@isquareit.edu.in
Department of Electronics andTelecommunicationDepartment of Electronics andTelecommunication
International Institute of InformationTechnology,International Institute of InformationTechnology,
PunePune –– 411057411057
Digital SignalsDigital Signals
An electrical signal with two discrete levels (high and low)
Two discrete levels are represented by binary digits 0 and 1
referred as Binary number system.
Gorge Boole introduced binary number system with algebra
developed “Boolean Algebra”
Represented in two different ways
• Positive logic system
• Negative logic system
Digital system typesDigital system types
Combinational logic system/circuits
• An output at any instant depends only on inputs applied at
that instant.
• Example – Adder, subtractor, Comparator etc
• Basic building block – logic gates
Sequential logic system/circuits
• An output at any instant depends only on inputs applied at
that instant as well as on past inputs/outputs.
• Example – counters, sequence generator/ detector etc
• Requires memory
• Basic building block – Flips and logic gates
Logic GatesLogic Gates
Basic logic gates
• AND gate
• Logical Multiplication
• Two input gate shown
Basic logic gates
•OR gate
• Logical Addition
• Two input gate shown
•NOT/Inversion gate
• Logical inversion
• Single input single output gate
••Universal logic gatesUniversal logic gates
• NAND gate
• Two input gate shown
• NOR gate
• Two input gate shown
••Special gatesSpecial gates
• Ex-OR gate
• Two input gate shown
• Ex-NOR gate
• Two input gate shown
Boolean AlgebraBoolean Algebra
Mathematician George Boole developed
rules for manipulation of binary variables.
Rules :
• A+0=A
• A+1=1• A+1=1
• A+A=A
• A+A’=1
• A.0=0
• A.1=A
• A.A=A
• A.A’=0
• A.(B+C)=AB+AC
Boolean AlgebraBoolean Algebra
• A+BC=(A+B).(A+C)
• A+A.B=A
• A.(A+B)=A
• A+A’.B=A+B
• A.(A’+B)=A.B
• A.B+A’.B’=A
• (A+B).(A+B’)=A
• A.B+A.C’=(A+C).(A’+B)
• (A+B).(A’+C)=AC+A’B
• AB+A’C+BC=AB+A’C
• (A+b).(A’+C).(B+C)=(A+B).(A’+C)
De Morgan’s TheoremDe Morgan’s Theorem
• (A.B)’=A’+B’
• (A+B)’=A’.B’
Number SystemNumber System
Number
System
Base or radix Symbols used
(di or d-f)
Weight assigned to
position
Example
i -f
Binary 2 0,1 2i 2-f 10101.10
Octal 8 0,1,2,3,4,5,6,7 8i 8-f 3547.25
Decimal 10 0,1,2,3,4,5,6,7
,8,9
10i 10-f 974.27
Hexadecimal 16 0,1,2,3,4,5,6,7
,8,9,A,B,C,D,
E,F
16i 16-f FA9.46
Quantities/CountingQuantities/Counting
Decimal Binary Octal Hexadecimal
0 0000 00 0
1 0001 01 1
2 0010 02 2
3 0011 03 3
4 0100 04 4
5 0101 05 5
6 0110 06 6
7 0111 07 7
8 1000 10 8
9 1001 11 9
10 1010 12 A
11 1011 13 B
12 1100 14 C
13 1101 15 D
14 1110 16 E
16 1111 17 F
Number System conversionNumber System conversion
•Binary to decimal
• Multiply each bit by 2n, n is the “weight” of the bit
• The weight is the position of the bit, starting from 0
on the right
• Add the results• Add the results
Example
(110101)2 = ( )10
= 1x25+1x24+0x23+1x22+0x21+1x20
= 32+16+0+4+0+1
= (53)10
Number System conversionNumber System conversion
•Binary to octal
• Group bits in threes, starting on right
• Convert to octal number
ExampleExample
(110101)2 = ( )8
= 110 101
= 6 5
= (65)8
Number System conversionNumber System conversion
•Binary to hexadecimal
• Group bits in fours, starting on right
• Convert to hexadecimal number
ExampleExample
(110101)2 = ( )16
= 11 0101
= 0011 0101
= (35)16
Number System conversionNumber System conversion
•Decimal to binary
• Divide by two, keep track of the remainder
• First remainder is bit 0 (LSB, least-significant bit)
• Second remainder is bit 1Group bits in fours, starting
on right
Example
(53) = ( )(53)10 = ( )2
= (110101)2
Number System conversionNumber System conversion
•Decimal to octal
• Divide by eight, keep track of the remainder
• First remainder is bit 0 (LSB, least-significant
bit)
• Second remainder is bit 1Group bits in fours,
starting on rightstarting on right
Example
(53)10 = ( )8
= (65)8
Number System conversionNumber System conversion
•Decimal to hexadecimal
• Divide by 16, keep track of the remainder
• First remainder is bit 0 (LSB, least-significant bit)
• Second remainder is bit 1Group bits in fours, starting on
right
Example
(53) = ( )(53)10 = ( )16
=
= (35)16 `
Number System conversionNumber System conversion
•Octal to binary
• Convert each octal digit to a 3-bit equivalent
binary representation
ExampleExample
(65)8 = ( )2
= 110 101
= (110101)2
Number System conversionNumber System conversion
•Octal to decimal
• Multiply each bit by 8n, n is the “weight” of the bit
• The weight is the position of the bit, starting from 0
on the right
• Add the results• Add the results
Example
(65)8 = ( )10
= 6x81+5x80
= 48+5
= (53)10
Number System conversionNumber System conversion
•Octal to hexadecimal
• Use binary as an intermediary.
Example
(65)8 = ( )16(65)8 = ( )16
= 110 101
= 11 0101
= 0011 0101
= (35)16
Number System conversionNumber System conversion
•Hexadecimal to binary
• Convert each hexadecimal digit to a 4-bit
equivalent binary representation.
ExampleExample
(6A)16 = ( )2
= 0110 1010
= (1101010)2
Number System conversionNumber System conversion
•Hexadecimal to octal
• Use binary as an intermediary.
Example
(6A)16 = ( )8(6A)16 = ( )8
= 0110 1010
= 1 101 010
= 001 101 010
= (152)8
Number System conversionNumber System conversion
•Hexadecimal to decimal
• Multiply each bit by 8n, n is the “weight” of the bit
• The weight is the position of the bit, starting from 0
on the right
• Add the results
ExampleExample
(6A)16 = ( )10
= 6x161+Ax160
= 6x161+10x160
= 96 + 10
= (106)10
Complement representationComplement representation
• One’s complement format
• In binary number system, each bit is complimented.
Example
(0100101)2 = (1011010) one’s complement form
• Two’s complement format• Two’s complement format
• In binary number system, each bit is complimented and
binary 1 is added.
• Used to represent negative number.
Example
(0100101)2 = (90)10
= (1011010)2 one’s complement form
= (1011010 + 1)2
= (1011011)2 = (-90)10 2’s complement

More Related Content

PPTX
Parallel adders
PPT
digital systems and information
PPTX
Lec 1 number systems converted
PPTX
Number systems
PDF
chapter one && two.pdf
PDF
Logic Design
PPTX
Number System
PDF
Objective Questions Digital Electronics
Parallel adders
digital systems and information
Lec 1 number systems converted
Number systems
chapter one && two.pdf
Logic Design
Number System
Objective Questions Digital Electronics

What's hot (20)

PPTX
Number system....
PPT
Number systems ppt
PPTX
ALL ABOUT NUMBER SYSTEMS
PDF
Number systems
PPTX
Number system de (2131004) - 160920107003
PDF
Digital notes
PPT
Digital logic design part1
PPTX
number system
PPTX
Conversion of Number Systems
PPT
Binary number systems
PPT
digital logic design number system
PPT
Conversion of number system
PPTX
Number Systems and Binary Aritmetics
PPTX
Number system computer fundamental
PDF
Chapter 07 Digital Alrithmetic and Arithmetic Circuits
PDF
Number System Conversion
PPTX
dld 01-introduction
PPTX
Introduction number systems and conversion
PPTX
Decimal number system
PPTX
Basics of digital electronics
Number system....
Number systems ppt
ALL ABOUT NUMBER SYSTEMS
Number systems
Number system de (2131004) - 160920107003
Digital notes
Digital logic design part1
number system
Conversion of Number Systems
Binary number systems
digital logic design number system
Conversion of number system
Number Systems and Binary Aritmetics
Number system computer fundamental
Chapter 07 Digital Alrithmetic and Arithmetic Circuits
Number System Conversion
dld 01-introduction
Introduction number systems and conversion
Decimal number system
Basics of digital electronics
Ad

Similar to Basics of Digital Electronics (20)

PPTX
DLD-Introduction.pptx
PPTX
21EC201– Digital Principles and system design.pptx
PPTX
Eln PPT module on electrical and electronics
PPTX
BEEE - Part B - Unit 3 - Digital Electronics PPT.pptx
PPTX
Number system and their conversion
PPT
BEEE - Part B - Unit 3 PPT.ppt DL&CO - Unit 1 PPT.ppt
PPT
Number systems r002
PPTX
Chapter 1 digital design.pptx
PPT
DL&CO - Unit 1 PPT.ppt DL&CO - Unit 1 PPT.ppt DL&CO - Unit 1 PPT.ppt
PPTX
Computer Organization and assembly language Computer Organization and assembl...
PPTX
basic electronics MODULE_1_Ch4_AH_01082014.pptx
PPT
Boolean Algebra Arithmetic SIG UNSIGN.ppt
PDF
Finite word length effects
PPT
2. Computer_Organization_unit_ 1_win.ppt
PPTX
JPC#8 Foundation of Computer Science
PDF
Digital Electronics Notes.pdf
PPTX
number system 1.pptx
PPTX
Types of number system , NUMBER SYSTEMNumber systems are the technique to rep...
PDF
Module 1 Digital Logic Design .pptx.pdf
DLD-Introduction.pptx
21EC201– Digital Principles and system design.pptx
Eln PPT module on electrical and electronics
BEEE - Part B - Unit 3 - Digital Electronics PPT.pptx
Number system and their conversion
BEEE - Part B - Unit 3 PPT.ppt DL&CO - Unit 1 PPT.ppt
Number systems r002
Chapter 1 digital design.pptx
DL&CO - Unit 1 PPT.ppt DL&CO - Unit 1 PPT.ppt DL&CO - Unit 1 PPT.ppt
Computer Organization and assembly language Computer Organization and assembl...
basic electronics MODULE_1_Ch4_AH_01082014.pptx
Boolean Algebra Arithmetic SIG UNSIGN.ppt
Finite word length effects
2. Computer_Organization_unit_ 1_win.ppt
JPC#8 Foundation of Computer Science
Digital Electronics Notes.pdf
number system 1.pptx
Types of number system , NUMBER SYSTEMNumber systems are the technique to rep...
Module 1 Digital Logic Design .pptx.pdf
Ad

More from International Institute of Information Technology (I²IT) (20)

PPTX
Understanding Natural Language Processing
PPTX
Professional Ethics & Etiquette: What Are They & How Do I Get Them?
PPTX
Writing Skills: Importance of Writing Skills
PPTX
Professional Communication | Introducing Oneself
PPTX
PPTX
What Is Jenkins? Features and How It Works
PPTX
Data Science, Big Data, Data Analytics
PPTX
PPTX
Difference Between AI(Artificial Intelligence), ML(Machine Learning), DL (Dee...
PPTX
Sentiment Analysis in Machine Learning
PPT
Importance of Theory of Computations
PPT
Java as Object Oriented Programming Language
PPTX
PPTX
Data Visualization - How to connect Microsoft Forms to Power BI
Understanding Natural Language Processing
Professional Ethics & Etiquette: What Are They & How Do I Get Them?
Writing Skills: Importance of Writing Skills
Professional Communication | Introducing Oneself
What Is Jenkins? Features and How It Works
Data Science, Big Data, Data Analytics
Difference Between AI(Artificial Intelligence), ML(Machine Learning), DL (Dee...
Sentiment Analysis in Machine Learning
Importance of Theory of Computations
Java as Object Oriented Programming Language
Data Visualization - How to connect Microsoft Forms to Power BI

Recently uploaded (20)

PPTX
Fundamentals of safety and accident prevention -final (1).pptx
PPTX
UNIT 4 Total Quality Management .pptx
PDF
Visual Aids for Exploratory Data Analysis.pdf
PDF
EXPLORING LEARNING ENGAGEMENT FACTORS INFLUENCING BEHAVIORAL, COGNITIVE, AND ...
PDF
Artificial Superintelligence (ASI) Alliance Vision Paper.pdf
PDF
Level 2 – IBM Data and AI Fundamentals (1)_v1.1.PDF
PPT
INTRODUCTION -Data Warehousing and Mining-M.Tech- VTU.ppt
PDF
UNIT no 1 INTRODUCTION TO DBMS NOTES.pdf
PDF
PREDICTION OF DIABETES FROM ELECTRONIC HEALTH RECORDS
PPT
Introduction, IoT Design Methodology, Case Study on IoT System for Weather Mo...
PPTX
Artificial Intelligence
PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
PPTX
Current and future trends in Computer Vision.pptx
PDF
Analyzing Impact of Pakistan Economic Corridor on Import and Export in Pakist...
PPT
Occupational Health and Safety Management System
PPTX
6ME3A-Unit-II-Sensors and Actuators_Handouts.pptx
PDF
SMART SIGNAL TIMING FOR URBAN INTERSECTIONS USING REAL-TIME VEHICLE DETECTI...
PPT
Total quality management ppt for engineering students
PPT
A5_DistSysCh1.ppt_INTRODUCTION TO DISTRIBUTED SYSTEMS
PPTX
Fundamentals of Mechanical Engineering.pptx
Fundamentals of safety and accident prevention -final (1).pptx
UNIT 4 Total Quality Management .pptx
Visual Aids for Exploratory Data Analysis.pdf
EXPLORING LEARNING ENGAGEMENT FACTORS INFLUENCING BEHAVIORAL, COGNITIVE, AND ...
Artificial Superintelligence (ASI) Alliance Vision Paper.pdf
Level 2 – IBM Data and AI Fundamentals (1)_v1.1.PDF
INTRODUCTION -Data Warehousing and Mining-M.Tech- VTU.ppt
UNIT no 1 INTRODUCTION TO DBMS NOTES.pdf
PREDICTION OF DIABETES FROM ELECTRONIC HEALTH RECORDS
Introduction, IoT Design Methodology, Case Study on IoT System for Weather Mo...
Artificial Intelligence
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
Current and future trends in Computer Vision.pptx
Analyzing Impact of Pakistan Economic Corridor on Import and Export in Pakist...
Occupational Health and Safety Management System
6ME3A-Unit-II-Sensors and Actuators_Handouts.pptx
SMART SIGNAL TIMING FOR URBAN INTERSECTIONS USING REAL-TIME VEHICLE DETECTI...
Total quality management ppt for engineering students
A5_DistSysCh1.ppt_INTRODUCTION TO DISTRIBUTED SYSTEMS
Fundamentals of Mechanical Engineering.pptx

Basics of Digital Electronics

  • 1. Basics of Digital ElectronicsBasics of Digital Electronics Prof.Anjali JagtapProf.Anjali Jagtap anjalij@isquareit.edu.inanjalij@isquareit.edu.in Prof.Anjali JagtapProf.Anjali Jagtap anjalij@isquareit.edu.inanjalij@isquareit.edu.in Department of Electronics andTelecommunicationDepartment of Electronics andTelecommunication International Institute of InformationTechnology,International Institute of InformationTechnology, PunePune –– 411057411057
  • 2. Digital SignalsDigital Signals An electrical signal with two discrete levels (high and low) Two discrete levels are represented by binary digits 0 and 1 referred as Binary number system. Gorge Boole introduced binary number system with algebra developed “Boolean Algebra” Represented in two different ways • Positive logic system • Negative logic system
  • 3. Digital system typesDigital system types Combinational logic system/circuits • An output at any instant depends only on inputs applied at that instant. • Example – Adder, subtractor, Comparator etc • Basic building block – logic gates Sequential logic system/circuits • An output at any instant depends only on inputs applied at that instant as well as on past inputs/outputs. • Example – counters, sequence generator/ detector etc • Requires memory • Basic building block – Flips and logic gates
  • 4. Logic GatesLogic Gates Basic logic gates • AND gate • Logical Multiplication • Two input gate shown
  • 5. Basic logic gates •OR gate • Logical Addition • Two input gate shown •NOT/Inversion gate • Logical inversion • Single input single output gate
  • 6. ••Universal logic gatesUniversal logic gates • NAND gate • Two input gate shown • NOR gate • Two input gate shown
  • 7. ••Special gatesSpecial gates • Ex-OR gate • Two input gate shown • Ex-NOR gate • Two input gate shown
  • 8. Boolean AlgebraBoolean Algebra Mathematician George Boole developed rules for manipulation of binary variables. Rules : • A+0=A • A+1=1• A+1=1 • A+A=A • A+A’=1 • A.0=0 • A.1=A • A.A=A • A.A’=0 • A.(B+C)=AB+AC
  • 9. Boolean AlgebraBoolean Algebra • A+BC=(A+B).(A+C) • A+A.B=A • A.(A+B)=A • A+A’.B=A+B • A.(A’+B)=A.B • A.B+A’.B’=A • (A+B).(A+B’)=A • A.B+A.C’=(A+C).(A’+B) • (A+B).(A’+C)=AC+A’B • AB+A’C+BC=AB+A’C • (A+b).(A’+C).(B+C)=(A+B).(A’+C)
  • 10. De Morgan’s TheoremDe Morgan’s Theorem • (A.B)’=A’+B’ • (A+B)’=A’.B’
  • 11. Number SystemNumber System Number System Base or radix Symbols used (di or d-f) Weight assigned to position Example i -f Binary 2 0,1 2i 2-f 10101.10 Octal 8 0,1,2,3,4,5,6,7 8i 8-f 3547.25 Decimal 10 0,1,2,3,4,5,6,7 ,8,9 10i 10-f 974.27 Hexadecimal 16 0,1,2,3,4,5,6,7 ,8,9,A,B,C,D, E,F 16i 16-f FA9.46
  • 12. Quantities/CountingQuantities/Counting Decimal Binary Octal Hexadecimal 0 0000 00 0 1 0001 01 1 2 0010 02 2 3 0011 03 3 4 0100 04 4 5 0101 05 5 6 0110 06 6 7 0111 07 7 8 1000 10 8 9 1001 11 9 10 1010 12 A 11 1011 13 B 12 1100 14 C 13 1101 15 D 14 1110 16 E 16 1111 17 F
  • 13. Number System conversionNumber System conversion •Binary to decimal • Multiply each bit by 2n, n is the “weight” of the bit • The weight is the position of the bit, starting from 0 on the right • Add the results• Add the results Example (110101)2 = ( )10 = 1x25+1x24+0x23+1x22+0x21+1x20 = 32+16+0+4+0+1 = (53)10
  • 14. Number System conversionNumber System conversion •Binary to octal • Group bits in threes, starting on right • Convert to octal number ExampleExample (110101)2 = ( )8 = 110 101 = 6 5 = (65)8
  • 15. Number System conversionNumber System conversion •Binary to hexadecimal • Group bits in fours, starting on right • Convert to hexadecimal number ExampleExample (110101)2 = ( )16 = 11 0101 = 0011 0101 = (35)16
  • 16. Number System conversionNumber System conversion •Decimal to binary • Divide by two, keep track of the remainder • First remainder is bit 0 (LSB, least-significant bit) • Second remainder is bit 1Group bits in fours, starting on right Example (53) = ( )(53)10 = ( )2 = (110101)2
  • 17. Number System conversionNumber System conversion •Decimal to octal • Divide by eight, keep track of the remainder • First remainder is bit 0 (LSB, least-significant bit) • Second remainder is bit 1Group bits in fours, starting on rightstarting on right Example (53)10 = ( )8 = (65)8
  • 18. Number System conversionNumber System conversion •Decimal to hexadecimal • Divide by 16, keep track of the remainder • First remainder is bit 0 (LSB, least-significant bit) • Second remainder is bit 1Group bits in fours, starting on right Example (53) = ( )(53)10 = ( )16 = = (35)16 `
  • 19. Number System conversionNumber System conversion •Octal to binary • Convert each octal digit to a 3-bit equivalent binary representation ExampleExample (65)8 = ( )2 = 110 101 = (110101)2
  • 20. Number System conversionNumber System conversion •Octal to decimal • Multiply each bit by 8n, n is the “weight” of the bit • The weight is the position of the bit, starting from 0 on the right • Add the results• Add the results Example (65)8 = ( )10 = 6x81+5x80 = 48+5 = (53)10
  • 21. Number System conversionNumber System conversion •Octal to hexadecimal • Use binary as an intermediary. Example (65)8 = ( )16(65)8 = ( )16 = 110 101 = 11 0101 = 0011 0101 = (35)16
  • 22. Number System conversionNumber System conversion •Hexadecimal to binary • Convert each hexadecimal digit to a 4-bit equivalent binary representation. ExampleExample (6A)16 = ( )2 = 0110 1010 = (1101010)2
  • 23. Number System conversionNumber System conversion •Hexadecimal to octal • Use binary as an intermediary. Example (6A)16 = ( )8(6A)16 = ( )8 = 0110 1010 = 1 101 010 = 001 101 010 = (152)8
  • 24. Number System conversionNumber System conversion •Hexadecimal to decimal • Multiply each bit by 8n, n is the “weight” of the bit • The weight is the position of the bit, starting from 0 on the right • Add the results ExampleExample (6A)16 = ( )10 = 6x161+Ax160 = 6x161+10x160 = 96 + 10 = (106)10
  • 25. Complement representationComplement representation • One’s complement format • In binary number system, each bit is complimented. Example (0100101)2 = (1011010) one’s complement form • Two’s complement format• Two’s complement format • In binary number system, each bit is complimented and binary 1 is added. • Used to represent negative number. Example (0100101)2 = (90)10 = (1011010)2 one’s complement form = (1011010 + 1)2 = (1011011)2 = (-90)10 2’s complement