Begin by browsing the section on the 74HC02 in your data book before you come to the lab. Try to understand the symbols VIH and VIL before coming to the lab.
Complete and confirm this truth table by connecting pins 2 and 3 (inputs) of your 74HC02 to VCC and GND in all possible combinations and recording the input and output voltages (pin 1) in Figure 1, using a voltmeter. Using a voltmeter to measure logic levels is tedious, and sometimes can be misleading. For example, an unconnected input will read 0 volts, leading one to think that it is connected to a logic low when it is not. A logic probe is a device designed to give quick, accurate readings of logic levels.
Look at your logic probe. Make sure the TTL/CMOS switch is set to CMOS. Connect the black lead of the probe to GND, and the red lead to VCC. Repeat the above measurements, recording the color of the light on the logic probe when you touch it to the inputs and outputs of the NOR gate. Use the Figure 1 to record your findings.
Input A |
Input B |
Output Y |
||||||
Logic |
Vin |
Logic |
Logic |
Vin |
Logic |
Logic |
Vout |
Logic |
L |
|
L |
H |
|||||
L |
|
H |
L |
|||||
H |
|
L |
L |
|||||
H |
|
H |
L |
Figure 1: Truth table for a NOR gate.
Use your voltmeter to measure the voltage on an unused input of your 74HC02, e.g., pin 5. Record your result. Now use the logic probe to measure the logic state. What color is the light? What is the logic level? What are the advantages and disadvantages of using voltmeters vs. logic probes for digital measurements?
Let us determine the circuit response as Vin is varied. Connect pin 2 of your NOR to GND, and pin 3 to the wiper (arrow) of the 10 kilohm pot on your breadboard to generate a variable voltage between 0 and VCC volts. Use your voltmeter to measure Vout as a function of Vin. Make your measurements closely spaced in the region where Vout changes logic levels. Sketch your results in your lab book. At what input voltage does Vout change states? Compare this voltage to VIL and VIH listed in your data book.
For most operational digital systems, the inputs and outputs change so fast that you will be unable to follow them with a voltmeter or logic probe. The logic analyzer is a tool to visualize changing logic signals. In the lab, we have a 48 channel logic analyzer (48 channel means it can simultaneously look at the logic state at 48 separate points). Connect lines 1 and 2, of your logic abalyzer, to the two inputs of your NOR gate, and line three to the output. Connect a line labeled GND from the logic analyzer pod to Ground on your protoboard.
Start the logic analyzer by double-clicking on the PA485 Logic Analyzer icon on the Windows desktop. Do the following:
What is the relationship between the input and the output signals of the NOR gate when pin 2 is L? What happens if pin 2 is connected to VCC? What could this be used for?
What was the effect of changing the numeric window from HEX to binary?
When you are satisfied that you have a good measurement on the logic analyzer, make a print out of your screen.