Zibb

Design Idea

RS-232-to-TTL converter tests UARTs with a PC

A simple RS-232-to-TTL converter tests UARTs using a PC's serial port for power.

Matthieu Bienvenüe, Malissard, France; Edited by Charles H Small and Fran Granville -- EDN, 5/29/2008

You often need an RS-232-to-TTL adapter for debugging or testing UARTs using a computer. But most of these adapters require an external power-supply adapter to power up the RS-232 transceiver. This external adapter increases the number of cables on your desk and uses no flow-control signals. This Design Idea describes how you can use these signals as power sources. It uses the RTS (request-to-send) and DTR (data-terminal-ready) signals, which provide a positive voltage when you open the PC’s COM port (Figure 1). The voltage on those pins can differ from one computer to another but is generally higher than 6V, which is sufficient to power the adapter.

A standard RS-232 MAX3232 line driver from Maxim performs the TTL-to-RS-232 conversion. The MAX3232 accepts a 5 or 3.3V supply voltage, which is switch-selectable using S1. D1 and D2 block the negative voltage that occurs when the COM port is closed. Q1, R3, S1, and zener diodes D3 and D4 form a simple voltage regulator. LED1 signals that the COM port is open. R1, R5, and R6 protect the circuit under test and the line driver. The use of a pullup resistor for R2 avoids the need for an open input. This circuit has successfully undergone testing with a laptop computer, which provides a 6V power supply. The circuit works well at speeds as high as 115,200 bps.



Reed Business Information Resource Center

Featured Company


Related Resources

ADVERTISEMENT

ADVERTISEMENT

Related Content

 

By This Author

There are no additional articles written by this author.


ADVERTISEMENT

Knowledge Center


Events

Microprocessor Test and Verification (MTV'09)
Dates: 12/7/2009 - 12/8/2009
Location: Austin, TX

Design for Testability and for Built-In Self Test
Dates: 12/8/2009 - 12/10/2009
Location: Los Angeles, CA

Failure and Yield Analysis
Dates: 2/1/2010 - 2/4/2010
Location: San Jose, CA

Submit an EventSubmit an Event




Technology Quick Links

EDN Marketplace


©1997-2009 Reed Business Information, a division of Reed Elsevier Inc. All rights reserved.
Use of this Web site is subject to its Terms of Use | Privacy Policy

Please visit these other Reed Business sites