SlideShare a Scribd company logo
1 of 26
Download to read offline
Basics of Digital Electronics
Prof.Anjali Jagtap
anjalij@isquareit.edu.in
Department of Electronics andTelecommunication
International Institute of InformationTechnology,
Pune – 411057
Hope Foundation's International Institute of InformationTechnology, I²IT, P-14, Rajiv Gandhi Infotech Park, MIDC Phase 1,
Hinjawadi, Pune - 411 057.Tel - +91 20 22933441 / 2 / 3 | www.isquareit.edu.in | info@isquareit.edu.in
Digital 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
Hope Foundation's International Institute of InformationTechnology, I²IT, P-14, Rajiv Gandhi Infotech Park, MIDC
Phase 1, Hinjawadi, Pune - 411 057.Tel - +91 20 22933441 / 2 / 3 | www.isquareit.edu.in | info@isquareit.edu.in
Digital 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
Hope Foundation's International Institute of InformationTechnology, I²IT, P-14, Rajiv Gandhi Infotech Park, MIDC
Phase 1, Hinjawadi, Pune - 411 057.Tel - +91 20 22933441 / 2 / 3 | www.isquareit.edu.in | info@isquareit.edu.in
Logic Gates
Basic logic gates
• AND gate
• Logical Multiplication
• Two input gate shown
Hope Foundation's International Institute of InformationTechnology, I²IT, P-14, Rajiv Gandhi Infotech Park, MIDC
Phase 1, Hinjawadi, Pune - 411 057.Tel - +91 20 22933441 / 2 / 3 | www.isquareit.edu.in | info@isquareit.edu.in
Basic logic gates
•OR gate
• Logical Addition
• Two input gate shown
•NOT/Inversion gate
• Logical inversion
• Single input single output gate
Hope Foundation's International Institute of InformationTechnology, I²IT, P-14, Rajiv Gandhi Infotech Park, MIDC
Phase 1, Hinjawadi, Pune - 411 057.Tel - +91 20 22933441 / 2 / 3 | www.isquareit.edu.in | info@isquareit.edu.in
•Universal logic gates
• NAND gate
• Two input gate shown
• NOR gate
• Two input gate shown
Hope Foundation's International Institute of InformationTechnology, I²IT, P-14, Rajiv Gandhi Infotech Park, MIDC
Phase 1, Hinjawadi, Pune - 411 057.Tel - +91 20 22933441 / 2 / 3 | www.isquareit.edu.in | info@isquareit.edu.in
•Special gates
• Ex-OR gate
• Two input gate shown
• Ex-NOR gate
• Two input gate shown
Hope Foundation's International Institute of InformationTechnology, I²IT, P-14, Rajiv Gandhi Infotech Park, MIDC
Phase 1, Hinjawadi, Pune - 411 057.Tel - +91 20 22933441 / 2 / 3 | www.isquareit.edu.in | info@isquareit.edu.in
Boolean Algebra
Mathematician George Boole developed
rules for manipulation of binary variables.
Rules :
• A+0=A
• 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
Hope Foundation's International Institute of InformationTechnology, I²IT, P-14, Rajiv Gandhi Infotech Park, MIDC
Phase 1, Hinjawadi, Pune - 411 057.Tel - +91 20 22933441 / 2 / 3 | www.isquareit.edu.in | info@isquareit.edu.in
Boolean 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)
Hope Foundation's International Institute of InformationTechnology, I²IT, P-14, Rajiv Gandhi Infotech Park, MIDC
Phase 1, Hinjawadi, Pune - 411 057.Tel - +91 20 22933441 / 2 / 3 | www.isquareit.edu.in | info@isquareit.edu.in
De Morgan’s Theorem
• (A.B)’=A’+B’
• (A+B)’=A’.B’
Hope Foundation's International Institute of InformationTechnology, I²IT, P-14, Rajiv Gandhi Infotech Park, MIDC
Phase 1, Hinjawadi, Pune - 411 057.Tel - +91 20 22933441 / 2 / 3 | www.isquareit.edu.in | info@isquareit.edu.in
Number 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
Hope Foundation's International Institute of InformationTechnology, I²IT, P-14, Rajiv Gandhi Infotech Park, MIDC
Phase 1, Hinjawadi, Pune - 411 057.Tel - +91 20 22933441 / 2 / 3 | www.isquareit.edu.in | info@isquareit.edu.in
Quantities/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
Hope Foundation's International Institute of InformationTechnology, I²IT, P-14, Rajiv Gandhi Infotech Park, MIDC
Phase 1, Hinjawadi, Pune - 411 057.Tel - +91 20 22933441 / 2 / 3 | www.isquareit.edu.in | info@isquareit.edu.in
Number 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
Example
(110101)2 = ( )10
= 1x25+1x24+0x23+1x22+0x21+1x20
= 32+16+0+4+0+1
= (53)10
Hope Foundation's International Institute of InformationTechnology, I²IT, P-14, Rajiv Gandhi Infotech Park, MIDC
Phase 1, Hinjawadi, Pune - 411 057.Tel - +91 20 22933441 / 2 / 3 | www.isquareit.edu.in | info@isquareit.edu.in
Number System conversion
•Binary to octal
• Group bits in threes, starting on right
• Convert to octal number
Example
(110101)2 = ( )8
= 110 101
= 6 5
= (65)8
Hope Foundation's International Institute of InformationTechnology, I²IT, P-14, Rajiv Gandhi Infotech Park, MIDC
Phase 1, Hinjawadi, Pune - 411 057.Tel - +91 20 22933441 / 2 / 3 | www.isquareit.edu.in | info@isquareit.edu.in
Number System conversion
•Binary to hexadecimal
• Group bits in fours, starting on right
• Convert to hexadecimal number
Example
(110101)2 = ( )16
= 11 0101
= 0011 0101
= (35)16
Hope Foundation's International Institute of InformationTechnology, I²IT, P-14, Rajiv Gandhi Infotech Park, MIDC
Phase 1, Hinjawadi, Pune - 411 057.Tel - +91 20 22933441 / 2 / 3 | www.isquareit.edu.in | info@isquareit.edu.in
Number 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)10 = ( )2
= (110101)2
Hope Foundation's International Institute of InformationTechnology, I²IT, P-14, Rajiv Gandhi Infotech Park, MIDC
Phase 1, Hinjawadi, Pune - 411 057.Tel - +91 20 22933441 / 2 / 3 | www.isquareit.edu.in | info@isquareit.edu.in
Number 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 right
Example
(53)10 = ( )8
= (65)8
Hope Foundation's International Institute of InformationTechnology, I²IT, P-14, Rajiv Gandhi Infotech Park, MIDC
Phase 1, Hinjawadi, Pune - 411 057.Tel - +91 20 22933441 / 2 / 3 | www.isquareit.edu.in | info@isquareit.edu.in
Number 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)10 = ( )16
=
= (35)16 `
Hope Foundation's International Institute of InformationTechnology, I²IT, P-14, Rajiv Gandhi Infotech Park, MIDC
Phase 1, Hinjawadi, Pune - 411 057.Tel - +91 20 22933441 / 2 / 3 | www.isquareit.edu.in | info@isquareit.edu.in
Number System conversion
•Octal to binary
• Convert each octal digit to a 3-bit equivalent
binary representation
Example
(65)8 = ( )2
= 110 101
= (110101)2
Hope Foundation's International Institute of InformationTechnology, I²IT, P-14, Rajiv Gandhi Infotech Park, MIDC
Phase 1, Hinjawadi, Pune - 411 057.Tel - +91 20 22933441 / 2 / 3 | www.isquareit.edu.in | info@isquareit.edu.in
Number 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
Example
(65)8 = ( )10
= 6x81+5x80
= 48+5
= (53)10
Hope Foundation's International Institute of InformationTechnology, I²IT, P-14, Rajiv Gandhi Infotech Park, MIDC
Phase 1, Hinjawadi, Pune - 411 057.Tel - +91 20 22933441 / 2 / 3 | www.isquareit.edu.in | info@isquareit.edu.in
Number System conversion
•Octal to hexadecimal
• Use binary as an intermediary.
Example
(65)8 = ( )16
= 110 101
= 11 0101
= 0011 0101
= (35)16
Hope Foundation's International Institute of InformationTechnology, I²IT, P-14, Rajiv Gandhi Infotech Park, MIDC
Phase 1, Hinjawadi, Pune - 411 057.Tel - +91 20 22933441 / 2 / 3 | www.isquareit.edu.in | info@isquareit.edu.in
Number System conversion
•Hexadecimal to binary
• Convert each hexadecimal digit to a 4-bit
equivalent binary representation.
Example
(6A)16 = ( )2
= 0110 1010
= (1101010)2
Hope Foundation's International Institute of InformationTechnology, I²IT, P-14, Rajiv Gandhi Infotech Park, MIDC
Phase 1, Hinjawadi, Pune - 411 057.Tel - +91 20 22933441 / 2 / 3 | www.isquareit.edu.in | info@isquareit.edu.in
Number System conversion
•Hexadecimal to octal
• Use binary as an intermediary.
Example
(6A)16 = ( )8
= 0110 1010
= 1 101 010
= 001 101 010
= (152)8
Hope Foundation's International Institute of InformationTechnology, I²IT, P-14, Rajiv Gandhi Infotech Park, MIDC
Phase 1, Hinjawadi, Pune - 411 057.Tel - +91 20 22933441 / 2 / 3 | www.isquareit.edu.in | info@isquareit.edu.in
Number 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
Example
(6A)16 = ( )10
= 6x161+Ax160
= 6x161+10x160
= 96 + 10
= (106)10
Hope Foundation's International Institute of InformationTechnology, I²IT, P-14, Rajiv Gandhi Infotech Park, MIDC
Phase 1, Hinjawadi, Pune - 411 057.Tel - +91 20 22933441 / 2 / 3 | www.isquareit.edu.in | info@isquareit.edu.in
Complement 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
• 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
Hope Foundation's International Institute of InformationTechnology, I²IT, P-14, Rajiv Gandhi Infotech Park, MIDC
Phase 1, Hinjawadi, Pune - 411 057.Tel - +91 20 22933441 / 2 / 3 | www.isquareit.edu.in | info@isquareit.edu.in
ThankYou
For further information please contact
Prof.Anjali Jagtap
Department of Electronics & Telecommunication Engineering
Hope Foundation’s
International Institute of Information Technology, I²IT
Hinjawadi, Pune – 411 057
Phone - +91 20 22933441
www.isquareit.edu.in | anjalij@isquareit.edu.in
Hope Foundation's International Institute of InformationTechnology, I²IT, P-14, Rajiv Gandhi Infotech Park, MIDC
Phase 1, Hinjawadi, Pune - 411 057.Tel - +91 20 22933441 / 2 / 3 | www.isquareit.edu.in | info@isquareit.edu.in

More Related Content

What's hot

What's hot (20)

Synchronous counters
Synchronous countersSynchronous counters
Synchronous counters
 
Logic gate
Logic gateLogic gate
Logic gate
 
Parity Generator and Parity Checker
Parity Generator and Parity CheckerParity Generator and Parity Checker
Parity Generator and Parity Checker
 
Encoder decoder
Encoder decoderEncoder decoder
Encoder decoder
 
Ripple Carry Adder
Ripple Carry AdderRipple Carry Adder
Ripple Carry Adder
 
Adders(half aders and full adder with explanation , truth table and circuit d...
Adders(half aders and full adder with explanation , truth table and circuit d...Adders(half aders and full adder with explanation , truth table and circuit d...
Adders(half aders and full adder with explanation , truth table and circuit d...
 
Octal to binary encoder
Octal to binary encoderOctal to binary encoder
Octal to binary encoder
 
Counters
CountersCounters
Counters
 
Encoder.pptx
Encoder.pptxEncoder.pptx
Encoder.pptx
 
Basic logic gates
Basic logic gatesBasic logic gates
Basic logic gates
 
Coherent and Non-coherent detection of ASK, FSK AND QASK
Coherent and Non-coherent detection of ASK, FSK AND QASKCoherent and Non-coherent detection of ASK, FSK AND QASK
Coherent and Non-coherent detection of ASK, FSK AND QASK
 
Encoder & Decoder
Encoder & DecoderEncoder & Decoder
Encoder & Decoder
 
Sequential circuits in Digital Electronics
Sequential circuits in Digital ElectronicsSequential circuits in Digital Electronics
Sequential circuits in Digital Electronics
 
Electronics: Logic Gates
Electronics: Logic GatesElectronics: Logic Gates
Electronics: Logic Gates
 
Magnitude comparator
Magnitude comparatorMagnitude comparator
Magnitude comparator
 
Combinational circuits
Combinational circuitsCombinational circuits
Combinational circuits
 
Decoders and encoders
Decoders and encodersDecoders and encoders
Decoders and encoders
 
Registers
RegistersRegisters
Registers
 
Codes
CodesCodes
Codes
 
BCD ADDER
BCD ADDER BCD ADDER
BCD ADDER
 

Similar to Basics of Digital Electronics

Similar to Basics of Digital Electronics (20)

Engineering Mathematics & Probability Distributions
Engineering Mathematics & Probability DistributionsEngineering Mathematics & Probability Distributions
Engineering Mathematics & Probability Distributions
 
Engineering Mathematics | Maxima and Minima
Engineering Mathematics | Maxima and MinimaEngineering Mathematics | Maxima and Minima
Engineering Mathematics | Maxima and Minima
 
NP-Complete Problem
NP-Complete Problem NP-Complete Problem
NP-Complete Problem
 
Basics of Computer Graphics
Basics of Computer GraphicsBasics of Computer Graphics
Basics of Computer Graphics
 
Importance of Theory of Computations
Importance of Theory of ComputationsImportance of Theory of Computations
Importance of Theory of Computations
 
Red Black Tree Insertion & Deletion
Red Black Tree Insertion & DeletionRed Black Tree Insertion & Deletion
Red Black Tree Insertion & Deletion
 
Factor Analysis & The Measurement Model
Factor Analysis & The Measurement Model Factor Analysis & The Measurement Model
Factor Analysis & The Measurement Model
 
DAA Introduction to Algorithms & Application
DAA Introduction to Algorithms & ApplicationDAA Introduction to Algorithms & Application
DAA Introduction to Algorithms & Application
 
Design Procedure for an Integrator
Design Procedure for an IntegratorDesign Procedure for an Integrator
Design Procedure for an Integrator
 
Strings in Python
Strings in PythonStrings in Python
Strings in Python
 
Systems Programming & Operating Systems - Overview of LEX-and-YACC
Systems Programming & Operating Systems - Overview of LEX-and-YACCSystems Programming & Operating Systems - Overview of LEX-and-YACC
Systems Programming & Operating Systems - Overview of LEX-and-YACC
 
Engineering Mathematics with Examples and Applications
Engineering Mathematics with Examples and ApplicationsEngineering Mathematics with Examples and Applications
Engineering Mathematics with Examples and Applications
 
Machine Learning: Bias and Variance Trade-off
Machine Learning: Bias and Variance Trade-offMachine Learning: Bias and Variance Trade-off
Machine Learning: Bias and Variance Trade-off
 
AVL Tree Explained
AVL Tree ExplainedAVL Tree Explained
AVL Tree Explained
 
What Is Smart Computing?
What Is Smart Computing?What Is Smart Computing?
What Is Smart Computing?
 
Red Black Tree (and Examples)
Red Black Tree (and Examples)Red Black Tree (and Examples)
Red Black Tree (and Examples)
 
Euler’s Theorem Homogeneous Function Of Two Variables
Euler’s Theorem Homogeneous Function Of  Two VariablesEuler’s Theorem Homogeneous Function Of  Two Variables
Euler’s Theorem Homogeneous Function Of Two Variables
 
Differential Equation - Order Degree
Differential Equation - Order DegreeDifferential Equation - Order Degree
Differential Equation - Order Degree
 
Addition of Two Polynomials
Addition of Two PolynomialsAddition of Two Polynomials
Addition of Two Polynomials
 
Human Computer Interaction - INPUT OUTPUT CHANNELS
Human Computer Interaction - INPUT OUTPUT CHANNELSHuman Computer Interaction - INPUT OUTPUT CHANNELS
Human Computer Interaction - INPUT OUTPUT CHANNELS
 

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

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

Minimization of DFA
Minimization of DFAMinimization of DFA
Minimization of DFA
 
Understanding Natural Language Processing
Understanding Natural Language ProcessingUnderstanding Natural Language Processing
Understanding Natural Language Processing
 
Professional Ethics & Etiquette: What Are They & How Do I Get Them?
Professional Ethics & Etiquette: What Are They & How Do I Get Them?Professional Ethics & Etiquette: What Are They & How Do I Get Them?
Professional Ethics & Etiquette: What Are They & How Do I Get Them?
 
Writing Skills: Importance of Writing Skills
Writing Skills: Importance of Writing SkillsWriting Skills: Importance of Writing Skills
Writing Skills: Importance of Writing Skills
 
Professional Communication | Introducing Oneself
Professional Communication | Introducing Oneself Professional Communication | Introducing Oneself
Professional Communication | Introducing Oneself
 
Servlet: A Server-side Technology
Servlet: A Server-side TechnologyServlet: A Server-side Technology
Servlet: A Server-side Technology
 
What Is Jenkins? Features and How It Works
What Is Jenkins? Features and How It WorksWhat Is Jenkins? Features and How It Works
What Is Jenkins? Features and How It Works
 
Cloud Computing
Cloud ComputingCloud Computing
Cloud Computing
 
Hypothesis-Testing
Hypothesis-TestingHypothesis-Testing
Hypothesis-Testing
 
Data Science, Big Data, Data Analytics
Data Science, Big Data, Data AnalyticsData Science, Big Data, Data Analytics
Data Science, Big Data, Data Analytics
 
Types of Artificial Intelligence
Types of Artificial Intelligence Types of Artificial Intelligence
Types of Artificial Intelligence
 
Difference Between AI(Artificial Intelligence), ML(Machine Learning), DL (Dee...
Difference Between AI(Artificial Intelligence), ML(Machine Learning), DL (Dee...Difference Between AI(Artificial Intelligence), ML(Machine Learning), DL (Dee...
Difference Between AI(Artificial Intelligence), ML(Machine Learning), DL (Dee...
 
Sentiment Analysis in Machine Learning
Sentiment Analysis in  Machine LearningSentiment Analysis in  Machine Learning
Sentiment Analysis in Machine Learning
 
What Is Cloud Computing?
What Is Cloud Computing?What Is Cloud Computing?
What Is Cloud Computing?
 
Introduction To Design Pattern
Introduction To Design PatternIntroduction To Design Pattern
Introduction To Design Pattern
 
Java as Object Oriented Programming Language
Java as Object Oriented Programming LanguageJava as Object Oriented Programming Language
Java as Object Oriented Programming Language
 
What Is High Performance-Computing?
What Is High Performance-Computing?What Is High Performance-Computing?
What Is High Performance-Computing?
 
Data Visualization - How to connect Microsoft Forms to Power BI
Data Visualization - How to connect Microsoft Forms to Power BIData Visualization - How to connect Microsoft Forms to Power BI
Data Visualization - How to connect Microsoft Forms to Power BI
 
Yoga To Fight & Win Against COVID-19
Yoga To Fight & Win Against COVID-19Yoga To Fight & Win Against COVID-19
Yoga To Fight & Win Against COVID-19
 
LR(0) PARSER
LR(0) PARSERLR(0) PARSER
LR(0) PARSER
 

Recently uploaded

High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...srsj9000
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSRajkumarAkumalla
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Dr.Costas Sachpazis
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVRajaP95
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxupamatechverse
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxpranjaldaimarysona
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Christo Ananth
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )Tsuyoshi Horigome
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidNikhilNagaraju
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSSIVASHANKAR N
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxupamatechverse
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxJoão Esperancinha
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 

Recently uploaded (20)

High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptx
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptx
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptxExploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfid
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptx
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
 

Basics of Digital Electronics

  • 1. Basics of Digital Electronics Prof.Anjali Jagtap anjalij@isquareit.edu.in Department of Electronics andTelecommunication International Institute of InformationTechnology, Pune – 411057 Hope Foundation's International Institute of InformationTechnology, I²IT, P-14, Rajiv Gandhi Infotech Park, MIDC Phase 1, Hinjawadi, Pune - 411 057.Tel - +91 20 22933441 / 2 / 3 | www.isquareit.edu.in | info@isquareit.edu.in
  • 2. Digital 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 Hope Foundation's International Institute of InformationTechnology, I²IT, P-14, Rajiv Gandhi Infotech Park, MIDC Phase 1, Hinjawadi, Pune - 411 057.Tel - +91 20 22933441 / 2 / 3 | www.isquareit.edu.in | info@isquareit.edu.in
  • 3. Digital 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 Hope Foundation's International Institute of InformationTechnology, I²IT, P-14, Rajiv Gandhi Infotech Park, MIDC Phase 1, Hinjawadi, Pune - 411 057.Tel - +91 20 22933441 / 2 / 3 | www.isquareit.edu.in | info@isquareit.edu.in
  • 4. Logic Gates Basic logic gates • AND gate • Logical Multiplication • Two input gate shown Hope Foundation's International Institute of InformationTechnology, I²IT, P-14, Rajiv Gandhi Infotech Park, MIDC Phase 1, Hinjawadi, Pune - 411 057.Tel - +91 20 22933441 / 2 / 3 | www.isquareit.edu.in | info@isquareit.edu.in
  • 5. Basic logic gates •OR gate • Logical Addition • Two input gate shown •NOT/Inversion gate • Logical inversion • Single input single output gate Hope Foundation's International Institute of InformationTechnology, I²IT, P-14, Rajiv Gandhi Infotech Park, MIDC Phase 1, Hinjawadi, Pune - 411 057.Tel - +91 20 22933441 / 2 / 3 | www.isquareit.edu.in | info@isquareit.edu.in
  • 6. •Universal logic gates • NAND gate • Two input gate shown • NOR gate • Two input gate shown Hope Foundation's International Institute of InformationTechnology, I²IT, P-14, Rajiv Gandhi Infotech Park, MIDC Phase 1, Hinjawadi, Pune - 411 057.Tel - +91 20 22933441 / 2 / 3 | www.isquareit.edu.in | info@isquareit.edu.in
  • 7. •Special gates • Ex-OR gate • Two input gate shown • Ex-NOR gate • Two input gate shown Hope Foundation's International Institute of InformationTechnology, I²IT, P-14, Rajiv Gandhi Infotech Park, MIDC Phase 1, Hinjawadi, Pune - 411 057.Tel - +91 20 22933441 / 2 / 3 | www.isquareit.edu.in | info@isquareit.edu.in
  • 8. Boolean Algebra Mathematician George Boole developed rules for manipulation of binary variables. Rules : • A+0=A • 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 Hope Foundation's International Institute of InformationTechnology, I²IT, P-14, Rajiv Gandhi Infotech Park, MIDC Phase 1, Hinjawadi, Pune - 411 057.Tel - +91 20 22933441 / 2 / 3 | www.isquareit.edu.in | info@isquareit.edu.in
  • 9. Boolean 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) Hope Foundation's International Institute of InformationTechnology, I²IT, P-14, Rajiv Gandhi Infotech Park, MIDC Phase 1, Hinjawadi, Pune - 411 057.Tel - +91 20 22933441 / 2 / 3 | www.isquareit.edu.in | info@isquareit.edu.in
  • 10. De Morgan’s Theorem • (A.B)’=A’+B’ • (A+B)’=A’.B’ Hope Foundation's International Institute of InformationTechnology, I²IT, P-14, Rajiv Gandhi Infotech Park, MIDC Phase 1, Hinjawadi, Pune - 411 057.Tel - +91 20 22933441 / 2 / 3 | www.isquareit.edu.in | info@isquareit.edu.in
  • 11. Number 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 Hope Foundation's International Institute of InformationTechnology, I²IT, P-14, Rajiv Gandhi Infotech Park, MIDC Phase 1, Hinjawadi, Pune - 411 057.Tel - +91 20 22933441 / 2 / 3 | www.isquareit.edu.in | info@isquareit.edu.in
  • 12. Quantities/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 Hope Foundation's International Institute of InformationTechnology, I²IT, P-14, Rajiv Gandhi Infotech Park, MIDC Phase 1, Hinjawadi, Pune - 411 057.Tel - +91 20 22933441 / 2 / 3 | www.isquareit.edu.in | info@isquareit.edu.in
  • 13. Number 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 Example (110101)2 = ( )10 = 1x25+1x24+0x23+1x22+0x21+1x20 = 32+16+0+4+0+1 = (53)10 Hope Foundation's International Institute of InformationTechnology, I²IT, P-14, Rajiv Gandhi Infotech Park, MIDC Phase 1, Hinjawadi, Pune - 411 057.Tel - +91 20 22933441 / 2 / 3 | www.isquareit.edu.in | info@isquareit.edu.in
  • 14. Number System conversion •Binary to octal • Group bits in threes, starting on right • Convert to octal number Example (110101)2 = ( )8 = 110 101 = 6 5 = (65)8 Hope Foundation's International Institute of InformationTechnology, I²IT, P-14, Rajiv Gandhi Infotech Park, MIDC Phase 1, Hinjawadi, Pune - 411 057.Tel - +91 20 22933441 / 2 / 3 | www.isquareit.edu.in | info@isquareit.edu.in
  • 15. Number System conversion •Binary to hexadecimal • Group bits in fours, starting on right • Convert to hexadecimal number Example (110101)2 = ( )16 = 11 0101 = 0011 0101 = (35)16 Hope Foundation's International Institute of InformationTechnology, I²IT, P-14, Rajiv Gandhi Infotech Park, MIDC Phase 1, Hinjawadi, Pune - 411 057.Tel - +91 20 22933441 / 2 / 3 | www.isquareit.edu.in | info@isquareit.edu.in
  • 16. Number 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)10 = ( )2 = (110101)2 Hope Foundation's International Institute of InformationTechnology, I²IT, P-14, Rajiv Gandhi Infotech Park, MIDC Phase 1, Hinjawadi, Pune - 411 057.Tel - +91 20 22933441 / 2 / 3 | www.isquareit.edu.in | info@isquareit.edu.in
  • 17. Number 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 right Example (53)10 = ( )8 = (65)8 Hope Foundation's International Institute of InformationTechnology, I²IT, P-14, Rajiv Gandhi Infotech Park, MIDC Phase 1, Hinjawadi, Pune - 411 057.Tel - +91 20 22933441 / 2 / 3 | www.isquareit.edu.in | info@isquareit.edu.in
  • 18. Number 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)10 = ( )16 = = (35)16 ` Hope Foundation's International Institute of InformationTechnology, I²IT, P-14, Rajiv Gandhi Infotech Park, MIDC Phase 1, Hinjawadi, Pune - 411 057.Tel - +91 20 22933441 / 2 / 3 | www.isquareit.edu.in | info@isquareit.edu.in
  • 19. Number System conversion •Octal to binary • Convert each octal digit to a 3-bit equivalent binary representation Example (65)8 = ( )2 = 110 101 = (110101)2 Hope Foundation's International Institute of InformationTechnology, I²IT, P-14, Rajiv Gandhi Infotech Park, MIDC Phase 1, Hinjawadi, Pune - 411 057.Tel - +91 20 22933441 / 2 / 3 | www.isquareit.edu.in | info@isquareit.edu.in
  • 20. Number 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 Example (65)8 = ( )10 = 6x81+5x80 = 48+5 = (53)10 Hope Foundation's International Institute of InformationTechnology, I²IT, P-14, Rajiv Gandhi Infotech Park, MIDC Phase 1, Hinjawadi, Pune - 411 057.Tel - +91 20 22933441 / 2 / 3 | www.isquareit.edu.in | info@isquareit.edu.in
  • 21. Number System conversion •Octal to hexadecimal • Use binary as an intermediary. Example (65)8 = ( )16 = 110 101 = 11 0101 = 0011 0101 = (35)16 Hope Foundation's International Institute of InformationTechnology, I²IT, P-14, Rajiv Gandhi Infotech Park, MIDC Phase 1, Hinjawadi, Pune - 411 057.Tel - +91 20 22933441 / 2 / 3 | www.isquareit.edu.in | info@isquareit.edu.in
  • 22. Number System conversion •Hexadecimal to binary • Convert each hexadecimal digit to a 4-bit equivalent binary representation. Example (6A)16 = ( )2 = 0110 1010 = (1101010)2 Hope Foundation's International Institute of InformationTechnology, I²IT, P-14, Rajiv Gandhi Infotech Park, MIDC Phase 1, Hinjawadi, Pune - 411 057.Tel - +91 20 22933441 / 2 / 3 | www.isquareit.edu.in | info@isquareit.edu.in
  • 23. Number System conversion •Hexadecimal to octal • Use binary as an intermediary. Example (6A)16 = ( )8 = 0110 1010 = 1 101 010 = 001 101 010 = (152)8 Hope Foundation's International Institute of InformationTechnology, I²IT, P-14, Rajiv Gandhi Infotech Park, MIDC Phase 1, Hinjawadi, Pune - 411 057.Tel - +91 20 22933441 / 2 / 3 | www.isquareit.edu.in | info@isquareit.edu.in
  • 24. Number 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 Example (6A)16 = ( )10 = 6x161+Ax160 = 6x161+10x160 = 96 + 10 = (106)10 Hope Foundation's International Institute of InformationTechnology, I²IT, P-14, Rajiv Gandhi Infotech Park, MIDC Phase 1, Hinjawadi, Pune - 411 057.Tel - +91 20 22933441 / 2 / 3 | www.isquareit.edu.in | info@isquareit.edu.in
  • 25. Complement 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 • 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 Hope Foundation's International Institute of InformationTechnology, I²IT, P-14, Rajiv Gandhi Infotech Park, MIDC Phase 1, Hinjawadi, Pune - 411 057.Tel - +91 20 22933441 / 2 / 3 | www.isquareit.edu.in | info@isquareit.edu.in
  • 26. ThankYou For further information please contact Prof.Anjali Jagtap Department of Electronics & Telecommunication Engineering Hope Foundation’s International Institute of Information Technology, I²IT Hinjawadi, Pune – 411 057 Phone - +91 20 22933441 www.isquareit.edu.in | anjalij@isquareit.edu.in Hope Foundation's International Institute of InformationTechnology, I²IT, P-14, Rajiv Gandhi Infotech Park, MIDC Phase 1, Hinjawadi, Pune - 411 057.Tel - +91 20 22933441 / 2 / 3 | www.isquareit.edu.in | info@isquareit.edu.in