Download Hands-On Electronics: A One-Semester Course for Class Instruction
Transcript
159 12 Monostables, counters, multiplexers, and RAM will display correctly the output of a CMOS chip, since CMOS logic levels satisfy the TTL input criteria.2 To display a 4-bit hexadecimal number, connect the digital signals for the four bits to the pins labeled D0, D1, D2, D3, with D3 being the highorder (23 ) bit. Ground BI (blanking input – when high the display is blank) and LE (latch enable – latches input when high). Since you don’t want to display a decimal point, leave the DPL (decimal place left) and DPR (decimal place right) pins open. If you wish to experiment with the decimal place LEDs, be sure to use a current-limiting resistor in series with the input pins. See the TIL311 data sheet for additional information concerning these features. Clock your counter from a debounced switch and confirm that it and the display both work. What are the state table and timing diagram for the four outputs? Try out the R0 and R9 inputs – what do they do? Add a second 7490 and TIL311 so that you can count from 0–99. Clock your circuit from a digital square wave at several hertz and verify that it works. Save it for use in the following sections. 12.3.2 Monostable multivibrator The object of this exercise is to design a circuit that generates a pulse of about 500 s duration. To determine experimentally whether your one-shot is functioning properly, use its output to gate the clock to your two-digit decimal counter, i.e., present the counter with a stream of clock pulses only while the one-shot is firing (see Fig. 12.3). The counter will count up the number of clock pulses, which is proportional to the duration of the pulse from the one-shot. Fig. 12.4 shows the pinout of the 74121 and 74123 monostable multivibrators. For the RC timing network, use a conveniently sized resistor and capacitor – the timing rules vary by family and type, so be sure to refer to the correct data sheet for your one-shot. In brief, the predicted output pulse width is given by ln 2Rext Cext (74121) (12.1) tw = K Rext Cext (74LS123) . (74HC123) Rext Cext 2 But the converse is not true: TTL logic levels do not satisfy the CMOS input criteria.