Quantcast
Industry Cortex

Document Brief

Microcontroller Interfacing Techniques...

Document Revision 1.01 Date 3rd April, 2005...

16301 Blue Ridge Road, Missouri City, Texas 77489 Telephone 1-713-283-9970 Fax 1-281-416-2806 E-mail info@bipom.com Web www.bipom.com...

This document is available for download from www.bipom.com...

2009 by BiPOM Electronics. All rights reserved. Microcontroller Interfacing Techniques. No part of this work may be reproduced in any manner without written permission of BiPOM Electronics. All trademarked names in this manual are the property of respective owners....

Micro-controllers are useful to the extent that they communicate with other devices, such as sensors, motors, switches, keypads, displays, memory and even other micro-controllers. Many interface methods have been developed over the years to solve the complex problem of balancing circuit design criteria such as features, cost, size, weight, power consumption, reliability, availability, manufacturability. Many microcontroller designs typically mix multiple interfacing methods. In a very simplistic form, a micro-controller system can be viewed as a system that reads from (monitors) inputs, performs processing and writes to ( controls ) outputs....

Input Devices Microcontroller Output Devices...

Microcontroller Interfaces...

Asynchronous 1-wire RS232/RS485 Ethernet...

Synchronous 2-wire (I2C) 4-wire (SPI, Microwire)...

Digital Inputs/Outputs...

On/OFF control and monitoring. Advantages Simplest interface Lowest-cost to implement (built into the microcontroller) High speed Low programming overhead Disadvantages Only on/off control/monitoring Short distance, few feet maximum. Single device control/monitoring...

Digital Input Example Reading the status of buttons or switches...

Single-ended (non-matrix) switches...

P2.7 P2.6 P2.5...

8051 Microcontroller (AT89C51ED2)...

P2.4 P2.3 P2.2 P2.1 P2.0...

Digital Input Example Keypad Interface...

4X4 Matrix Keypad Interface...

Digital Output Example LED control...

VCC LED Interface...

Current Limiting Resistors 8051 Microcontroller (AT89C51ED2)...

P0.3 P0.2 P0.1 P0.0...

Digital Output Example Relay control...

VCC Relay Interface...

Analog Inputs/Outputs...

Voltage-based control and monitoring. Advantages Simple interface ...

Document Keywords

Microcontroller Interfacing Techniques documents lectures microcontroller interfacing techniques

About Bipom Electronics

BiPOM Electronics' Home page. BiPOM Electronics is one of the world's leading providers of Microcontroller systems and specific applications, including hardware, firmware, software, manufacturing, and...

Contact

713-283-9970
Fax: 281-416-2806

sponsored links