1 / 9

ECE 447 – Lecture 6

ECE 447 – Lecture 6 . Input and Output Interfacing. LED displays Switch buttons. Maximum currents at the outputs of Motorola 68HC11and 68HC24. V DD =5 V. Maximum sink current. V OHmin =4.5 V. I OLmax = 1.6 mA. Maximum source current. I OHmax = 0.8 mA. V OLmax = 0.4 V. GND=0 V.

isolde
Download Presentation

ECE 447 – Lecture 6

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. ECE 447 – Lecture 6 Input and Output Interfacing LED displays Switch buttons

  2. Maximum currents at the outputs of Motorola 68HC11and 68HC24 VDD=5 V Maximum sink current VOHmin=4.5 V IOLmax = 1.6 mA Maximum source current IOHmax = 0.8 mA VOLmax= 0.4 V GND=0 V Sufficient to drive one input of a TTL device and about 10 inputs of an LSTTL device

  3. Light Emitting Diode - LED + Forward current Forward voltage IF VF – Typical values for most common LEDs IF = 10-20 mA VF = 1.7-2.4 V

  4. 68HC11 - LED interface (1) VDD=5 V R=? VDD – VF – VOL Forward current IF VF Forward voltage VOL Low Level Output Voltage VOL Low Level Output Current (sink current) IOL buffer IF  IOLmax R = (VDD – VF – VOL) / IF

  5. 68HC11 - LED interface (2) VDD=5 V R1=? VDD – VF – VCE Forward current IF Forward voltage VF VCE Collector-Emitter Voltage R2=? IOH ICE Collector-Emitter Current IF  ICEmax VOH VBE R1 = (VDD – VF – VCE) / IF R2 = (VOH – VBE) / IOH Base-Emitter Voltage

  6. Key Debouncing key bounce, tBOUNCE key bounce, tBOUNCE typically, tBOUNCE < 10 ms debouncing delay debouncing delay update display

  7. Key Debouncing - Auto-repeat debouncing delay debouncing delay update display update display update display Auto-repeat delay, typically 0.5 s

  8. Class Exercise 4 Design a system based on MC68HC11 that increments a digit displayed by a 7-segment LED display each time a button is pressed.

More Related