Professional Documents
Culture Documents
ME 140L
Sequential Circuits: output depends upon its present/previous state and present state of
the inputs and the transitions (state changes) are timed. Used for memory.
1
B. S-R Flip Flop: Inputs S(set) and R(reset), Output Q
2
C. J-K Flip Flop:: Inputs JJ(set) and K(reset), Output Q
Most common Flip--Flop (made from logic gates)
Note:
circuit on
right is
shown
as falling
edge FF
3
D. T-Flip-Flop (Toggle): Change state---J=K=1
4
Example: For the following trailing edge triggered JK flip-flop circuit, determine the
outputs C, B, A, and Q. Assume they all start at zero states.
5
F. Applications
6
7
II. 555 TIMER
Timing device that provides a single pulse or sequence of pulses of varying
duty cycles.
Duty Cycle
• 555 Timer provides duty
cycle from 50% to 100%
Four Components
Voltage Divider
1/3 Vcc
2/3 Vcc
Op-amp Comparators & Flip-Flop
• When V2 (Trigger) <Vcc/3
Sets FF (S=1)
• When V6 (Threshold) >2Vcc/3
Resets FF (R=1)
Note: FF output is the base of
the npn transistor
npn Transistor
• V7 (Collector) “discharges” the
external timing capacitor to
ground when V3 (output) goes
LOW—acts as a switch
8
External RC circuit has different
RC time constants
By varying R1, R2 and C, one can change the duty cycle (see prelab
handout) and frequency
9
In next week’s lab, will count the timer pulses and display sequentially
the numbers 0 through 9. Change speed of count by changing R1, R2,
C.
555 Timer IC
• Provides pulses of varying pulse width
10
7-segment Display
11