Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Thread

USB to serial db9 cable

USB to serial db9 cable

2010-02-23 by rsimonus

I am curious about USB to serial db9 cable. I am planning to buy one. I want to know if any USB to serial 9pin cable which will work with any device and my old Sony Clie or it is depend on brand and model? I see walmart sell those for $9 dollars.

Reid

Re: [AVR-Chat] USB to serial db9 cable

2010-02-23 by Leon Heller

On 23/02/2010 23:00, rsimonus wrote:
> I am curious about USB to serial db9 cable. I am planning to buy one. I want to know if any USB to serial 9pin cable which will work with any device and my old Sony Clie or it is depend on brand and model? I see walmart sell those for $9 dollars.

The ones with an FTDI chip usually work OK. There are some with a 
cheaper chip (I forget what they are called, something beginning with 
P?) but they often have problems. The very cheap ones like that $9 one 
might not work very well.

Leon
-- 
G1HSM
http://webspace.webring.com/people/jl/leon_heller/

Re: USB to serial db9 cable

2010-02-24 by Donald H

--- In AVR-Chat@yahoogroups.com, Leon Heller <leon355@...> wrote:
>
> On 23/02/2010 23:00, rsimonus wrote:
> > I am curious about USB to serial db9 cable. I am planning to buy one. I want to know if any USB to serial 9pin cable which will work with any device and my old Sony Clie or it is depend on brand and model? I see walmart sell those for $9 dollars.
> 
> The ones with an FTDI chip usually work OK. There are some with a 
> cheaper chip (I forget what they are called, something beginning with 
> P?) but they often have problems. 

Prolific PL-2303

These have been around for a long time and work very well.

One thing you have to understand, after loading the driver for the first time, the USB dongle will be assigned a serial port number by Windows.

If you plug the same dongle into another USB port on the same computer, the COMx port number will change. But if you plug it back into the original USB port, the original number will be assigned.

This is Windows, not the dongle.

I have not found any USB-2-serial dongle that will keep the COMx number the same across USB ports.

don



The very cheap ones like that $9 one 
Show quoted textHide quoted text
> might not work very well.
> 
> Leon
> -- 
> G1HSM
> http://webspace.webring.com/people/jl/leon_heller/
>

Re: [AVR-Chat] USB to serial db9 cable

2010-02-24 by Philippe Habib

I've had mixed luck.  Sometimes they've worked for me.  Sometimes I've  
gotten errors depending on the device.  One motor controller I was  
working with wouldn't work with the cable or with a PCMCIA card.  I  
wound up having to buy a computer with built in serial port for that  
project.

Its cheap enough to see if it would work for you.
Show quoted textHide quoted text
On Feb 23, 2010, at 3:00 PM, rsimonus wrote:

> I am curious about USB to serial db9 cable. I am planning to buy  
> one. I want to know if any USB to serial 9pin cable which will work  
> with any device and my old Sony Clie or it is depend on brand and  
> model? I see walmart sell those for $9 dollars.
>
> Reid
>
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>

Re: [AVR-Chat] Re: USB to serial db9 cable

2010-02-24 by enkitec@gmail.com

On 24-Feb-10 02:06, Donald H wrote:
> I have not found any USB-2-serial dongle that will keep the COMx number the same across USB ports.
>
> don
>
>    

     I would like to introduce my FTDI USB-2-serial dongle that doesn't 
change the COMx number when connected on different USB port.

     Don't ask me why, I don't know.

     Mark Jordan

Re: [AVR-Chat] Re: USB to serial db9 cable

2010-02-24 by STEVEN HOLDER

It depends on how the EEprom is configured, if the device is set to use a fixed serial number then it will always enumerate itself as the same com port whichever USB it is plugged into.
 
