0% found this document useful (0 votes)
64 views

Lab - Work: Digital Logic Fundamentals

This document provides instructions for using Proteus software to simulate digital logic circuits. It discusses opening a new file, adding components from the library, placing them on the schematic window, and connecting pins. Modes for selection, subcircuits, probes and more are described. An example of designing a digital circuit with AND gates, power supplies, and a logic state generator is outlined, showing how to place and connect the components. The objective is to familiarize students with the Proteus environment and simulating digital circuits.

Uploaded by

MuhammadHadi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
64 views

Lab - Work: Digital Logic Fundamentals

This document provides instructions for using Proteus software to simulate digital logic circuits. It discusses opening a new file, adding components from the library, placing them on the schematic window, and connecting pins. Modes for selection, subcircuits, probes and more are described. An example of designing a digital circuit with AND gates, power supplies, and a logic state generator is outlined, showing how to place and connect the components. The objective is to familiarize students with the Proteus environment and simulating digital circuits.

Uploaded by

MuhammadHadi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 11

Department of Electronics & Telecommunication Engineering

LAB -WORK

DIGITAL LOGIC FUNDAMENTALS


Spring 2016
Experiment_1: Introduction to Proteus Software

S.no Student Name SID Marks


1

CLASS ID: __________________

DATE OF EXPERIMENT: _____________________________

Signature of Faculty/Lab Engineer: ___________________________________________

Remarks:
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________

Microprocessor Based System Instructor:


College of Engineering Ashar Ali Qureshi
PAF-Karachi Institute of Economics & Technology asharali.qureshi@pafkiet.edu.pk
Page 2 of 11

OBJECTIVE #1
• Getting familiar with the environment of Proteus
• Modes available in Software
• Simulation of Digital Circuit in Proteus.
INTRODUCTION TO PROTEUS ISIS:
• Getting Familiar with the Software Environment:
Proteus is a Virtual System Modelling and circuit simulation application. The suite
combines mixed mode SPICE circuit simulation, animated components and
microprocessor models to facilitate co-simulation of complete microcontroller based
designs.

Proteus ISIS (Intelligent Schematic Input System) is the complete solution for
developing, testing and virtually prototyping circuit designs. This software allows to
perform schematic capture and to simulate the circuits.

Proteus also has the ability to simulate the interaction between software running on
a microcontroller and any analog or digital electronics connected to it. It simulates
Input / Output ports, interrupts, timers, USARTs and all other peripherals present on
each supported processor.

A demonstration on the use of PROTEUS will be given to you in this lab session, which
will encourage you to use this software before actually implementing any circuit design.

Microprocessor Based System Instructor:


College of Engineering Ashar Ali Qureshi
PAF-Karachi Institute of Economics & Technology asharali.qureshi@pafkiet.edu.pk
Page 3 of 11

Creating a New File for Circuit Designing:


Select New Design from File menu.
The Create New Design dialogue now appears as shown in the figures. Select Default
and press OK.

Adding Devices to the Schematic Window:

From the Library menu select Pick Device/Symbol as shown in


first figure OR
Left click on the letter ‘P’ above the Object Selector as shown in the next figure to launch
the Library Browser
OR
Press the 'P' button on the keyboard. The Library Browser will now appear over the
Editing Window.

Microprocessor Based System Instructor:


College of Engineering Ashar Ali Qureshi
PAF-Karachi Institute of Economics & Technology asharali.qureshi@pafkiet.edu.pk
Page 4 of 11

If you need to place any component (e.g. LEDs, Buttons, Crystal oscillator,
capacitors, 7 SEG-COM Cathode, Resistors) in the schematic area just follow the
same steps.

Placing components on the Editing Window:


Once you have selected all components into the design close the Library Browser
and left click once on any component in the Object Selector (This should highlight
your selection and a preview of the component will appear in the Overview Window
at the top right of the screen as the figure shows).

Now left click on the Editing Window to place the component on the schematic -
repeat the process to all components on the schematic.

Microprocessor Based System Instructor:


College of Engineering Ashar Ali Qureshi
PAF-Karachi Institute of Economics & Technology asharali.qureshi@pafkiet.edu.pk
Page 5 of 11

Placing the terminals on the Editing Window:


Place ground or 5V right click on the Editing Window.
Select ‘Place’ then ‘terminal’ then select ‘Ground (0 V)’ or
‘Power (5 V)’. Connect the components to obtain the circuit
you need.

Microprocessor Based System Instructor:


College of Engineering Ashar Ali Qureshi
PAF-Karachi Institute of Economics & Technology asharali.qureshi@pafkiet.edu.pk
Page 6 of 11

Modes available in Proteus:

Selection Mode Sub Circuit Mode Probe Mode


Virtual
Component Mode Terminals Mode Instrumentation
Mode
Junction Dot Mode Device Pin Mode

Wire Level Mode Graph Mode 2D Graphics


Mode
Text Script Mode Active Pop-up
Mode
Buses Mode
Generator Mode

Component Mode: P => Pick Device & L => Library

Sub circuit Mode: Different Ports like Input, Output, Bidirectional, Power, Ground
and Bus.

Terminals Mode: Different Terminals like Input, Output, Bidirectional, Power,


Ground and Bus.

Device Pins Mode: Invert, Posclk, Negclk, Short and Bus.

Graphs Mode: Analogue, Digital, Frequency, Transfer, Noise, Distortion, Fourier,


