Why build my own USB to RS232 converter when there are adapters already available from Keyspan and Belkin?

The Answer is simple:
 
That is a problem if you want to, as in my case, program your Stamp Microcontroller on a USB based Mac using Virtual PC.

Does it work with other devices?

Not only does this adapter work with the Stamp IDE natively under Virtual PC, but I have also tested it OK on the Macintosh with

The adapter also works with MacBS2 under OS X. Note, make sure you have installed the latest OS X driver, and are running the latest version of MacBS2.

The Solution

A USB to RS232 converter using the FTDI FT8U232AM and a Maxim-IC MAX235.

The FT8U232AM requires a small number of external components to produce a device that converts USB to TTL level RS232 signals. All you need to add is a TTL to RS232 converter to provide the +/-12V RS232 logic levels.

The FT8U232AM and supporting components is also available as a complete module - called a USBMOD1 - in a 32pin DIL IC package, making the whole project very easy to build.

Distributor information for the USBMOD1 is mentioned later.

Below is a photo of my finished Adapter:

OK, this is what you will need:

Hardware:

Computer:

These are the specs as used on my system. Higher spec systems should work fine, but I can not be sure about lower spec systems.

Circuit Diagram:

The circuit is powered from the USB Bus. No external capacitors are needed with the MAX235 (except for the decoupling capacitor), as they are all on the chip.

Construction:

Software installation:

Some important information:

FTDI's site has drivers for Macintosh and Windows for their USB controller chips. If you want to use this adapter for Macintosh devices and Windows devices, you will need to set up different extension sets in the Extensions manager.

If you don't, and you start up Virtual PC with the FTDI Macintosh extension enabled, you will cause Virtual PC (and your Mac) to crash.

Installing the software:

 

Windows Driver | Mac OS 8.6 to 9.2.2 and Mac OS X drivers

 

Where to get the parts: