Docsity

electronics assignment, Assignments of Electronics

Toggle sidebar
bg1
Department of Physics
Indian Institute of Science Bangalore
Lab Manual
Experiment Name – Digital Electronics
Course Name –
Course Code – PH207
Student Name –
Group Name –
SR No –
Programme –
Course Instructor – Dr. Shubhadeep Biswas
pf3
pf4
pf5
pf8
pf9
pfa

Partial preview of the text

Download electronics assignment and more Assignments Electronics in PDF only on Docsity!

Department of Physics

Indian Institute of Science Bangalore

Lab Manual

Experiment Name – Digital Electronics

Course Name –

Course Code – PH

Student Name –

Group Name –

SR No –

Programme –

Course Instructor – Dr. Shubhadeep Biswas

Aim of the Experiment

  1. Investigate the logic behaviour of AND, OR, NOT, NAND, NOR gates.
  2. To Study and Verify NAND gate as a Universal Gate.
  3. To construct AND, OR, and NOT gates using diodes and transistors and verify their truth tables.

Objectives

1. Logic Gates Verification  To investigate and verify the logical behaviour of basic digital logic gates namely AND, OR, NOT, NAND, NOR, and EX-OR.  To verify the truth tables of the given logic gates through practical implementation.  To understand the functional operation of logic gates using digital ICs.  To correlate theoretical logic expressions with experimental observations. 2. NAND Gate as a Universal Gate  To study the NAND gate and verify its functionality.  To demonstrate that AND, OR, and NOT logic functions can be realized using only NAND gates.  To establish NAND gate as a universal gate.  To reinforce the concept of logic gate simplification and circuit realization using universal gates.

Apparatus Required

Sl. No. Apparatus Specifications Quantity

1 NOR Gate IC SN74LS02N 1 2 NAND Gate IC SN74LS00N 1 3 Fixed Resistors As per Req. 4 LED 1 5 Breadboard 1 6 Connecting Wires As per Req. 7 Battery 9V 1 8 Diode 1N4148 2 9 Transistors MPSA42 n-p-n Transistor 1

Signature of the TA

2. OR Gate An OR gate produces a HIGH (1) output when any one or more inputs are HIGH (1). The output is LOW only when all inputs are LOW. The symbol: Boolean Expression: Y = A + B Truth Table: Input - A Input - B Output - Y 0 0 0 0 1 1 1 0 1 1 1 1 3. NOT Gate A NOT gate is a single-input gate that produces the complement of the input. It is also called an Inverter. The symbol: Boolean Expression: Y = A Truth Table: Input - A Output - Y 0 1 1 0 Derived Logic Gates

Apart from the fundamental gates, there are derived gates formed by combining fundamental gates. These are:  NAND Gate  NOR Gate  XOR Gate  XNOR Gate

4. NAND Gate A NAND gate is a combination of AND gate followed by a NOT gate. It produces a LOW (0) output only when all inputs are HIGH (1). For all other input combinations, the output is HIGH (1). The symbol: IC symbol: Boolean Expression: Y = A ∙ B = A + B Truth Table:

Input - A Input - B Output - Y 0 0 1 0 1 0 1 0 0 1 1 0 Implementation of Logic Gates Using Diodes and Transistors Logic gates can also be constructed using basic electronic components such as diodes, resistors, and transistors. These circuits help in understanding the internal working of digital logic circuits.  Diodes are used to implement OR and AND-gatesTransistor is used to implement NOT gate  Combination of diode and transistor circuits is called Diode-Transistor Logic (DTL) In digital electronics, logic levels are represented as:  Logic 0 → 0 V (LOW)  Logic 1 → 5 V (HIGH) OR Gate Using Diodes Circuit Description The OR gate is constructed using two diodes and one resistor. The anodes of the diodes are connected to the inputs, and the cathodes are connected together to form the output. A resistor is connected between output and ground. Working  When both inputs are LOW, no diode conducts and output remains LOW.  When any one input is HIGH, the corresponding diode conducts and output becomes HIGH.  When both inputs are HIGH, both diodes conduct and output becomes HIGH. Thus, the output is HIGH when any one of the inputs is HIGH. AND Gate Using Diodes

Circuit Description The AND gate is constructed using two diodes and one resistor. The cathodes of the diodes are connected to inputs, and the anodes are connected together to form the output. A resistor is connected between output and supply voltage. Working  When both inputs are HIGH, no diode conducts and output becomes HIGH.  When any one input is LOW, corresponding diode conducts and output becomes LOW.  When both inputs are LOW, output becomes LOW. Thus, output is HIGH only when both inputs are HIGH. NOT Gate Using MPSA42 Transistor Circuit Description The NOT gate is implemented using MPSA42 NPN transistor and resistors.  Input is applied to Base  Output is taken from CollectorEmitter is connected to ground  A resistor is connected between collector and VCC Working Case 1: Input LOW (0)  Base voltage is LOW  Transistor OFF  No current flows  Output pulled HIGH through resistor  Output = 1 Case 2: Input HIGH (1)  Base voltage HIGH  Transistor ON  Collector current flows  Output becomes LOW  Output = 0, Thus, output is the complement of input

Procedure :

Part 6: OR Gate Using Diodes a. Place two diodes on the breadboard. Ensure proper orientation of the diodes. b. Connect the anodes of both diodes to two separate input terminals labeled A and B. c. Connect the cathodes of both diodes together to form the output node (Y). d. Connect a resistor (1 kΩ – 10 kΩ) between the output node and ground. This acts as a pull-down resistor. e. Connect the circuit to 5 V DC power supply. f. Apply input combinations using switches or jumper wires:

  1. A = 0, B = 0
  2. A = 0, B = 1
  3. A = 1, B = 0
  4. A = 1, B = 1 g. Measure the output voltage using a Multimeter or observe using an LED indicator. h. Record the output for each input combination. i. Compare the observed results with the OR gate truth table. Part 7: AND Gate Using Diodes

a. Place two diodes on the breadboard with proper polarity. b. Connect the cathodes of the two diodes to input terminals A and B respectively. c. Connect the anodes of both diodes together to form the output node (Y). d. Connect a resistor (1 kΩ – 10 kΩ) between the output node and +5 V supply. This acts as a pull-up resistor. e. Connect the circuit to 5 V DC power supply. f. Apply the following input combinations:

  1. A = 0, B = 0
  2. A = 0, B = 1
  3. A = 1, B = 0
  4. A = 1, B = 1 g. Measure the output voltage using Multimeter or observe using LED. h. Record the outputs for all input combinations. i. Verify the results with the AND gate truth table. Part 8: NOT Gate Using Transistor