DIY USB to RS232 adapter

Sometimes you just need to connect some device to COM port, but computer don’t have one especially laptop. There are two ways – go and buy USB – COM adapter or build one. So if you decided to build USB to COM(RS232) adapter, there is one of solutions.

usb_rs232_adapter.jpg

 

This adapter is very easy to build as there is single chip USB to UART bridge (CP2102) used. This chip from Silicon Labs support USB2.0 full speed, has internal Resistors required for USB interface, integrated clock, internal 1024 -byte EEPROM for vendor ID, Product ID serial number, power descriptor and other information. SP2102 USART part support almost all standard features of RS232 communication including handshaking, Databits (5, 6, 7 and 8); 1 or 2 stop bits; odd, even, mark, space and no parities; baud rate from 300bps to 1Mbits.

Device is powered from USB port and requires about 10mA. Chip drivers enable to connect this adapter to most of Operation systems like Win98, Win2000, WinXP, Linux.

Circuit Diagram

As you can see signal level from TTL to RS232 is converted via MAX3243 chip from Texas Instruments. This chip converts all available signals: DSR, DTR, RTS, CTS, RI, DCD, RXD and TXD.

It is better to make double sided board this allows to minimize size of adapter.

One of PCB solutions

 

To make adapter work, fors of all download driver for your operation system (Quick drivers for WIN2000_WIN2003_XP; Linux; Win98SE; OS_MAC). Then extract it somewhere. Now connect adapter to USB port and wait until system will ask for driver. Brose to extracted driver location and let the finish installation. When device is ready LED indicator should light ON.

Author: Александр Квашин ; Source: masterkit.ru

Blogsphere: TechnoratiFeedsterBloglines
Bookmark: Del.icio.usSpurlFurlSimpyBlinkDigg
RSS feed for comments on this post
 |  TrackBack URI for this post

New on WinAVR Tutorial
Running TX433 and RX433 RF modules with AVR microcontrollers,
Sometimes in embedded design you may want to go wireless. Might be you will want to log various readi …
Programming AVR ADC module with WinAVR,
Most of AVR microcontrollers have Analog to Digital Converter (ADC) integrated in to chip. Such solut …
New on WinARM Tutorial
What are differences between WinARM and WinAVR,
Everyone who is working with AVR microcontrollers knows this powerful tool – WinAVR (http://win …
LPC2000 watchdog timer,
As in all microcontrollers watchdog timers purpose isto reset microcontroller after reasonable amount …

3 Responses to “DIY USB to RS232 adapter”

  1. Electronics-Lab.com Blog » Blog Archive » DIY USB to RS232 adapter Says:

    [...] USB to RS232 adapter - [Link] Filed in [...]

  2. system Says:

    and about te components?

  3. Stofjas Says:

    plz somebody upload the component list …
    greetz

Leave a Reply