You are on page 1of 24

Logic Gates

Logic Gate AND

A B
Bulb

Power
Supply

2/6/2015 Mr.Pravin Shirke 2


Logic Gate AND

A B
Bulb

Power
Supply

2/6/2015 Mr.Pravin Shirke 3


Logic Gate AND

A B
Bulb

Power
Supply

2/6/2015 Mr.Pravin Shirke 4


Logic Gate AND

A B
Bulb

Power
Supply

2/6/2015 Mr.Pravin Shirke 5


Logic Gate AND

A B
Bulb

Power
Supply

2/6/2015 Mr.Pravin Shirke 6


Logic Gate AND

A B
Bulb

Power
Supply

2/6/2015 Mr.Pravin Shirke 7


Logic Gate AND

A B
Bulb

Power
Supply

Output of AND Logic Gate is High when Both


Inputs (A & B Switch )at are High (Closed).

2/6/2015 Mr.Pravin Shirke 8


Logic Gate AND
From above Fig.

Switch A Switch B Bulb


OFF OFF
ON OFF
OFF ON
ON ON

2/6/2015 Mr.Pravin Shirke 9


Logic Gate AND
Logical Expression: A
Y=A.B
A and B = A.B =Y B

Truth Table

Input A Input B Y=A.B


0 0 0
0 1 0
1 0 0
1 1 1
2/6/2015 Mr.Pravin Shirke 10
Logic Gate OR
A

B
Bulb

Power
Supply

2/6/2015 Mr.Pravin Shirke 11


Logic Gate OR
A

B
Bulb

Power
Supply

2/6/2015 Mr.Pravin Shirke 12


Logic Gate OR
A

B
Bulb

Power
Supply

2/6/2015 Mr.Pravin Shirke 13


Logic Gate OR
A

B
Bulb

Power
Supply

2/6/2015 Mr.Pravin Shirke 14


Logic Gate OR
A

B
Bulb

Power
Supply

2/6/2015 Mr.Pravin Shirke 15


Logic Gate OR
A

B
Bulb

Power
Supply

2/6/2015 Mr.Pravin Shirke 16


Logic Gate OR
A

B
Bulb

Power
Supply

Output of OR Logic Gate is Low when Both Inputs


(A & B Switch ) are Low (Open).

2/6/2015 Mr.Pravin Shirke 17


Logic Gate OR
From above Fig.

Switch A Switch B Bulb


OFF OFF
ON OFF
OFF ON
ON ON

2/6/2015 Mr.Pravin Shirke 18


Logic Gate OR
Logical Expression: A
Y=A.B
A Or B = A+B =Y B

Truth Table

Input A Input B Y=A.B


0 0 0
0 1 1
1 0 1
1 1 1
2/6/2015 Mr.Pravin Shirke 19
Logic Gate NOT

Bulb
A

Power
Supply

2/6/2015 Mr.Pravin Shirke 20


Logic Gate NOT

Bulb
A

Power
Supply

2/6/2015 Mr.Pravin Shirke 21


Logic Gate NOT

Bulb
A

Power
Supply

2/6/2015 Mr.Pravin Shirke 22


Logic Gate NOT
From above Fig.

Switch A Bulb
OFF
ON

2/6/2015 Mr.Pravin Shirke 23


Logic Gate NOT
Logical Expression: A Y=A
Y= A

Truth Table

Input A Y=A
0 1
1 0
2/6/2015 Mr.Pravin Shirke 24

You might also like