Top Banner
Interfacing to External Devices Explore Digital Interfaces techniques Introduce some complex optical devices and how to interface them Describe methods for switching devices on and off
29

Interfacing to External Devices

Jan 16, 2016

Download

Documents

tracen

Interfacing to External Devices. Explore Digital Interfaces techniques Introduce some complex optical devices and how to interface them Describe methods for switching devices on and off. Interfacing Digital Input Signals. General requirements of all digital input signals: - PowerPoint PPT Presentation
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Interfacing to External Devices

Interfacing to External Devices

Explore Digital Interfaces techniques Introduce some complex optical devices and how to interface them Describe methods for switching devices on and off

Page 2: Interfacing to External Devices

Interfacing Digital Input Signals

General requirements of all digital input signals: The voltage input level should only be the

legal allowed voltage. They should not be corrupted by glitches They should switch cleanly and fast.

Page 3: Interfacing to External Devices

Forms of Signal Degradation

Page 4: Interfacing to External Devices

Simple Interfacing for Digital Signals

Page 5: Interfacing to External Devices

Switch Debouncing Switch debouncing happens when

mechanical contacts switch and thus from the force of the switching they bounce for a few milliseconds.

Page 6: Interfacing to External Devices

Actual switch Bounce Signal

Page 7: Interfacing to External Devices

Hardware Methods for Debouncing

Page 8: Interfacing to External Devices

Software method of Debouncing 1

Page 9: Interfacing to External Devices

Software method of Debouncing 2

Page 10: Interfacing to External Devices

Interfacing Keypads 1

Page 11: Interfacing to External Devices

Interfacing Keypads 2

Page 12: Interfacing to External Devices

Keypad Scanning Algorithm

Page 13: Interfacing to External Devices

Optical Devices: Single 7-segment Display

Page 14: Interfacing to External Devices

Optical Devices: Multiplexed 7-segment Display

Page 15: Interfacing to External Devices

Optical Devices: Example Circuit

Page 16: Interfacing to External Devices

Optical Devices: Opto-Isolator

Page 17: Interfacing to External Devices

Object Sensors

Page 18: Interfacing to External Devices

Shaft Encoders

Angular Speed S = output frequency / number of holes

revolutions per second

This setup does not give indication of direction

Page 19: Interfacing to External Devices

Incremental Quadrature Shaft Encoder

Page 20: Interfacing to External Devices

Absolute Shaft Encoders

Page 21: Interfacing to External Devices

Inductive Load Switching

Page 22: Interfacing to External Devices

Examples of Inductive Loads

Page 23: Interfacing to External Devices

Mechanical Relays

Page 24: Interfacing to External Devices

The use of H-Bridge 1

Page 25: Interfacing to External Devices

The use of H-Bridge 2

Page 26: Interfacing to External Devices

The use of H-Bridge 3

Page 27: Interfacing to External Devices

The use of H-Bridge 4

Page 28: Interfacing to External Devices

Semiconductor H-Bridge 1

Page 29: Interfacing to External Devices

Semiconductor H-Bridge 2

http://www.dprg.org/tutorials/1998-04a/