Lecture 13 - Interface to switches and LEDs

Lecture 13 - Interface to switches and LEDs - ECE265 1 ECE...

Info iconThis preview shows pages 1–5. Sign up to view the full content.

View Full Document Right Arrow Icon
ECE 265 LECTURE 13 Interface to switches and LEDs 11/17/2010 1 ECE265
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Joanne E. DeGroat, OSU Lecture Overview Interfacing to a switch Debounce a switch Connection to LEDs. REF: Chapters 1, 6, and 9 plus the 68HC11 reference manual. 11/17/2010 2 ECE265
Background image of page 2
Joanne E. DeGroat, OSU Switch inputs In most embedded systems where you use a microcontroller you need to sense the outside world. A lot of this sensing is done by switches activated at specific pressures, temperatures, humidity, etc. Example: An automotive speed control. There is typically a switch on the brake (and clutch) pedal that disengages the speed control when it is pressed. Debouncing – The output of a switch at open and close is very, very noisy with multiple spikes in voltage. If not correctly debounced, these spikes could be seen as multiple switch closures (openings). 11/17/2010 ECE265 3
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Joanne E. DeGroat, OSU Debounce A de-bounce circuit In a typical application the switch
Background image of page 4
Image of page 5
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 04/01/2012 for the course ECE 265 taught by Professor N /a during the Fall '08 term at Ohio State.

Page1 / 13

Lecture 13 - Interface to switches and LEDs - ECE265 1 ECE...

This preview shows document pages 1 - 5. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online