Audio, Interactive, Conformance, DC Sweep & AC Sweep.

Generators Mode: DC, Sine, Pulse, Exponential, SFFM, PWLIN, File, Audio, D-state,
D-edge, D-pulse, D-clock, D-pattern & Scriptable.

Probes Mode: Voltage, Current & Tape probe.

Instruments Mode: Oscilloscope, Logic Analyzer, Counter Timer, Virtual Terminal,


SPI Debugger, 12C Debugger, Signal Generator, Pattern Generator, DC-Voltmeter,
DC-Ammeter, AC-Voltmeter & AC Ammeter.

Digital Circuit Design Using Proteus:

Example: Designing and simulating the Digital Circuit.

Finding the Components from the Component Mode:


1. Type information of the device such as “and gate” in the box 1.
2. If some specific category is known, the device can narrow on focusing by
selecting catalogue in the box 2.
3. After the information is entered, the list of the related devices will appear in the box
3, so that needed device can be choose here and then click “OK” button to confirm
the selection as shown in Figure.

Microprocessor Based System Instructor:


College of Engineering Ashar Ali Qureshi
PAF-Karachi Institute of Economics & Technology asharali.qureshi@pafkiet.edu.pk
Page 7 of 11

Adding Power Supplies and Input Signal Generator:


All of the electrical circuits require power supplies. Therefore, the power supplies
will be needed as an input power for a system.

Moreover, all of the input generators, such as AC, DC, and PULSE, are contained
in the Generator mode and it will be shown when clicked.

In addition, “Ground” will not contain in this groups because it is not input signal but
it is just a terminal junction. Therefore, it will be group in the Terminal mode as
shown in Figure.

In addition, there is another input that usually be used in digital circuit designed
system but it does not exist in real world as an equipment. It is called as “LOGIC
STATE”. It can be find in picking part section (typing “logic state” and pick it).

Microprocessor Based System Instructor:


College of Engineering Ashar Ali Qureshi
PAF-Karachi Institute of Economics & Technology asharali.qureshi@pafkiet.edu.pk
Page 8 of 11

Placing and Connecting the Components:

After selecting all the devices, devices needed to be placed on the schematic area
(Editing Window) and wiring before the simulation can be run by following these
steps:

1. Click on and select a first device that will be placed.

2. Place mouse to wherever the device is preferred to be place and then click the
left button of the mouse. The device will be place. If it needed to be moved.
Click the right button of the mouse on the device symbol to select the part and
then hold the left button of the mouse and move the symbol to wherever it is
needed to be places.

3. To wire the device together, click at the source pin of the device and then move
mouse cursor to the destination pin of the device. In this step the red line will be
appear and it will be the wire of the circuit after click mouse on the destination
pin of the circuit (as shown in figure).

4. After wiring, all of the devices and all input together, the simulation is ready to
be run by clicking on to run button and to stop button at the bottom of the
screen.
However, to see the result measurements needed to be added in the circuit.

Microprocessor Based System Instructor:


College of Engineering Ashar Ali Qureshi
PAF-Karachi Institute of Economics & Technology asharali.qureshi@pafkiet.edu.pk
Page 9 of 11

Measuring the Digital Data:


The digital result on Proteus can be seen in small square at the pin of the equipment
and the state will be shown in 4 colors (red = logic “1”, Blue = logic “0”, Grey =
Unreadable logic and Yellow = Logic congestion).

However, Proteus build a module that can be used to show the logic in 2 ways:

1. Logic Display
The display that Proteus has for monitoring the logic value is called “logic-
probe”. It has 2 sizes and these sizes have the same functions. It can be found
from “picking devices” page.

2. Waveform Display
In the low frequency case, logic-probe is the easiest way for digital logic analysis
because human eyes can see the result of the simulation. Also, logic-probe also
works for high frequency system but human eyes cannot see the results.

Therefore, Proteus create Digital Logic Analyzer for the high frequency
analysis. To use the logic analyzer on Proteus following these steps:

Click on the ‘Probe Mode’ and place the voltage probe to the point that needed
to be measured.

a) After connect the probe to measured point, the probe will be named as identifier
of the measure point.
b) Click on the ‘Graph Mode’ and select “digital” from “Graphs” box then assign the
form of digital display. The Green screen will appear as measurement monitor as
shown in the figure.

Microprocessor Based System Instructor:


College of Engineering Ashar Ali Qureshi
PAF-Karachi Institute of Economics & Technology asharali.qureshi@pafkiet.edu.pk
Page 10 of 11

c) Clicking at the word “DIGITAL ANALYSIS” on the screen. New window will appear
as the expanded screen.
d) Click on graph>> add trace, new pop up window will appear to add the measure
points needed on “Probe P1” (if many probes appear on the design, Proteus may
ask to offer all probes adding) then click OK. The select probes will be added on
the screen.

e) For checking the result click at the bottom ‘Simulation for 1 sec’.

Microprocessor Based System Instructor:


College of Engineering Ashar Ali Qureshi
PAF-Karachi Institute of Economics & Technology asharali.qureshi@pafkiet.edu.pk
Page 11 of 11

TASK:
Make truth table and logic expression for the logic gates and design those using Logic
State and Logic Probe only.

OBSERVATIONS:
Write your observations neatly and precisely.

Microprocessor Based System Instructor:


College of Engineering Ashar Ali Qureshi
PAF-Karachi Institute of Economics & Technology asharali.qureshi@pafkiet.edu.pk

You might also like