Lab 1-DLD
Lab 1-DLD
Section: …………………………………………….
Always insert an IC into breadboard keeping the notch/dot (Pin 1) on the left side. See Figure
1.2 for the pin configuration of an IC.
3
Logic high: If the logic circuit is at a logic 1 or digital high voltage, the logic probe will indicate this
through red color LED.
Logic low: Again the logic probe will indicate a logic 0 or digital low. The most common color for
this is green.
Pulses: The logic probe is likely to incorporate a pulse detection circuit. When the line is active a third
color, possibly yellow will be indicated. The logic probe may well incorporate circuitry to detect very short
pulses and in this way indicate when the line is active. Sometimes the length of the pulses may be
indicated by the brightness of the LED.
Line tri-stated: Often it is possible for lines to be tri-stated, i.e. the output device has its output
turned off and no real state is defined. Many logic probes are able to indicate this state by having all
indicators turned off.
Lab Task:
a. Use a digital multimeter (DMM) to measure a specified dc voltage from the power supply.
b. Verify NOT gate truth table using probe and Digital Trainer available in Lab. Record your results
in Table 1.1 :
Table 1.1
Input Output
Proteus 8.9 Professional SP0 will be used to demonstrate the steps; however, steps should also
apply to other versions of Proteus 8.
Contents:
1. Creating a file
2. Interface
3. Collecting Parts
4. Connecting a Circuit
5. Running the Simulator
6. Saving and Exporting
4
1. Creating a File:
After installing Proteus and activating your license, you will be met with a page similar to that shown
below:
“Getting Started” & “Help”: Some useful guides can be found here, but they tend to be wordy
and filled with jargon. It is advised to avoid them.
“Start” \ “Recent Projects”: Here you will find the projects that you opened last. This section
will be empty if you just installed Proteus.
“News”: This section will contain news about your current license, recent versions of the software,
and links to basic video tutorials that you might find helpful.
5
The “New Project Wizard” window will now open.
2. Choose a name and file-path for your project:
6
Unless certain dimensions are required (for printing or otherwise), “DEFAULT”
will suffice. Click “Next”.
PCB design will not be included in this guide. Select “Do not create a PCB layout” and click
“Next”.
7
5. Select Firmware:
Editing source code is beyond the scope of this guide, select “No Firmware Project” and click
“Next”.
8
6. Summary page:
You should now see a summary of all your previous selections. If any mistakes were made,
you can click “Back” and correct them.
Click “Finish” to open the Schematic Capture module and begin working on your project.
Alternatively: Creating a new project can be done by clicking “Ctrl” + “N” or from the “File” menu in
the menu bar, then follow steps 2 through 6.
9
2. Interface:
The Schematic Capture interface is split into four main parts, the Menu and Module bars on top,
the Sidebar on the left-hand side, the Root sheet in the center, and the Simulation Control bar at
the bottom.
Our circuits will be shown on the Root sheet, whereas most of our work will be done
10
Sidebar:
Note: letter “S” before a number will indicate a button on the Sidebar. Thus, S12 refers to the “Device
Picker” button on the Sidebar. Some modes were skipped as they are not needed in the
Microcontrollers Lab course.
3. Collecting Parts:
In this part, we will prepare all the parts needed for our experiment. Experiment two will be used
to demonstrate the steps.
0. Identify the needed parts:
Usually, all needed chips for a certain experiment are listed in its document. Try searching
following ICs :
✓ 7410 TRIPLE 3-INPUT NAND GATE
✓ 7427 TRIPLE 3-INPUT NOR GATE
✓ 7404 HEX INVERTER,
✓ 7400 QUADRUPLE 2-INPUT NAND GATE
✓ 7402 QUADRABLE 2-INPUT NOR GATE
✓ 74283 4-BIT BINARY ADDER
”
11
1. Open the Part Picker :
2. After the “Pick Devices” window has appeared, begin writing keywords for the part you are
looking for:
“LOGICTOGGLE” “SW-SPDT”
12
Output Indicators: The two most common output indicators are “LOGICPROBE” and
“LED-[color]”. Again, no practical differences exist between them.
“LOGICPROBE” “LED-RED”
Clocks: The most common clocks are “CLOCK” (obtained from “Device Picker”) and
the different pulse generators found in the “Generator Mode” (S4) in the sidebar. No
practical differences.
“CLOCK” Generators:
“PULSE” “DCLOCK” “DPULSE”
Power & Ground: The power and ground terminals can be found in the Terminals
Mode (S3) in the Sidebar. Power will equal logic 1 and ground will equal logic 0.
Power Ground
4. Connecting a Circuit:
Once we have all the needed parts listed in Component Mode we are ready to begin
constructing a circuit. In this part, a half-adder will be constructed using NOT gates and NOR
gates (from experiment two).
1. Click on a component’s name from the Component Mode, then click again on the
sheet.
13
2. Repeat step 1 for all other components.
3. To wire the circuit, place the cursor at the end of a component, the cursor will then
turn green and a red box will appear around it as seen below.
Next, left-click and move the cursor to the node that the wire must be connected to.
The cursor will turn green and a red box will appear around it again. 14
Lastly, wire the rest of the circuit as required.
4. For convenience, all inputs and outputs should be labeled (S6 can be used) as shown
below:
15
5. Running the Simulator:
Perhaps the easiest part of this guide is running a simulation. Once all components are
connected, simply click the “Play” button at the bottom-left corner of the page.
The simulation will immediately begin, the logicprobe(s) will show “0” or “1” and the LED(s)
will appear to glow if on, as shown below:
To change the input of a logictoggle, click on the red circle next to it.
To change the input of a SW-SPDT, click on one of the red circles next to it.
For circuits that require clock pulses, double-click the clock after placing it on the sheet, a
window as that shown below, should appear, which will allow users to edit the frequency and
other properties of the clock pulses.
16
Clocks should always be given a reference to avoid the “No model specified” error when
simulating.
Note: Editing cannot be done while the simulation is running. The simulation must be stopped
for any edit to be made.
A project can be saved by simply clicking on the save icon (M3) in the Module bar.
Proteus also allows users to export their projects to different formats such as PDF. This can
be done from the “Export Graphics” submenu in the “File” menu.
17
Most Sidebar oper
18