Electronics
Electronics
This experiment focuses on studying Boolean logic operations using digital integrated circuits (ICs). Boolean
logic serves as the foundation for digital electronics, facilitatin the manipulation and processing of binary
data . The study involves designing and implementing various logic gates such as AND, OR, NOT, NAND,
NOR and other combination using digital ICs. The experiment demonstrate the principles of Boolean
algebra and logic gates in a practical setting. Through hands-on experimentation and analysis, students
can gain a better understanding of how digital ICs perform logical operations and how they can be used in
electronic circuits. The findings from this experiment can help students enhance their knowledge and skills
in digital electronics and logic design.
3. DIP switch
2. To study and verify the De Morgan’s laws us-
4. D.C. Power supply (5V)
ing digital ICs
5. LEDs
6. Breadboard
7. Connecting wires.
2 Introduction
1
ICs, and mixed-signal ICs. called the Indeterminate Region. CMOS logic uses
a different level of voltages with a logic ”1” level
operating between 3 and 15 volts.
1. Digital Integrated Circuits: A digital integrated
circuit (IC) is an electronic device that combines
multiple digital electronic components onto a
small semiconductor chip. These components 4.2.1 NOT Gate
are interconnected to perform specific functions
related to digital logic and signal processing.
A NOT gate is a logic gate that inverts the dig-
ital input signal. For this reason, a NOT gate is
2. Analog Integrated Circuits: An analog circuit sometimes is referred to as an inverter . The logi-
processes continuous signals, representing data as cal symbol for a NOT gate is shown below: If the
varying voltage or current levels. Unlike digital
circuits that use discrete signals (0s and 1s), analog
circuits work with continuous wave forms.
2
4.2.2 AND Gate
for AND gate is IC 7408. One 7408 IC contains a The XOR (exclusive-OR) gate acts in the same way
total of four AND gates. as the logical ”either/or.” The output is true if ei-
ther, but not both, of the inputs are true. The out-
put is false if both inputs are ”false” or if both
inputs are true. The logic symbol for the gate is
shown below: The truth table of the gate is given
4.2.3 OR Gate
3
is IC 7486LS. One 7486 IC contains a total of four
XOR gates.
Figure 12: IC 7486LS for XOR Gate as an inverter, an OR gate or an AND gate. The
symbol for a NOR gate is shown below: The truth
NAND is an abbreviation for “NOT AND.” A two Figure 16: NOR Gate
input NAND gate is a digital combination logic cir-
cuit that performs the logical inverse of an AND table of the gate is given below: The IC available
gate. The symbol for a NAND gate is shown be-
low: The truth table of the gate is given below:
The IC available at the market for NAND gate is Figure 17: Truth table for NOR Gate
IC 7400LS. One 7400 IC contains a total of four Figure 18: IC 7402LS for NOR Gate
NAND gates.
The NOR gate is a combination of the OR gate and A mathematician named De-Morgan developed a
NOT gate. In other words, it is the inverse version pair of important rules regarding group comple-
of the OR gate. The NOR gate and the NAND gate mentation in Boolean algebra. By group comple-
are considered universal gates since any basic op- mentation, I’m referring to the complement of a
erations can be achieved with combinations, such group of terms, represented by a long bar over
4
more than one variable. DeMorgan’s Theorem is 6 Data Table
a fundamental concept in digital logic that relates
the behavior of NAND and NOR gates to their in-
verted counterparts.So, an OR gate with all inputs
inverted (a Negative-OR gate) behaves the same
as a NAND gate, and an AND gate with all inputs
inverted (a Negative-AND gate) behaves the same
as a NOR gate.
(A) Circuit diagram for the De Morgan’s law:
(A + B = A.B)
5 Circuit diagram
Figure 24: OR Gate
5
put when both the input are high . A NOT gate
basically invert the input (single input logic gate).
A NAND gate invert the AND output . A NOR
gate invert the OR output .A XOR gate give high
output if one of the input is high not both . OR ,
AND and NOT gate are called fundamental logic
gate . NAND and NOR gate are called universal
logic gate as any logic gate can be made of these
two . BY using NAND gate AND NOR gate we
also verify the De Morgan’s Law
Figure 26: NAND Gate
9 Precaution
1. We should ensure that the power supply volt-
age matches the specifications of the digital
ICs being used. We should avoid applying
Figure 29: De Morgan’s law(A.B = A + B) excessive voltage or current, as it can damage
the ICs.
6
not overheating, as excessive heat can affect
their performance and lifespan.
10 Reference
1. Fiore, James. Operational Amplifiers and Lin-
ear Integrated Circuits: Theory and Applica-
tion(3rd ed.). Operational amplifier internals.