24MDBCS0541 (Sarah Fazal)
24MDBCS0541 (Sarah Fazal)
Section: “A”
Registration No: 24MDBCS0541
Batch: “07”
Date: 15/feb/2025
Department of Computer Science, UETM
Lab manual
Lab report 1 IC:
An IC (integrated Circuit) is a set of electronic circuits that are combined
onto a single piece of semiconductor material, typically a silicon.
Composition:
A combination of components such as resisters, transistors, capacitors &
diodes all embedded into small package.
Experiment#1
ICs IN PARALLEL AND SERIES COMBINATION:
In this experiment we will connect ICs in series and parallel combinations
in lab for this we use a breadboard a tool used for prototyping electronic
circuits without the need for soldering.
The holes in rows are connected horizontally and columns are connected
are connected vertically.
Lab Results:
Lab report 2
AND GATE:
AN AND gate is the basic digital logic gate that perform the logical AND function. It take two
binary inputs and produces a single binary output which is true only when the input or true.
Truth Table:
Input A Input B Output (A ∙ B)
LAB EXPERIMENT :
OR GATE:
AN OR gate is the basic digital logic gate that perform the logical OR function. It gives a 1
(true) output if at least one input is 1. If all inputs are 0, the output is 0.
Truth Table:
Input A Input B Output (A + B)
DIAGRAM OF OR GATE:
OR GATE HAVING 2 OUTPUTS
Lab report 3
NAND GATE:
A NAND gate (short for “Not AND”) is a digital logic gate that performs the inverse of the AND
operation. It has two or more inputs and one output. The output is LOW (0) only when all inputs
are HIGH (1). In all other cases, the output is HIGH (1).
Pin Diagrams:
A NAND GATE:
A NAND gate (Not AND gate) is a fundamental digital logic gate that performs
the inverse operation of an AND gate. It gives a true (1) output if at least one of
the inputs is false (0). The output is false (0) only if all the inputs are true (1). In
simpler terms, a NAND gate will output a 0 only when all its inputs are 1;
otherwise, it will output a 1.
Lab Experiment:
Lab Experiment:
INTRODUCTION TO PROTEOUS
*Proteus* is a powerful simulation and design software primarily used in electronics and electrical
engineering. It’s especially popular among students, hobbyists, and engineers for designing and testing circuits
virtually before building them in real life.
What Is Proteus?
*Proteus* is a *software suite* developed by *Labcenter Electronics* that includes:
- *ISIS (Intelligent Schematic Input System)* – for circuit design and simulation.
- *ARES (Advanced Routing and Editing Software)* – for PCB (Printed Circuit Board) design.
---
1. Circuit Simulation
- Simulate both analog and digital circuits.
- Test your designs without needing physical components.
- See real-time behavior of LEDs, motors, sensors, etc.
2. Microcontroller Simulation
- Simulate microcontrollers like *Arduino, **8051, **AVR, **PIC, **ARM*, etc.
- Upload hex or compiled code to the virtual microcontroller and test how it works in the circuit.
- Debug your embedded systems before burning code to real devices.
3. PCB Design
- Design multilayer PCBs.
- Route traces automatically or manually.
- Export Gerber files for actual PCB manufacturing.
Typical Users
- Electronics and computer engineering students.
- DIY electronics hobbyists.
- Hardware developers and embedded systems engineers.
- Teachers for virtual electronics labs.
Lab report 5
What is a Half-Adder?
Circuit Diagram:
From the logic circuit diagram of half adder, it is clear that A and B are the
two input bits, S is the output sum, and C is the output carry bit.
In the case of a half adder, the output of the EX-OR gate is the sum of two
bits and the output of the AND gate is the carry. Although, the carry
obtained in one addition will not be forwarded in the next addition because
of this it is known as half adder.
Truth Table:
Lab report
UNIVERSITY OF ENGINEERING AND TECHNOLOGY
MARDAN
PROJECT PPROPOSOL:
SUBMITTED TO :
SIR ARIF
PREPARED BY :
SARA FAZAL(24MDBCS0541)
ALINA GUL(24MDBCS0583)
This project aims to design a low-cost water tank level indicator using
LED lights and a buzzer alarm system. The system shows different water
levels (Very Low, Low, Medium, High, and Overflow) using color-coded
LEDs and activates a buzzer alarm when the water level reaches the
overflow point. This circuit eliminates water wastage and provides a
real-time visual indication of water availability in the tank.
2) Objectives:
1)indicate five distinct water levels: Very Low, Low, Medium, High, and
Overflow.
2) Alert the user with a buzzer when the tank is about to overflow.
4) Component-wise Explanation
5) Working Principle
6) Components Required
Component Quantity
BC547 Transistor 6
LEDs (Yellow/Red) 5
Buzzer 1
220Ω Resistors 5
10kΩ Resistors 6
12V DC Battery 1
Jumper Wires As needed
Component Quantity
Probes (wires) 5
Very low
Low
Medium
High
Overflow
7) Conclusion
This Water Tank Level Indicator using LEDs and a Buzzer is a
practical and budget-friendly project that enhances water
resource management at homes and institutions. It ensures
awareness of tank status and prevents overflow, thus saving both
water and energy.