I use these devices a fair bit and i always reconfigure the eeprom settings so that all FTDI devices (when i'm developing) will enumerate themselves as the same com port number.
 
MPROG 3.5 can read write these settings or it can be done through the api dll.
 
Regards


--- On Wed, 24/2/10, enkitec@gmail.com <enkitec@gmail.com> wrote:
Show quoted textHide quoted text
From: enkitec@gmail.com <enkitec@gmail.com>
Subject: Re: [AVR-Chat] Re: USB to serial db9 cable
To: AVR-Chat@yahoogroups.com
Date: Wednesday, 24 February, 2010, 12:35


  



On 24-Feb-10 02:06, Donald H wrote:
> I have not found any USB-2-serial dongle that will keep the COMx number the same across USB ports.
>
> don
>
> 

I would like to introduce my FTDI USB-2-serial dongle that doesn't 
change the COMx number when connected on different USB port.

Don't ask me why, I don't know.

Mark Jordan








[Non-text portions of this message have been removed]

Re: [AVR-Chat] Re: USB to serial db9 cable

2010-02-24 by Zack Widup

Is this a commercially available device? Or one you built yourself? Either
way, can you supply info on it?
Zack


On Wed, Feb 24, 2010 at 6:35 AM, <enkitec@gmail.com> wrote:

>
>
> On 24-Feb-10 02:06, Donald H wrote:
> > I have not found any USB-2-serial dongle that will keep the COMx number
> the same across USB ports.
> >
> > don
> >
> >
>
> I would like to introduce my FTDI USB-2-serial dongle that doesn't
> change the COMx number when connected on different USB port.
>
> Don't ask me why, I don't know.
>
> Mark Jordan
>
>  
>


[Non-text portions of this message have been removed]

Re: [AVR-Chat] USB to serial db9 cable

2010-02-24 by Marc R.J. Brevoort

On Tue, 23 Feb 2010, rsimonus wrote:

> I am curious about USB to serial db9 cable.
> I am planning to buy one. I want to know if
> any USB to serial 9pin cable which will work
> with any device and my old Sony Clie or it is
> depend on brand and model? I see walmart sell
> those for $9 dollars.

I recently got one labeled HL-340 which works
fine-it didn't need any drivers, just setting
another COM port from minicom.

Testing it was a bit difficult though.

If you want to use a DB9-to-USB cable
to communicate with a microcontroller, you
need to keep in mind that the data being
sent by the USART is

- inverted comparted to RS232 traffic

- uses TTL levels (0-5 volts) rather
   than RS232 levels (-12..-3, 12..3 volts)

You *can* try to overcome these two problems
by feeding the signals through a NOT gate
and then stepping up the voltage with a
charge pump. This is highly educational and
if you are in it for the experience, I can
highly recommend it.

... but if you simply want to communicate
from AVR to PC and get it done fast, it's
much easier to just order a little MAX232
converter board as well, hook up the USART
pins to that and be done with it.

I got something like this:

http://cgi.ebay.co.uk/MAX232-RS232-Serial-to-TTL-UART-Converter-Board-Adapter_W0QQitemZ120534212314QQcmdZViewItemQQptZUK_Computing_CablesConnectors_RL?hash=item1c10661eda

Depending on your needs you might even simply use a
TTL-to-USB rs232 interface board and skip the
DB9 connector altogether:

http://cgi.ebay.co.uk/USB-to-RS232-Module-Based-TTL-Converter_W0QQitemZ260550110677QQcmdZViewItemQQptZUK_Computing_CablesConnectors_RL?hash=item3ca9ff2dd5

Hope this helps.

Best,
Marc

Re: USB to serial db9 cable

2010-02-24 by dex_design

Hi!

> I have not found any USB-2-serial dongle that will keep the COMx number the same across USB ports.

My Prolific USB-2-serial cable does that under Win 7. Don't know about it under XP, I kind of started using it a few weeks ago.

Re: [AVR-Chat] USB to serial db9 cable

2010-02-24 by Reid

I looked at Newegg store
http://www.newegg.com/Product/ProductList.aspx?Submit=ENE&DEPA=0&Order=BESTMATCH&Description=usb+to+rs232
I
could not find FTDI chip on it. There are few usb to rs232 cables.

Reid

On Tue, Feb 23, 2010 at 4:20 PM, Leon Heller <leon355@btinternet.com> wrote:

>
>
> On 23/02/2010 23:00, rsimonus wrote:
> > I am curious about USB to serial db9 cable. I am planning to buy one. I
> want to know if any USB to serial 9pin cable which will work with any device
> and my old Sony Clie or it is depend on brand and model? I see walmart sell
> those for $9 dollars.
>
> The ones with an FTDI chip usually work OK. There are some with a
> cheaper chip (I forget what they are called, something beginning with
> P?) but they often have problems. The very cheap ones like that $9 one
> might not work very well.
>
> Leon
> --
> G1HSM
> http://webspace.webring.com/people/jl/leon_heller/
>
> 
>


[Non-text portions of this message have been removed]

Re: [AVR-Chat] Re: USB to serial db9 cable

2010-02-24 by Tim McDonough

I would be interested in a solution to this as well. I have several 
pieces of an Arduino board that have USB and no tru serial port. Even 
when they are individually attached to the same USB port they do not 
attach to the same virtual COM port. You can go into Windows and 
change the port but that would be a pain in a lot of applications. It 
would be nice if you could tell the driver to "always use COM5" or 
whatever.

Tim

On Wednesday, February 24, 2010 8:48 AM [GMT+1=CET],
Zack Widup wrote:
Show quoted textHide quoted text
> Is this a commercially available device? Or one you built
> yourself? Either way, can you supply info on it?
> Zack
>
>
> On Wed, Feb 24, 2010 at 6:35 AM, <enkitec@gmail.com> wrote:
>
>>
>>
>> On 24-Feb-10 02:06, Donald H wrote:
>>> I have not found any USB-2-serial dongle that will keep the
>>> COMx number the same across USB ports.
>>>
>>> don
>>>
>>>
>>
>> I would like to introduce my FTDI USB-2-serial dongle that
>> doesn't change the COMx number when connected on different
>> USB port.
>>
>> Don't ask me why, I don't know.
>>
>> Mark Jordan
>>
>>
>>
>
>
> [Non-text portions of this message have been removed]
>
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>

Re: [AVR-Chat] Re: USB to serial db9 cable

2010-02-24 by enkitec@gmail.com

It isn't a comercial device. Just an old FT232AM chip without 
external EEPROM, circuit according to FTDI. Nothing special.
     I can plug it on any USB port to have a COM2 on Windows.

     Mark Jordan
Show quoted textHide quoted text
On 24-Feb-10 11:48, Zack Widup wrote:
> Is this a commercially available device? Or one you built yourself? Either
> way, can you supply info on it?
> Zack
>
>
> On Wed, Feb 24, 2010 at 6:35 AM,<enkitec@gmail.com>  wrote:
>
>    
>>
>> On 24-Feb-10 02:06, Donald H wrote:
>>      
>>> I have not found any USB-2-serial dongle that will keep the COMx number
>>>        
>> the same across USB ports.
>>      
>>> don
>>>
>>>
>>>        
>> I would like to introduce my FTDI USB-2-serial dongle that doesn't
>> change the COMx number when connected on different USB port.
>>
>> Don't ask me why, I don't know.
>>
>> Mark Jordan
>>
>>
>>
>>      
>
> [Non-text portions of this message have been removed]
>
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>
>
>

Re: [AVR-Chat] Re: USB to serial db9 cable

2010-02-24 by Zack Widup

I have several pieces of ham radio equipment that use RS232
connections. These pieces of equipment that are commercially made were
either made by companies that are no longer around or are not being
produced with USB upgrades yet. And then there's some things I built
myself!

Zack
Show quoted textHide quoted text
On Wed, Feb 24, 2010 at 10:23 AM, Tim McDonough <tmcdonough@gmail.com> wrote:
> I would be interested in a solution to this as well. I have several
> pieces of an Arduino board that have USB and no tru serial port. Even
> when they are individually attached to the same USB port they do not
> attach to the same virtual COM port. You can go into Windows and
> change the port but that would be a pain in a lot of applications. It
> would be nice if you could tell the driver to "always use COM5" or
> whatever.
>
> Tim
>
> On Wednesday, February 24, 2010 8:48 AM [GMT+1=CET],
> Zack Widup wrote:
>
>> Is this a commercially available device? Or one you built
>> yourself? Either way, can you supply info on it?
>> Zack
>>
>>
>> On Wed, Feb 24, 2010 at 6:35 AM, <enkitec@gmail.com> wrote:
>>
>>>
>>>
>>> On 24-Feb-10 02:06, Donald H wrote:
>>>> I have not found any USB-2-serial dongle that will keep the
>>>> COMx number the same across USB ports.
>>>>
>>>> don
>>>>
>>>>
>>>
>>> I would like to introduce my FTDI USB-2-serial dongle that
>>> doesn't change the COMx number when connected on different
>>> USB port.
>>>
>>> Don't ask me why, I don't know.
>>>
>>> Mark Jordan
>>>
>>>
>>>
>>
>>
>> [Non-text portions of this message have been removed]
>>
>>
>>
>> ------------------------------------
>>
>> Yahoo! Groups Links
>>
>>
>>
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>
>

Re: [AVR-Chat] USB to serial db9 cable

2010-02-25 by Moataz Hussein

I,ve used the CP2102 it comes complete on board with output level at 5V which can be connected directly to the controller,

http://www.sparkfun.com/commerce/product_info.php?products_id=198

Hope this helps,

Moataz Hussein
Show quoted textHide quoted text
  ----- Original Message ----- 
  From: Marc R.J. Brevoort 
  To: AVR-Chat@yahoogroups.com 
  Sent: Wednesday, February 24, 2010 4:51 PM
  Subject: Re: [AVR-Chat] USB to serial db9 cable


    
  On Tue, 23 Feb 2010, rsimonus wrote:

  > I am curious about USB to serial db9 cable.
  > I am planning to buy one. I want to know if
  > any USB to serial 9pin cable which will work
  > with any device and my old Sony Clie or it is
  > depend on brand and model? I see walmart sell
  > those for $9 dollars.

  I recently got one labeled HL-340 which works
  fine-it didn't need any drivers, just setting
  another COM port from minicom.

  Testing it was a bit difficult though.

  If you want to use a DB9-to-USB cable
  to communicate with a microcontroller, you
  need to keep in mind that the data being
  sent by the USART is

  - inverted comparted to RS232 traffic

  - uses TTL levels (0-5 volts) rather
  than RS232 levels (-12..-3, 12..3 volts)

  You *can* try to overcome these two problems
  by feeding the signals through a NOT gate
  and then stepping up the voltage with a
  charge pump. This is highly educational and
  if you are in it for the experience, I can
  highly recommend it.

  ... but if you simply want to communicate
  from AVR to PC and get it done fast, it's
  much easier to just order a little MAX232
  converter board as well, hook up the USART
  pins to that and be done with it.

  I got something like this:

  http://cgi.ebay.co.uk/MAX232-RS232-Serial-to-TTL-UART-Converter-Board-Adapter_W0QQitemZ120534212314QQcmdZViewItemQQptZUK_Computing_CablesConnectors_RL?hash=item1c10661eda

  Depending on your needs you might even simply use a
  TTL-to-USB rs232 interface board and skip the
  DB9 connector altogether:

  http://cgi.ebay.co.uk/USB-to-RS232-Module-Based-TTL-Converter_W0QQitemZ260550110677QQcmdZViewItemQQptZUK_Computing_CablesConnectors_RL?hash=item3ca9ff2dd5

  Hope this helps.

  Best,
  Marc


  

[Non-text portions of this message have been removed]

Re: USB to serial db9 cable

2010-02-28 by stevec

I and many others choose USB/Serial adapters that use the FTDI chipset and Windows driver. Always good and reliable, unlike so many crapola drivers from China.


--- In AVR-Chat@yahoogroups.com, "dex_design" <dzoltan.listak@...> wrote:
Show quoted textHide quoted text
>
> Hi!
> 
> > I have not found any USB-2-serial dongle that will keep the COMx number the same across USB ports.
> 
> My Prolific USB-2-serial cable does that under Win 7. Don't know about it under XP, I kind of started using it a few weeks ago.
>

Re: [AVR-Chat] Re: USB to serial db9 cable

2010-02-28 by Bob Paddock

On Wed, Feb 24, 2010 at 11:23 AM, Tim McDonough <tmcdonough@gmail.com> wrote:
> Even
> when they are individually attached to the same USB port they do not
> attach to the same virtual COM port. You can go into Windows and
> change the port but that would be a pain in a lot of applications. It
> would be nice if you could tell the driver to "always use COM5" or
> whatever.

This should work for non-FTDI devices, just match the VID/PID.

From FTDI Support:

Hello,

What you will need to do is uninstall the driver for the FTDI device. Now
you will need to create a binary value in the registry by doing the
following:

Go to START and select RUN

Type regedit in the filed and select ok to get into the registry

Add a REG_BINARY value called IgnoreHWSerNum to the registry and setting it
to 01.

This value is held in the registry key located at:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\UsbFlags\IgnoreHWSerNum
(Device VID, PID and interface}

For a default FTDI device ID (VID 0x0403, PID 0x6001), add the following
registry REG_BINARY value set to 01:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\UsbFlags\IgnoreHWSerNum0
4036001

Now install the driver again. After this the com port should not increment.

Regards

James Leary
Support Engineer
FTDI Ltd


-- 
http://www.wearablesmartsensors.com/
http://www.softwaresafety.net/
http://www.designer-iii.com/
http://www.unusualresearch.com/

Re: [AVR-Chat] Re: USB to serial db9 cable

2010-02-28 by David VanHorn

>> when they are individually attached to the same USB port they do not
>> attach to the same virtual COM port. You can go into Windows and
>> change the port but that would be a pain in a lot of applications. It
>> would be nice if you could tell the driver to "always use COM5" or
>> whatever.


The edgeport devices let you assign com port numbers to a physical device.
When you plug a given box in to any usb port on your machine, it goes
to the same com port assignments that it had been assigned.

Re: USB to serial db9 cable

2010-03-01 by stevec

Edgeport USB to serial box. I have 8 ports.
Great software, if you need that many.

eBay - has a lot of edgeport 4 and 8 port boxes.


--- In AVR-Chat@yahoogroups.com, "Dave McLaughlin" <dave_mclaughlin@...> wrote:
Show quoted textHide quoted text
>
> I like the idea that is selects a different COM port as it allows me to use
> more than 1 of the same type on the same PC. This allows me to add more
> additional serial ports and in the past I have had 6 installed without any
> issues whatsoever.
> 
>  
> 
> Dave.
> 
>  
> 
> From: AVR-Chat@yahoogroups.com [mailto:AVR-Chat@yahoogroups.com] On Behalf
> Of David VanHorn
> Sent: 01 March 2010 06:11
> To: AVR-Chat@yahoogroups.com
> Subject: Re: [AVR-Chat] Re: USB to serial db9 cable
> 
>  
> 
>   
> 
> >> when they are individually attached to the same USB port they do not
> >> attach to the same virtual COM port. You can go into Windows and
> >> change the port but that would be a pain in a lot of applications. It
> >> would be nice if you could tell the driver to "always use COM5" or
> >> whatever.
> 
> 
> 
> 
> 
> 
> [Non-text portions of this message have been removed]
>

RE: [AVR-Chat] Re: USB to serial db9 cable

2010-03-01 by Dave McLaughlin

I like the idea that is selects a different COM port as it allows me to use
more than 1 of the same type on the same PC. This allows me to add more
additional serial ports and in the past I have had 6 installed without any
issues whatsoever.

 

Dave.
Show quoted textHide quoted text
From: AVR-Chat@yahoogroups.com [mailto:AVR-Chat@yahoogroups.com] On Behalf
Of David VanHorn
Sent: 01 March 2010 06:11
To: AVR-Chat@yahoogroups.com
Subject: Re: [AVR-Chat] Re: USB to serial db9 cable

 

  

>> when they are individually attached to the same USB port they do not
>> attach to the same virtual COM port. You can go into Windows and
>> change the port but that would be a pain in a lot of applications. It
>> would be nice if you could tell the driver to "always use COM5" or
>> whatever.






[Non-text portions of this message have been removed]

Re: [AVR-Chat] Re: USB to serial db9 cable

2010-03-01 by Bob Paddock

On Sun, Feb 28, 2010 at 10:05 PM, Dave McLaughlin <
dave_mclaughlin@nerdshack.com> wrote:

>
>
> I like the idea that is selects a different COM port as it allows me to use
> more than 1 of the same type on the same PC.
>
The "every time I plug in I'm a new COM port" problem really confuses
non-computer people that use my products.




-- 
http://www.wearablesmartsensors.com/
http://www.softwaresafety.net/
http://www.designer-iii.com/
http://www.unusualresearch.com/


[Non-text portions of this message have been removed]

RE: [AVR-Chat] Re: USB to serial db9 cable

2010-03-01 by Dave McLaughlin

If your product is designed to run with your on software you should consider
using the likes of the DLL from FTDI (assuming you use the FTDI devices) as
this will remove the issue of knowing what com port it is on.

 

The COM port option is really only applicable to a device which is going to
emulate the standard com ports. The DLL option is a much nicer way of
installing your system and it gives you greater control.

 

Dave.
Show quoted textHide quoted text
From: AVR-Chat@yahoogroups.com [mailto:AVR-Chat@yahoogroups.com] On Behalf
Of Bob Paddock
Sent: 01 March 2010 18:02
To: AVR-Chat@yahoogroups.com
Subject: Re: [AVR-Chat] Re: USB to serial db9 cable

 

  

On Sun, Feb 28, 2010 at 10:05 PM, Dave McLaughlin <
dave_mclaughlin@nerdshack.com <mailto:dave_mclaughlin%40nerdshack.com> >
wrote:

>
>
> I like the idea that is selects a different COM port as it allows me to
use
> more than 1 of the same type on the same PC.
>
The "every time I plug in I'm a new COM port" problem really confuses
non-computer people that use my products.





[Non-text portions of this message have been removed]

Re: [AVR-Chat] Re: USB to serial db9 cable

2010-03-12 by Ned Konz

On Wed, 2010-02-24 at 05:06 +0000, Donald H wrote:
> 
> --- In AVR-Chat@yahoogroups.com, Leon Heller <leon355@...> wrote:
> >
> > On 23/02/2010 23:00, rsimonus wrote:
> > > I am curious about USB to serial db9 cable. I am planning to buy one. I want to know if any USB to serial 9pin cable which will work with any device and my old Sony Clie or it is depend on brand and model? I see walmart sell those for $9 dollars.
> > 
> > The ones with an FTDI chip usually work OK. There are some with a 
> > cheaper chip (I forget what they are called, something beginning with 
> > P?) but they often have problems. 
> 
> Prolific PL-2303
> 
> These have been around for a long time and work very well.
> 
> One thing you have to understand, after loading the driver for the first time, the USB dongle will be assigned a serial port number by Windows.
> 
> If you plug the same dongle into another USB port on the same computer, the COMx port number will change. But if you plug it back into the original USB port, the original number will be assigned.
> 
> This is Windows, not the dongle.
> 
> I have not found any USB-2-serial dongle that will keep the COMx number the same across USB ports.
> 


The last time I was forced to use Windows, I was able to assign a fixed
COMx name for my USB serial adapter. Something like:

Control Panel/System/Hardware/Device Manager
/Ports/<port>/properties/Port Settings/Advanced.../COM Port Number

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.