Home > AVR Microcontroller Projects > Serial Interface for an AVR

Serial Port Interface for an AVR

This document describes how to add an serial interface to an AVR.

Most of the AVR devices have a serial port, often called UART. But for interfacing with RS-232 devices, such as the COM port of a PC, a converter is necessary which converts the CMOS/TTL signals of the AVR to RS-232 compatible signals.

A standard 9-pol modem serial cable is used to connect with the COM port of the PC.

starterkit-uart.gif (10251 bytes)

Parts List

1 +5V R232 Transceiver Maxim MAX232  Datasheet (PDF)
5 Tantalum Capacitor 1uF/20V  
1 DB9 Connector any  
1 Modem Serial cable (straight through) with DB9 Connectors any  

 

Software

My UART library the AVR-GCC provides an easy interface to the UART.

 

Further Links

 

� Copyright 2002 Peter Fleury e-mail [email protected]   home page: http://jump.to/fleury