Lab 2 - Exercises
Lab 2 - Exercises
111
for ECET Exercises
7
Objectives
Equipment:
Adjustable DC Power Supply
Digital MultiMeter (DMM)
ELEX 1117 parts kit, tools and prototype breadboard
Prep
Read through Lab 2 – SPDT Switches and Logic Sources for information that will help you complete this
lab.
We will use normally closed contacts when we want the output to be (circle one):
We will use normally open contacts when we want the output to be (circle one):
4. Draw four logic sources in the space below (use all 4 switches in the Grayhill SPDT package).
Logic sources A and B are non-inverting (active high) and logic sources C and D are inverting
(active low). Include pin numbers and label your logic sources. See Lab 2 - Logic Sources and
SPDT Switches for examples.
NOTE: Verify that the power supply is set to +5 Volts before connecting power to your
breadboard. NEVER APPLY POWER DIRECTLY TO THE LED: you must always have the current
limiting resistor (1 K) in series with the LED.
5. Draw one logic source configured to output both non-inverting and inverting signals in the
space below. Include pin numbers and label your logic sources (A and A ).
Exercises
Logic Probes:
Our logic probe is a testing circuit consisting of two LEDs and two resistors in series. One LED indicates
active high (+5 V) and the other indicates active low logic states (0 V). This is achieved with common
anode and common cathode LED configurations. The logic probe will become useful in troubleshooting
your digital circuits moving forward.
First, build the following circuit on the right side of your breadboard:
LED1 LED2
Next, we will use a jumper wire to simulate an input to our logic probe. One end of the jumper wire is
inserted between LED1 and LED2. The other end (test point) is first connected to the positive power rail
(+5 V):
LED1 LED2
Now move the jumper wire so that the test point is now connected to the negative power rail (0V).
LED1 LED2
Hint: The “common” lead is connected to the power rail through a resistor.
The logic probe can be left in place for the remainder of the term. It will become your most used tool
when troubleshooting your circuits. We will be using it in the next exercise to test your logic sources.
You may have noticed that the green LED is dimmer than the red LED, and in a brightly lit room it can be
difficult to tell that it is illuminated.
Logic Sources
Build the four logic sources you drew for prep (part 4 of Prep section above). Use your logic probe to test
the outputs and ensure they work as expected.
Take four voltage measurements at the output of one of your logic sources (use switch A on the right) to
complete the table below (record 1 decimal place). Remember, the red lead of the DMM is placed on the
output and the black lead is placed on circuit common.
Handle Position Vout (logic probe connected) Vout (logic probe disconnected)
Up
Down
Explain the effect of having the logic probe connected to the output of the logic source:
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
Demo 1: Complete the table, answer the questions above and show the four working logic sources to
your instructor.
Remove all the wiring from switch used in the first demo. Now build one logic source configured to
output both a non-inverting and inverting signal (part 5 of Prep section above).
Demo 2: Show your working logic source to your instructor (both non-inverting and inverting).