Lab 1

advertisement
EE 110 Lab
Experiment #1
Fall 2009
NAME: _________________________________
EXPERIMENT 1: Familiarization With Lab Equipment (1 week)
The purpose of this laboratory is to provide the student with an opportunity to become familiar
with some of the basic equipment and instrumentation in the EE 110 laboratory that will be used
to construct and test digital logic networks. Students will work individually.
GUIDELINE: Take your time in carrying out each step in this experiment. Any time you
spend now to become proficient in experimental practices and in the use of experimental
equipment will pay off later in the term when you are building and testing your logic
designs.
Figure 1: The IDL-800 Digital Lab Trainer
1-1
EE 110 Lab
Experiment #1
Fall 2009
Each student is to do the following during this experiment:
1) Get your lab kit from the professor or teaching assistant.
For this lab, the kit consists of:
 IDL-800 Digital Lab Trainer
 Wire stripper
 Small needle nose pliers
 Small wire cutters
You will need to return this equipment to the storage cabinet before leaving the lab.
2) Choose a lab station at which to work.
All lab stations should be identical. Choose whichever one you want. Two people will
generally need to share a lab bench, but will work individually for this lab.
3) Connect electric power to your IDL-800 Logic Trainer.
Plug its AC cord into an AC outlet on the lab bench. Make sure the bench’s power
switch is turned on. Turn the trainer’s power switch to ON and confirm that it lights up.
4) Measure the voltages supplied by each of the +5 vdc power supplies in the Logic
Trainer.
a) Make sure your lab trainer is turned OFF.
b) Cut a red wire and a black wire long enough to reach from the voltmeter
connections to either of the +5V power supply connections.
c) Strip away insulation from the ends of the wires so that you leave about 1/3 inch
(8mm) to ½ inch (12mm) of exposed wire.
d) Connect the black wire from the GND connection of the upper supply to the
negative (black) terminal of the built-in voltmeter (DVM).
e) Connect the red wire from the +5V terminal of the upper supply to the positive
(red) terminal of the DVM.
f) Turn the DVM’s selector switch to the 20V range. In general, the range should
be set so that the expected input voltage is smaller. We expect 5 volts or so,
making the 20V range the most appropriate. 5 volts would be beyond the range
if we were to set the scale at 2V or 200mV.
g) Check your connections. If everything looks good, turn power ON.
h) Record your measurement.
Upper left +5V supply voltage: _______________________
i)
Now exchange the red and black connections at the DVM terminals and repeat
the measurement.
Upper left +5V supply voltage, meter reversed: __________
j)
Repeat this process to measure the voltage of the lower +5V supply.
Lower left +5V supply voltage: _______________________
1-2
EE 110 Lab
Experiment #1
Fall 2009
Lower left +5V supply voltage, meter reversed: __________
EXPLAIN what happened and why.
5) Make sure your plug-in prototype (“proto”) board is correctly wired to provide
+5V and GND supply connections to the horizontal bus strips as described by the
professor or TA.
a) If it has not already been configured, you’ll need to wire it up. Please use RED
wires for the +5V connections and BLACK wires for the GND connections.
b) Using the DVM, check that the bus strips provide power all the way to the
rightmost end positions.
c) Have the TA verify that the proto board is wired correctly.
d) The proto board will be used in future lab experiments.
6) Connect a switch to one of the LEDs.
a) Connect a wire directly from the LED 0 terminal (upper right) to the SW0 switch
(lower right).
b) Connect a red wire from the DVM positive terminal to the same LED 0 terminal.
There are two press-in sockets for this LED terminal. They’re internally
connected together. You should now have one wire going to each of the two
sockets.
c) Connect a black wire from the DVM negative (black) terminal to the GND
terminal, either on the proto board or directly to the power supply’s GND socket.
What happens when you flip the SW0 switch back and forth? DVM measurement?
7) Connect a Pulse Switch to one of the LEDs.
a) Connect a wire from the pulse switch B terminal to LED 7.
b) Connect another wire from the B-overbar terminal to LED 6.
What happens when you press and release pulse switch B?
1-3
EE 110 Lab
Experiment #1
Fall 2009
8) Connect switches to the 7-Segment LED Display
a) Connect switch SW0 to input A of the 7-segment display.
b) Connect switch SW1 to input B.
c) Connect switch SW2 to input C.
d) Connect switch SW3 to input D.
e) Connect switch SW4 to input P.
f) Connect switch SW5 to input C/C D1.
g) Make sure all DIP switches are ON. This ensures that the 7-segment display is
actually driven with the data. These switches are to the left of the 7-segment
displays.
h) Now try these switches and complete the truth table on the next page. Let’s use
the active high convention: H=1 and L=0. The `X’ characters represent “don’t
cares”, meaning we don’t care whether this value is 0 or 1.
9) What are your conclusions? What did you learn? What questions do you have that
weren’t answered in this exercise?
1-4
EE 110 Lab
Experiment #1
Fall 2009
Inputs
SW5
SW4
Displayed Pattern
SW3
SW2
SW1
SW0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
1
0
0
0
0
0
1
1
0
0
0
1
0
0
0
0
0
1
0
1
0
0
0
1
1
0
0
0
0
1
1
1
0
0
1
0
0
0
0
0
1
0
0
1
0
0
1
0
1
0
0
0
1
0
1
1
0
0
1
1
0
0
0
0
1
1
0
1
0
0
1
1
1
0
0
0
1
1
1
1
0
1
0
0
0
0
0
1
0
0
0
1
0
1
0
0
1
0
0
1
0
0
1
1
0
1
0
1
0
0
0
1
0
1
0
1
0
1
0
1
1
0
0
1
0
1
1
1
1-5
EE 110 Lab
Experiment #1
Fall 2009
0
1
1
0
0
0
0
1
1
0
0
1
0
1
1
0
1
0
0
1
1
0
1
1
0
1
1
1
0
0
0
1
1
1
0
1
0
1
1
1
1
0
0
1
1
1
1
1
1
X
X
X
X
X
1-6
Table
1:
Truth
table
of
results
from
step
#8
Download