DOC PREVIEW
MSU PHY 440 - Exp_11_LED_Logic_v3

This preview shows page 1-2 out of 7 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 7 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 7 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 7 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

LED’s and Digital Circuits I. p. 1 Light Emitting Diodes and Digital Circuits I The Light Emitting Diode: The light emitting diode (LED) is used as a probe in the digital experiments below. We begin by studying the properties of the LED. The LED is first of all a diode. It passes current in one direction but not in the other. In Figure 1 the diode is biased in the backward direction or “reverse biased” and there is no current flowing through it whereas in Figure 2 the diode is “forward biased” and there is current flowing. The LED gives off light when it is forward biased. The symbol for the LED is: or Experiment 1: Build the two circuits shown above and observe that the LED glows in only one orientation. Use a variable voltage power supply and watch the LED intensity increase with increasing supply voltage. Experiment 2: Set up the forward-biased circuit. Use the oscilloscope to measure the voltage across the LED as the power supply voltage is increased. You should find that when the LED is glowing normally the voltage is saturated at about 2 volts, as sketched below in Figure 4. Figure 1: No current flowing. Figure 2: There is current flowing.LED’s and Digital Circuits I. p. 2 Experiment 3: Set up the forward-biased circuit in Figure 3. It is the same circuit as far as the LED is concerned, but it enables you to measure the voltage across the resistor without worrying about ground connections. Measure the current in the circuit by using an oscilloscope to measure the voltage across the 1 kΩ resistor. (With R = 1 kΩ, the current in milliamperes (mA) is directly equal to the voltage in volts). Observe the increasing brightness as a function of current as you increase the supply voltage. You should find that a current between 5 and 10 mA gives a normal glow. Experiment 4: Calculate the current in the circuit in Figure 5 below. Figure 3: Measurement Circuit. I 10 mA Brightness Figure 4: Brightness vs. current.LED’s and Digital Circuits I. p. 3 The answer to the question on Figure 5 is: “about 3 mA”. We use the circuit shown in Figure 6 to determine whether a point in a TTL circuit is logically high or logically low. If it is high then this point will not cause much voltage drop on the 1k resistor and the LED will glow. If the point is low then it will sink current, causing a voltage drop on the 1k resistor, and the LED will not glow. 7400 Quad Input NAND Gate Before doing this lab you should review the truth tables for AND, NAND, OR and NOR gates, on page 238 of DH. We consider the TTL (transistor-transistor logic) device called the 7400. It is part of the TTL family of digital logic devices whose names all begin with 74. All members of this family operate from a power supply of + 5V. The members are all compatible in that outputs from one will serve as inputs for another. +5V 1 K +5V 1K 150 To point in TTL Circuit Figure 6: TTL Test Circuit. Figure 5: LED Circuit.LED’s and Digital Circuits I. p. 4 Most members of the family come in 14-pin DIPs (dual inline packages). Pin 14 is supposed to be connected to +5V and pin 7 is supposed to be connected to ground. These connections are so standard that we don’t even bother to draw them in the circuits below. The pin connections for the 7400 are shown in Fig. 7 below. Pin 1 is marked by a dimple on the case. Looking at the chip from the top, the pins are then numbered in a counterclockwise direction. In Figure 8 is shown a circuit that illustrates the basic principle of the two-input NAND gate. Note the LED indicator on the output. The 3k resistors pull the two inputs to a high state. According to the NAND truth table this is the only input configuration where the output is low and the LED is off. Points A and B may be grounded by means of a wire going to ground to bring them to a Figure 7: Pinout for the 7400 Quad NAND Chip Figure 8: NAND Gate with LED Indicator 1 2 3 4 5 6 7 14 13 12 11 10 9 8 ground +5VLED’s and Digital Circuits I. p. 5 A B AND(A,B) 0 0 0 0 1 0 1 0 0 1 1 1 low state. In this way you can create a zero on the input. Experiment 5: Build the NAND circuit in Figure 8 and verify its operation for all choices of the inputs A and B. Inverter Turns NAND into AND You can make a logical inverter (turns 1’s into 0’s and 0’s into 1’s) by connecting the two inputs of a NAND together. Begin by proving this fact logically by verifying the truth table. Experiment 6: Convert your NAND circuit into an AND as shown below in Figure 9 and verify its proper operation. Three NANDs can make an OR. The circuit in Figure 10 inverts the two inputs to convert a NAND into an OR. Figure 9: The AND circuit. Figure 10: The OR Circuit. +5V 1K 150 To point in TTL CircuitLED’s and Digital Circuits I. p. 6 Experiment 7: Make the OR as shown and verify its proper operation according to the truth table. Four NANDs can make a NOR The circuit in Figure 12 below inverts the output to convert an OR into a NOR. A much simpler way of getting a NOR circuit is by using a 7402, which is, in fact, a quad two-input NOR gate. Experiment 8: Construct the NOR circuit in Figure 11 above and verify its operation relative to its truth table. The Flip-flop The circuit in Figure 12 below is a flip-flop made from two NAND gates. It has two stable states. By momentarily grounding input A you make output X go high and output Y go low. By momentarily grounding input B you make output Y go high and output X go low. Experiment: 9 Explain why the flip-flop states are stable. That is, explain why the states remain unchanged after the momentary ground is removed. Build the flip-flop and test it. Figure 11: The NOR Circuit. A B OR(A,B) 0 0 0 1 0 1 0 1 1 1 1 1 A B NOR(A,B) 0 0 1 0 1 0 1 0 0 1 1 0LED’s and Digital Circuits I. p. 7 Figure 12: The


View Full Document

MSU PHY 440 - Exp_11_LED_Logic_v3

Documents in this Course
qst

qst

42 pages

PLD_I

PLD_I

14 pages

AD624_c

AD624_c

15 pages

l15

l15

5 pages

Load more
Download Exp_11_LED_Logic_v3
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Exp_11_LED_Logic_v3 and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Exp_11_LED_Logic_v3 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?