Electronics Lab For Non Major
Electronics Lab For Non Major
09 Design and analysis of AND gate, OR gate and NOT gate using BJT 34
Resistors
A resistor is a passive two-terminal electrical component that implements electrical
resistance as a circuit element. The current through a resistor is in direct proportion to
the voltage across the resistor's terminals. This relationship is represented by Ohm's
law. It is a device used in electrical circuits to maintain a constant relation between
current flow and voltage.
Circuit Diagram
2
The above resistor has 4 color bands.
The first band represents the first digit.
The second band represent second digit
The third band represent multiplier (this gives the no. of zeros after the 2 digits )
The 4th band represents tolerance in %
N.B. The resistance value can also be measured directly using a Multimeter
Example
The resistor has a color band sequence green, blue, brown and silver. Identify the
resistance value.
3
Capacitors
Capacitors can store energy in the electric field located between plates. They are
commonly used in electronic circuits for storage. They can also be used in filter circuits
to differentiate between high and low-frequency signals. Capacitors can be majorly
classified into Ceramic Capacitors, Electrolytic Capacitors, Mylar capacitors etc.
Inductors
4
such as a wire, usually wound into a coil. When a current flows through it, energy is
stored in a magnetic field in the coil. When the current flowing through an inductor
changes, the time-varying magnetic field induces a voltage in the conductor, according
to Faraday’s law of electromagnetic induction, which by Lenz's law opposes the change
in current that created it.
Inductors, also called coils, can be a bit harder to figure out their values. If they are color
coded, the resources listed for resistors can help, otherwise a good meter that can
measure inductance will be needed.
Diode
In electronics, a diode is an active two-terminal electronic component with unidirectional
conductance, it has low (ideally zero) resistance to current flow in one direction, and
high (ideally infinite) resistance in the other.
5
Transistors
A transistor is a semiconductor device used to amplify and switch electronic signals and
electrical power. It is composed of semiconductor material with at least three terminals
for connection to an external circuit. A voltage or current applied to one pair of the
transistor's terminals changes the current through another pair of terminals. Because
the controlled (output) power can be higher than the controlling (input) power, a
transistor can amplify a signal. The most popular and commonly used transistors are
BC547, 2N2222, and BC557.
6
Digital electronics rely on the actions of just seven types of logic gates, called AND, OR,
NAND (Not AND), NOR (Not OR), XOR (Exclusive OR) XNOR (Exclusive NOR) and NOT.
These can be implemented using the following IC pin diagrams.
7
Breadboard
The breadboard has two basic internal connections, the vertical and horizontal. The
verticals are connected from top to bottom, if 5 volts is placed on the very first pin, 5
volts will be present at the very last pin and any pin in between; this is demonstrated in
Figure 1.2 from red pin to red pin. The horizontal strips are connected by every 5 pins.
Looking at Figure 1.3 pin A1 to E1 are connected internally.
8
Experiment no. 2
Summary
This lab experiment will familiarize you with the operation of basic electrical instruments
commonly used in electrical engineering and electronics. These instruments are
essential for measuring various electrical quantities and analyzing electrical signals.
Learning Objectives
Equipment
Procedures
Part 1: Multimeter
9
1. Identify the controls: Familiarize yourself with the control knobs and buttons of
the multimeter. These typically include a selector switch for different
measurement modes (voltage, current, resistance, etc.), range selectors for
different measurement ranges, and test leads for connecting to the circuit.
2. Measuring Voltage:
○ Set the multimeter to the appropriate DC or AC voltage range based on
the expected voltage you are measuring.
○ Connect the red test lead to the positive terminal and the black test lead to
the negative terminal of the voltage source (or across the desired points in
the circuit).
○ Read the displayed value on the multimeter.
3. Measuring Current:
○ Set the multimeter to the appropriate DC or AC current range based on
the expected current you are measuring.
○ Open the circuit at a convenient point and connect the multimeter in series
with the break. The red lead typically goes to the positive side of the
break.
○ Read the displayed value on the multimeter. Caution: When measuring
current, ensure the selected range is greater than the expected current to
avoid damaging the meter.
4. Measuring Resistance:
○ Set the multimeter to the resistance (Ω) mode.
10
○ Ensure the component being measured (resistor) is disconnected from
any circuit.
○ Touch the test leads to the terminals of the resistor.
○ Read the displayed value on the multimeter. Note that some multimeters
require holding the test leads for a stable reading.
Part 3: Oscilloscope
11
1. Grounding: Connect the ground clip of the oscilloscope probe to a common
ground point in the circuit.
2. Connect the oscilloscope probe tip to the point in the circuit where you want to
observe the waveform.
3. Adjusting the Display:
○ Adjust the vertical scale (Volts/Div) to obtain a clear view of the waveform
on the screen.
○ Adjust the horizontal scale (Time/Div) to observe an appropriate number of
cycles of the waveform.
○ Use the trigger controls to achieve a stable display of the waveform.
4. Signal Observation:
○ Set the signal generator to generate a sinusoidal waveform of a known
frequency (e.g., 1 kHz).
○ Observe the waveform displayed on the oscilloscope screen and measure
the peak-to-peak voltage and frequency using the oscilloscope's graticule
or cursors.
○ Repeat the observation for different waveforms (e.g., square wave,
triangular wave) generated by the signal generator.
1. Familiarize yourself with the controls of the signal generator. These typically
include knobs for setting frequency, amplitude, waveform (sine, square, triangle),
and output impedance.
2. Set the desired frequency, amplitude, and waveform on the signal generator.
3. Connect the output of the signal generator to the oscilloscope using appropriate
leads.
12
4. Observe the generated waveform on the oscilloscope screen and verify that it
matches the settings on the signal generator.
Conclusion
13
Experiment no. 3
Learning Objectives:
Equipment:
● Voltmeter
● Ammeter
● Rheostats
● Connecting wires
● DC Power Supply
Statement:
Thevenin’s theorem states that any linear two-terminal circuit can be replaced by an
equivalent circuit consisting of a voltage source VTh in series with a resistor RTh.
14
Procedure:
The voltage source is denoted by 𝑉TH (thevenin equivalentt voltage), and the resistor by
𝑅𝑇𝐻 (Thevenin resistor). The objective is to evaluate 𝑉TH and 𝑅𝑇𝐻 . The procedure of
obtaining 𝑉TH and 𝑅𝑇𝐻 is stated below for the circuits containing independent sources
only.
● Remove the portion of the circuit external to which the Thevenin’s equivalent
circuit is to be found.
● Compute the voltage across the open-loop terminals. This voltage is 𝑉𝑜𝑐.
● Eliminate all the sources and compute the resistance across the open-loop
terminal. This resistance is 𝑅𝑇𝐻. A voltage source is eliminated by replacing it
with a short circuit and a current source is eliminated by replacing it with an open
circuit.
● Draw the Thevenin equivalent circuit by placing the load resistor across the
open-loop terminal
15
Tabulation:
Calculation:
The value of RL can be calculated using the voltmeter and ammeter readings taken in
step 2 of the procedure of RL = V/I of the procedure
Conclusion:
By comparing the measured and theoretical values, verify the validity of Thevenin’s
16
Experiment no. 4
Learning Objectives:
● Understand Kirchhoff's Current Law (KCL) and Kirchhoff's Voltage Law (KVL).
Equipment:
● DC Power Supply
● Multimeter
● Jumper Wires
Procedure:
17
3. Measuring Branch Currents: Measure the current flowing through each branch
(individual resistors) leading away from the junction (I_1 and I_2). Record these
values in a table.
4. Measuring Current at the Junction: Measure the total current entering the
junction (I_total) by connecting the multimeter in series with the power supply
5. KCL Verification: Compare the sum of the branch currents (I_1 + I_2) with the
total current entering the junction (I_total). According to KCL, these values should
be equal.
1. Circuit Modification: Modify the circuit from Part A like the figure.
18
3. Measuring Individual Voltages: Measure the voltage drop across each resistor
in the closed loop of the circuit (V_R1, V_R2, V_R3). Record these values in a
table.
4. KVL Verification: Add the voltage drops across all the resistors in the closed
loop (V_R1 + V_R3 - V) and (V_R2 - V_R3). According to KVL, the algebraic
Observation Table:
KCL
KVL
19
Data and Calculations:
● In a table, record the measured values of branch currents, total current, and
● Calculate the expected total current based on KCL (sum of branch currents).
● Calculate the expected sum of voltage drops around the closed loop based on
Conclusion:
By comparing the measured and theoretical values, verify the validity of Kirchhoff's
20
Experiment No. 5
Learning Objectives:
Equipment:
● Resistors
● Ammeter
● Connecting wires
● DC Power Supply
Statement:
Superposition theorem states that in a linear bilateral network containing more than one
source, the current flowing through the branch is the algebraic sum of the current
flowing through that branch when sources are considered one at a time and replacing
Procedure:
2. Set a particular voltage value using RPS1 and RPS2 & note down the ammeter
reading
3. Set the same voltage in circuit using RPS1 alone and short circuiting the RPS2
21
4. Set the same voltage in RPS2 alone as in circuit and short circuit the RPS1 and note
22
Observation Table:
Calculation
Measure the current values through the desired node for the three cases and compare it
with the obtained practical results
Conclusion:
23
Experiment no. 6
Learning Objectives:
Equipment:
● Breadboard
● Multimeter
Procedure:
above. The variable load resistor (RL) and fixed resistors (R1, R2 and R3). The
24
internal resistance (Ri) and Vth represent Thevenin’s equivalent resistance and
2. Voltage and Current Measurement: Set the multimeter to measure voltage (DC
3. Variable Load:
○ Adjust the voltage of the DC power supply to a fixed value (e.g., 5V).
○ Measure the voltage across the load resistor (VL) and the current flowing
through the load resistor (IL) for various values of the load resistance (RL)
● For each set of readings, calculate the power delivered to the load resistor (PL)
● Plot a graph of the calculated load power (PL) versus the load resistance (RL).
Analysis:
25
● Identify the point on the graph where the load power reaches its maximum value.
Theoretical Verification:
If the internal resistance of the DC power supply (Ri) is known, calculate the value of the
load resistance for maximum power transfer using the formula: RLmax = Ri. The formula
Conclusion:
By observing the graph and comparing the measured maximum power transfer
resistance (RLmax) with the calculated value (if Ri is known), verify the principle of the
26
Experiment no. 7
Learning Objectives:
Equipment:
● Breadboard
● Diode
● Resistor
● Wires
● Oscilloscope
Theory
A Half Wave Rectifier is a single PN junction diode connected in series to the load
resistor. As you know a diode is to electric current like a one-way valve is to water, it
allows electric current to flow in only one direction. This simply means the diode is
operational when the diode is forward biased while it blocks the current when it is
reversed biased. This property of the diode is very useful in creating simple rectifiers
which are used to convert AC to DC. In Half wave rectification only the positive half
cycle is obtained in output while the negative cycle is discarded.
27
Procedure:
● The input voltage and load resistor (RL) are connected to the two channels of the
peak-to-peak).
○ Connect the oscilloscope probes to the input and output (across the load
4. Analysis:
waveform).
● Record the measured peak-to-peak voltage of the input and output waveforms.
28
Vdc = (VP - Vb) / 𝜋
Where, VP = Peak input voltage and Vb = built-in voltage (0.7V for silicon diode)
must satisfy
Vrms = VP / √2
Observation Table:
Conclusion:
By analyzing the waveforms and DC voltage measurement, verify the operation of the
29
Experiment no. 8
Learning Objectives:
Equipment:
● Breadboard
● Capacitor, C (10µF)
● Oscilloscope
Procedure:
● The output of the bridge rectifier is connected to a load resistor (RL) and then to
the oscilloscope.
30
○ Adjust the amplitude of the output signal to a suitable level (e.g., 5V
peak-to-peak).
○ Connect the oscilloscope probes to the input (across point A and C) and
7. Analysis:
waveform).
○ Modify the circuit by adding a capacitor in parallel with the resistor at the
output.
31
○ Observe the change in the output waveform on the oscilloscope.
● Record the measured peak-to-peak voltage of the input and output waveforms.
Where, VP = Peak input voltage and Vb = built-in voltage (0.7V for silicon diode)
must satisfy
Vrms = VP / √2
32
Observation Table:
Without capacitor:
With capacitor:
Conclusion:
By analyzing the waveforms and DC voltage measurement, verify the operation of the
full wave rectifier circuit in converting AC voltage to pulsating DC voltage. Observe how
the optional capacitor can help smooth out the rectified waveform.
33
Experiment no. 9
Design and analysis of AND gate, OR gate and NOT gate using BJT
Learning Objectives:
● Implement Logic gates (AND, OR, NOT) using Bipolar Junction Transistors
Equipment:
● Breadboard
● Resistors
● Push Buttons
● Power Supply
● Jumper Wires
Theory
The use of transistors for the construction of logic gates depends upon their utility as
fast switches. When enough voltage is applied to the base-emitter junction , the
transistor is turned on i.e. collector voltage with respect to the emitter may be near zero
and can be used to construct gates.
AND gate
For the AND logic, the two npn transistors are in series and both transistors must be in
the conducting state or turned on to drive the output high.
34
Fig-1
OR gate
For the OR logic, the two npn transistors are parallel connected. The output is driven high if
either of the transistors is conducting.
Fig-2
NOT gate
35
A transistor with a collector resistor can serve as an inverter
Fig-3
Procedure
● Give 5V DC power supplies ( two power supplies for AND and OR; one for NOR)
across the base- emitter terminal of the BJT
● Turn on/off the power supplied according to the truth tables. Consider 5V as
binary 1 and 0V as binary 0.
Tabulation
AND gate
36
A B Output
0 0
0 1
1 0
1 1
OR gate
A B Output
0 0
0 1
1 0
1 1
NOT gate
A Output
Conclusion
37
Experiment no. 10
Learning Objectives:
● Verify DeMorgan's Theorem for NOT, AND, and OR gates using digital logic ICs.
Equipment:
● Breadboard
● Logic Gate ICs (e.g., 7404 for NOT gates, 7408 for AND gates, 7432 for OR
gates)
● Jumper Wires
Procedure:
38
● Connect an LED with a current limiting resistor (e.g., 220Ω) to the output of the
inverter.
0 1
1 0
○ Create a table with columns for Input (push button state) and Output (LED
state).
○ Press and hold the push button (Input = LOW). Observe the LED state
○ Release the push button (Input = HIGH). Observe the LED state and
○ Verify that the output of the inverter is the logical inverse of the input
(Output = NOT(Input)).
39
Part B: Verification of DeMorgan's Theorem for AND Gate
● Connect two push buttons (SW1 and SW2) to the inputs of separate AND gate
● Connect the outputs of the AND gates to separate LEDs with current limiting
resistors.
● Connect the inverters (e.g., 7404) to the outputs of the push buttons.
● The inverted outputs of the push buttons are then connected to the inputs of
● Connect the final AND gate's output to another LED with a current limiting
resistor.
● Connect the power supply (Vcc and GND) to all the ICs.
40
Input 1, 𝐴 Input 2, 𝐵 Inverted Inverted Output Output
Input 1, 𝐴 Input 2, 𝐵 LED 1, LED 2, 𝐴*𝐵
𝐴*𝐵
0 0 1 1 0 1
0 1 1 0 0 0
1 0 0 1 0 0
1 1 0 0 1 0
○ Create a truth table with columns for Input 1 (SW1 state), Input 2 (SW2
state), Output of AND gate (LED1), Inverted Input 1, Inverted Input 2, and
○ Operate the push buttons (SW1 and SW2) independently (pressing one at
a time, both pressed, and both released) to explore all possible input
combinations.
○ Observe the state of each LED (LED1 and LED2) and record the
○ In the table, also record the inverted values of Input 1 and Input 2 based
○ Analyze the truth table. You should observe that the output of the final
AND gate (LED2) is only HIGH (logical 1) when both Input 1 and Input 2
41
○ This verifies DeMorgan's Theorem for AND gates: (NOT A) AND (NOT B)
= NOT(A OR B)
0 0 1 1 0 1
0 1 1 0 1 1
1 0 0 1 1 1
1 1 0 0 1 0
42
○ Create a new truth table similar to Part B, but for the OR gate
configuration.
○ Operate the push buttons (SW1 and SW2) and record the output states of
● Analyze the new truth table. You should observe that the output of the OR
NOT(A AND B)
Conclusion:
By analyzing the truth tables for both AND and OR gate configurations, you have
experimentally verified DeMorgan's Theorem. This theorem allows you to simplify logic
expressions by replacing negated combinations (e.g., NOT(A AND B)) with equivalent
expressions using only inverters and non-negated inputs (e.g., (NOT A) OR (NOT B)).
43