Serial to USB
CraXz
Posts: 3
Hi,
I am having a problem with a USB to serial connection, The serial port is detected by windows and works fine with different RS232 programs.
When I am using the self created cable on my BASIC Stamp 2 Module the program doesn't see the board.
The only thing i get is an echo, I have seached this forum for similiar problems, and I know that not al cables work because of the DTR signal ( Handshaking signal ).
I have also read that almost all FTDI chips should wordt with the parallax drives.
For my own serial/USB cable I am using a FT232BL chip. This chip has the standard RX and TX pins. Like i said before, these pins work great on different applications.
This chip also has the DTR pin on it, The only thing is, is that this pin is inverted.
I have tried different setups, With an MAX232, without it, With Transistors and without them, I also tried to invert the DTR line with an inverter. But all these diffirent settings gave me the same result.
I also tried diffirent drives, I tried the officals drives and the parallex drives, But I am shure that the drives aren't the problem.
When buying a development board they also use the FTDI chip, But this time they use the FT232RQ, Should i give this chip a try or does anyone has encounterd these problems before?
Hoping for an awnser
I am having a problem with a USB to serial connection, The serial port is detected by windows and works fine with different RS232 programs.
When I am using the self created cable on my BASIC Stamp 2 Module the program doesn't see the board.
The only thing i get is an echo, I have seached this forum for similiar problems, and I know that not al cables work because of the DTR signal ( Handshaking signal ).
I have also read that almost all FTDI chips should wordt with the parallax drives.
For my own serial/USB cable I am using a FT232BL chip. This chip has the standard RX and TX pins. Like i said before, these pins work great on different applications.
This chip also has the DTR pin on it, The only thing is, is that this pin is inverted.
I have tried different setups, With an MAX232, without it, With Transistors and without them, I also tried to invert the DTR line with an inverter. But all these diffirent settings gave me the same result.
I also tried diffirent drives, I tried the officals drives and the parallex drives, But I am shure that the drives aren't the problem.
When buying a development board they also use the FTDI chip, But this time they use the FT232RQ, Should i give this chip a try or does anyone has encounterd these problems before?
Hoping for an awnser
Comments
I'm not sure what you mean by an "inverted DTR signal". That assumes you know which voltage is actually "Active".
I have searched some more around the web and i figured out that u need to place a 12.2K resistor in the EEDATA pin on the FT232BL chip.
I don't think that this solves the handshaking problem with the basic stamp program. Because windows sees my usb/serial cable as a working convertor.
The basic stamp program also reconises my cable as an com port. but al i get is an echo, so the problem is not in my convetor but in the DTR ( Handshake ) signal
I u used my own serial/USB cable before with a visual basic program. Then i had no problems with sending and getting data. ( I didn't use the DTR pin then ).
The problem i got is that i need to handshake with my basic stamp, and i need to do that with the DTR pin, But somehow i can't get this working.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- Stephen
·