01 DigitalElectronics Basics
01 DigitalElectronics Basics
DIGITAL ELECTRONICS
Introduction
S L
OPEN OFF
CLOSED ON
S L
0 0
1 1
A simple binary arrangement
A truth table
A binary arrangement with two switches in series
L = S1 AND S2
A binary arrangement with two switches in parallel
L = S1 OR S2
Three switches in series
L = S1 AND S2 AND S3
Three switches in parallel
L = S1 OR S2 OR S3
A series/parallel arrangement
Boolean Constants
– these are ‘0’ (false) and ‘1’ (true)
Boolean Variables
– variables that can only take the vales ‘0’ or ‘1’
Boolean Functions
– each of the logic functions (such as AND, OR and
NOT) are represented by symbols as described above
Boolean Theorems
– a set of identities and laws – . text for details
Boolean identities
AND Function OR Function NOT function
00=0 0+0=0 0 1
01=0 0+1=1 1 0
10=0 1+0=1 A A
11=1 1+1=1
A0=0 A+0=A
0A=0 0+A=A
A1=A A+1=1
1A=A 1+A=1
AA=A A+A=A
A A 0 A A 1
Boolean Algebra
Dual of a Boolean Expression
Boolean Operator Precedence
ASCII code
– American Standard Code for Information Interchange
– an alphanumeric code
– each character represented by a 7-bit code
gives 128 possible characters
codes defined for upper and lower-case alphabetic characters,
digits 0 – 9, punctuation marks and various non-printing
control characters (such as carriage-return and backspace)
Numeric and Alphabetic Codes