Download presentation
Presentation is loading. Please wait.
Published byVincent Cobb Modified over 9 years ago
1
Revised: Aug 1, 20031 EE4390 Microprocessors Lessons 29, 30 Welcome to the Real World!
2
Revised: Aug 1, 20032 Welcome to the Real World! - what keeps paper designs from working - Switches/indicators Switch debouncing Noise Input Termination Electrical Characteristics Interfacing Fanout Power conditioning
3
Revised: Aug 1, 20033 Switches/indicators Momentary pushbutton –interrupt DIP switches –configuration Keypad –data entry LEDs –status entries 7 segment display –data display
4
Revised: Aug 1, 20034 Tri-state indicator circuit Tri-state indicator: –Green: logic high –Red: logic low –None: high impedance
5
Revised: Aug 1, 20035 Switch debouncing Switches are mechanical devices When switch is flipped it makes/breaks contacts multiple times - called bouncing –processor fast enough to see each bounce as independent input –debounce with hardware, software, or HW/SW techniques
6
Revised: Aug 1, 20036 Switch debouncing - techniques - Hardware Software –after first transition provide 25-50 ms delay
7
Revised: Aug 1, 20037 Noise Sources Electrostatic discharge (ESD) - static electricity Radio frequency interference (RFI) - undesired RF energy Electromagnetic interference (EMI) - varying magnetic fields emanating from electromechanical devices (motors) Sag - decrease in input AC Surge - sudden increase in input AC
8
Revised: Aug 1, 20038 Reducing noise susceptibility Printed circuit boards should have well filtered power supply inputs –Provide ferrite-bead feed-throughs –50 uF capacitor between power and ground -- mount close to beads low frequency noise –0.1 to 0.01 uF capacitor to bypass mid to upper frequency noise Provide bypass capacitors on every IC –0.01 uF capacitor between IC supply and ground pin Provide ferrite-bead feed-throughs at signal inputs and output Provide separate power feed to each IC row Provide short ground return paths with large ground planes properly terminate unused IC inputs every other conductor in ribbon cable should be grounded Enclose system processor in a well- grounded metal box
9
Revised: Aug 1, 20039 Power Conditioning
10
Revised: Aug 1, 200310 Terminating Unused Inputs Input impedance is very high on unused input pins If not connected, the input can oscillate or float to midsupply level Oscillation can couple noise to power supply Terminate unused input pins by pulling up (or down) via a resistor -- 4.7 Kohm
11
Revised: Aug 1, 200311 Electrical Characteristics, interfacing, and fanout V OH V OL Vcc OV Output gate I OH I IH I OL I IL Vcc OV Input gate V IH V IL EX] pgs 332-334
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.