This lab provides experience with quad NAND gates, the data acquistion board, and the bench function generator and oscilloscope.
Attachment: lab5.zip.
Do the following exercises. Report your results by editing the attached Word document and submitting it in Isidore. Submit one report per group.
The lab assistants should have a zip drive with the latest software. You could instead download the latest release from www.agilent.com. It should run on 64-bit Vista systems. I believe the link is I/O Libraries Suite 15.5.
In at least one case, the Intuilink software would not work until you enabled Agilent 488 cards: Run the I/O Connection program. Choose Tools – Options ... and enable as shown below:
aotest.m.
The MATLAB script sends output to D/A OUT 1 (Pin 14) / AGND (Pin 15).
Find a cable with BNC on one end (to connect to the oscilloscope)
and aligator clips on the other end (to connect to the DAQ). Connect
the red clip to D/A Out 1 (Pin 14) and the black clip to AGND (Pin
15).
Run three different sample rates: 1000, 4000, and 8000.
Capture the results on the bench oscilloscope.
Note: I've tried to get the DAQ to do analog output and analog input simutaneously, without success. If anyone figures out how to do it, please let me know.
Find a 4011 Quad NAND chip in your parts box. The pin diagram for this chip is reproduced below.
Remember to connect power (5 V - pin30 - to pin 14) and ground (GND - pin29 - to pin 7).
dioswitch.m
modified from lab 3 and included with the attached files for this lab as a
starting point for the data acquisition code. For extra challenge, add a reset switch,
connected to a second digital input line, to reset the count to zero.
Demonstrate the monitoring system to the lab assistant. Document your
design in your lab report.
Record the truth table for this circuit below, use ON if the LED is lit and OFF if the LED is dark. In this table 0 means the pin is connected to ground and 1 means the pin is connected to 5V.
| S | R | Q | QBAR |
|---|---|---|---|
| 0 | 0 | ||
| 0 | 1 | ||
| 1 | 0 | ||
| 1 | 1 |
Which state (row) maintains the current value? Which state (row) is inconsistent? How did you determine that the flip-flop has two stable states?
Maintained by John Loomis, last updated 28 September 2010