0% found this document useful (0 votes)
672 views12 pages

Verification of Truth Tables For Logic Gates (Alarm or Buzzer Application)

This document summarizes an experiment to verify the truth tables of various logic gates using LTspice simulation software. It describes the basic AND, OR, NOT, NAND, NOR, XOR and XNOR gates. It provides the circuit diagrams and symbol representations for each gate, along with their respective truth tables. The document then shows the LTspice schematic diagrams and output waveforms for each gate, verifying their truth tables. It concludes with two examples of applications of logic gates in alarm/sensor circuits.

Uploaded by

Surya Sunder
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
672 views12 pages

Verification of Truth Tables For Logic Gates (Alarm or Buzzer Application)

This document summarizes an experiment to verify the truth tables of various logic gates using LTspice simulation software. It describes the basic AND, OR, NOT, NAND, NOR, XOR and XNOR gates. It provides the circuit diagrams and symbol representations for each gate, along with their respective truth tables. The document then shows the LTspice schematic diagrams and output waveforms for each gate, verifying their truth tables. It concludes with two examples of applications of logic gates in alarm/sensor circuits.

Uploaded by

Surya Sunder
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 12

Verification of Truth tables for Logic gates

(Alarm or Buzzer Application)


Date: 5/10/2020 Name: S Surya
Experiment No: 1 Reg. No: 20BCE1071

Aim: To study about logic gates and verify its truth tables.

Software Used: LTspice software 

Theory and Circuit Diagram:


The circuit that takes the logical decision and the process is called logic gates.
Each gate has one or more input and only one output. OR, AND and NOT are
basic gates. NAND and NOR are known as universal gates. Basic gates are
formed from these gates.

AND Gate:
The AND gate performs a logical multiplication commonly known as AND
function. The output is high when both the inputs are high. The output is low
level when any one of the inputs is low.

OR Gate:
The OR gate performs a logical addition commonly known as the OR function.
The output is high when any one of the inputs is high. The output is low level
when both the inputs are low.

NOT GATE:
The NOT gate is called an inverter. The output is high when the input is low.
The output is low when the input is high.

NAND GATE:
The NAND gate is a contraction of AND-NOT. The output is high when both
inputs are low and any one of the inputs is low. The output is low level when
both inputs are high.
NOR GATE:
The NOR gate is a contraction of OR-NOT. The output is high when both inputs
are low. The output is low when one or both inputs are high.

XOR GATE:
The output is high when any one of the inputs is high. The output is low when
both the inputs are low and both the inputs are high.
Circuit Diagram:
AND Gate:
SYMBOL: PIN DIAGRAM:

OR GATE:
NOT GATE:

SYMBOL: PIN DIAGRAM:

X-OR GATE :

SYMBOL : PIN DIAGRAM :


NOR GATE:

TRUTH TABLE

Input A Input B Output


0 0 1
0 1 0
1 0 0
1 1 0

NAND gate

SYMBOL: PIN DIAGRAM :

TRUTH TABLE
Input A Input B Output
0 0 1
0 1 1
1 0 1
1 1 0

X-NOR gate
SYMBOL : PIN DIAGRAM :

TRUTH TABLE

Input A Input B Output


0 0 1
0 1 0
1 0 0
1 1 1

Results:

1) NAND gate
Schematic diagram:

Waveforms:
2) AND gate
Schematic diagram:
Waveforms:

3) NOR gate
Schematic diagram:

Waveforms:
4) OR
Schematic diagram:

Waveforms:
5) NOT
Schematic diagram:

Waveforms:
6) XOR
Schematic diagram:

Waveforms:

7) XNOR
Schematic diagram:
Waveforms:

Results and Inferences:


Thus, the circuit connections for various gates are constructed using LTspice
software and its truth table for all the logic gates are verified with obtained
waveforms.
Practical Applications 
1. In hospitals, babies sometimes need to be kept warm in incubators for a
period of time after birth. Design a system that will sound an alarm if the
incubator gets too cold.

Solution: Input(s): Thermistor


Output: Buzzer
Process: Inverter
The Thermistor will send a positive result when it is warm, we want a positive
result when it is cold...thus the solution would be to 'reverse' the default
output of the Thermistor so that the buzzer will turn 'on' when the Thermistor
'reads' cold.

2. Ornithology deals with the study of birds. When photographing these


creatures, one needs to be very careful not to scare them. Design a remote
camera shutter release that will be activated when the birds land on a feeding
table. The camera should only work during daylight hours.
Solution: Input(s): Photocell and Push Button Switch
Output: Camera
Process: 'AND' Gate

Course Outcome  
CO4: Design and implement various digital circuits
Student Learning Outcomes (SLO):   
SLO9. Having problem solving ability- solving social issues and engineering
problems  

You might also like