You are on page 1of 9

Department of Software Engineering

Faculty Member : Ma’am Dated: 3-20-2021


Quartulain

Lab Engineer : Dr Nasir Mahmood Section: Bese 11-A

SE-241: Digital Logic Design


Lab 03:Digital Design of Simple Practical Circuits

Group No : 01

CLO4/PLO4 CLO4/PLO5 CLO6/PLO8 CLO7/PLO9


Name Reg. No Viva / Analysis Modern Tool Ethics and Individual
Quiz / Lab of data Usage Safety and Team
Performa in Lab Work
nce Report

5 Marks 5 Marks 5 Marks 5 Marks 5 Marks


Rehan Ramzan 342377

Umair 359652
Lab No 3 : Digital Design of Simple Practical Circuits

Design the following three practical circuits, by giving the truth table of the
problem and then giving the circuit for the design. Upload the lab report giving
all the steps and circuit implementation.

Task No 1:

As part of an aircraft’s functional monitoring system, a circuit is


required to indicate the status of the landing gear prior to landing. A green
LED (Light Emitting Diode) display turns on if all three gears are properly
extended when the “gear down” switch has been activated in preparation for
landing. A red LED display turns on if any of the gear fails to extent properly
prior to landing. When landing gear is extended, its sensor produces a HIGH
voltage. When a landing gear is retracted its sensor produces a LOW voltage.
Write the truth table for the aircraft landing system. Implement with basic
logic gates on hardware. Draw the logic diagram, implement the circuit on
tinkercad and paste the screenshot of implemented circuit. Also give tinkercad
circuit link.

(Please give below logic diagram, truthtable, implemented circuit screenshot


and tinkercad project link)

5V

Red
LED
Left Wing gear
sensor Logic
Nose gear sensor
Circuit
Right Wing gear
sensor Green LED

0V
Input Output

A B C X

1 0 0 0

0 0 1 0

0 0 0 0

1 1 1 1

1 1 0 0

0 1 1 0

0 1 0 0

1 0 1 0

Truth Table:-

Explanation of Truth Table:-


From truth table we can deduce that if a gear is extended properly than input
is 1 and if a gear is not extended properly than input is 0. For output if all the
three gears are extended properly than output is 1, else output is 0.

Logic Diagram Of Circuit:-

Name Of Logic Circuit:-


Triple 3-Input AND gate
Implemented Circuit:-

Tinkercad Link:-

https://www.tinkercad.com/things/4DhdgBfkdTu

Task No 2

Design a three-way switch for lighting a bulb. Suppose the Switch A is


installed at the enterance of the room, switch B is installed beside the table.
Switch C installed at room exit. Now these three switches can facilitate the
ON/OFF bulb from any location. The machanism is such that if a single switch
is on, the bulb should be ON. Now if the second switch is turned on, and first
switcy is already on, the bulb will be off (i.e., if any two switches are on, bulb
will be off). If any two switches are already on and third switch is turned on as
well, then it should turn ON the bulb. Draw its truthtable. Draw the logic
diagram, implement the circuit on tinkercad and paste the screenshot of
implemented circuit. Also give tinkercad circuit link.

(Please give below logic diagram, truthtable, implemented circuit screenshot


and tinkercad project link)

Implement with basic gates.

Truth Table:-
Input
Output

A B C X

1 0 0 1

0 1 0 1

0 0 1 1

1 1 0 0

0 1 1 0

1 0 1 0

1 1 1 1

0 0 0 0

Truth Table Explanation:-


From truth table we can deduce that if a button is ON, input for that button is
1 and if a button is OFF, input for that button is 0. For output when bulb is ON
output is 1 and when bulb is OFF output is 0.

Logic Diagram Of Circuit:-

Name Of Logic Circuit:-


3 Input XOR gate.
Implemented Circuit:-

TinkerCad Link:-

https://www.tinkercad.com/things/6huONIqbjFo

Task No 3: You have to draw only Truth table – no implementation

The system is a speed warning device. It receives, on two lines, an indication


of the speed limit on the highway. There are three possible values 45, 55, or
65 MPH. It receives from the automobile, on two other lines, an indication of
speed of the vehicle. There are four possible values under 45, between 46
and 55, between 56 and 65, and over 65 MPH. It produces two outputs. The
first f, indicates whether the car is going above the speed limit. The second g,
indicates that the car is driving at “dangerous speed” – defined as either over
65 MPH or more than 10 MPH above the speed limit. Show how each of the
inputs and outputs are coded ( in terms of binary values ) and complete the
truth table for the system.
Truth Table:-
Speed Of Car:

A B Speed of car

0 0 <45

0 1 46 - 55

1 0 56 - 65

1 1 >65

Speed limt:

C D Limit

0 0 45

0 1 55

1 0 65

‘f’ and ‘g’:

A B C D f g

1 1 1 0 1 1

1 1 0 1 1 1

1 1 0 0 1 1

1 0 1 0 0 0

1 0 0 1 1 0

1 0 0 0 1 1

0 1 1 0 0 0

0 1 0 1 0 0

0 1 0 0 1 0

0 0 1 0 0 0

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

Getting started with Arduino Uno on Tinker cad:

Step 1:
Go to https://www.tinkercad.com/
Click join now/sign in
If tinkercad not opening and giving an error like IP address not found, follow the steps
given in video
https://www.youtube.com/watch?v=wx0cPuTUYrM

After sign in, Click Circuit then create new circuit

Screen similar to this will appear

In search you will enter the name of required components e.g., breadboard,
led, switches etc.and drag the components to workspace.

You might also like