Ch 13 : Shift RegistersCh. 13 : Shift...
Transcript of Ch 13 : Shift RegistersCh. 13 : Shift...
Ch 13 : Shift RegistersCh. 13 : Shift Registers
OutlineOutlineShift Register BasicsgParallel to Serial ConversionRe-circulating RegisterSerial to Parallel ConversionRing- and Johnson-shift counterh fShift register IC’s
System Design applications Driving a stepping motor
Three state Buffers, Latches and Transceivers
Ch. 13: Shift Registers 2
IntroductionIntroduction
Registers required in digital systems for the temporary storage of a group of bitsData bits (1’s and 0’s) traveling through a digital system sometimes have to be temporary stopped, copied, moved, or even shifted to the right or left one or more positionsA shift register facilities this movement and storage of data bits
Ch. 13: Shift Registers 3
1 Shift Register Basics1. Shift Register Basics
Ch. 13: Shift Registers 4
Ch. 13: Shift Registers 5
2. Parallel to Serial Conversion
Ch. 13: Shift Registers 6
3 Re circulating Register3. Re-circulating Register
Re-circulating the rightmost data bits back into the beginning of the register can be g g gaccomplished by connecting Q0 back to J3and 0 back to K3Q0 3Q
Ch. 13: Shift Registers 7
4 Serial to Parallel Conversion4. Serial to Parallel Conversion
Ch. 13: Shift Registers 8
5. Ring- and Johnson-shift gcounter
Two common circuits that are used to create sequential control waveforms qThey are similar to a synchronous counter
Ch. 13: Shift Registers 9
Ring shift counterg
Ch. 13: Shift Registers 10
Johnson shift counter
Ch. 13: Shift Registers 11
6 Shift register IC’s6. Shift register IC s
74164: 8 bit serial-in parallel-out register74165: 8 bit serial or parallel in, serial-out 74165: 8 bit serial or parallel in, serial out shift register74194: bidirectional universal shift register74194: bidirectional universal shift register
Ch. 13: Shift Registers 12
Three state outputsThree state outputsThe output can have one of three levels: HIGH LOW or The output can have one of three levels: HIGH, LOW or Float (High Impedance)In float state the output is neither HIGH or LOW and pcannot sink nor source current
Ch. 13: Shift Registers 13
7 System Design applications7. System Design applicationsTraffic light controller that goes through Traffic light controller that goes through the following sequence:
• Green 20 sGreen, 20 s• Yellow, 10 s• Red, 20s
Also at night, flash the yellow light on and off continuouslyff n n y
Ch. 13: Shift Registers 14
Ch. 13: Shift Registers 15
Ch. 13: Shift Registers 16
8 Driving a stepping motor8. Driving a stepping motor
p
Ch. 13: Shift Registers 17
9. Three state Buffers, Latches and Transceivers
p
Ch. 13: Shift Registers 18
ProjectsProjects
Jam (24 jam, 60 mnt) dengan setting jamLampu LL 15,5,15 pada 5am-6pmLampu LL 15,5,15 pada 5am 6pmLampu LL 8,2,8 pada 7-19Ti t d 7 59 b h L LL Timer count down 7.59 merubah Lampu LL hanya kuning
hTimer count up 3.33 merubah Lampu LL hanya kuning
Ch. 13: Shift Registers 19