You infrared my mind.
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 22-01-2006, 08:46
Spencer E.'s Avatar
Spencer E. Spencer E. is offline
Android junkie
FRC #1305 (NNSRI Ice3 (cubed))
Team Role: Alumni
 
Join Date: Apr 2005
Rookie Year: 2004
Location: Ontario, Canada
Posts: 91
Spencer E. has a spectacular aura aboutSpencer E. has a spectacular aura about
Send a message via MSN to Spencer E.
USB-Serial Cable + Terminal

Is anyone having trouble with using a USB-Serial cable to recieve information in the Terminal window? I don't know if it's the software or the cable but whenever I load a program onto the FRC RC, I get nothing back . If anyone has any idea what the problem is or what to do, it would be greatly appreciate for your help.
  #2   Spotlight this post!  
Unread 22-01-2006, 12:00
AMIRAM AMIRAM is offline
Registered User
no team
 
Join Date: Jan 2006
Location: ISRAEL
Posts: 16
AMIRAM is an unknown quantity at this point
Re: USB-Serial Cable + Terminal

Quote:
Originally Posted by Spencer E.
Is anyone having trouble with using a USB-Serial cable to recieve information in the Terminal window? I don't know if it's the software or the cable but whenever I load a program onto the FRC RC, I get nothing back . If anyone has any idea what the problem is or what to do, it would be greatly appreciate for your help.

Hi

i tried to connect it ones to another app and it didnt work becuse the usb is 5v and the computer serial is -+12v in our RC we have dc-dc converter....

also u should check the usb-serial driver is win-xp compatible


Amiram
  #3   Spotlight this post!  
Unread 22-01-2006, 12:08
Bruce Mather's Avatar
Bruce Mather Bruce Mather is offline
Reggie Programmer Ya Mon
AKA: Bruce Mather
FRC #0449 (Toltechs)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2005
Location: San Antonio, TX
Posts: 7
Bruce Mather is on a distinguished road
Re: USB-Serial Cable + Terminal

USB to RS-232 Cables...

Many laptops today do not include RS-232 ports or even parallel ports...They have all moved to USB ports. That means, the USB-(insert obsolete port here) market has grown for backward compatibility. A USB port is much more complicated than RS-232 because it includes the plug-n-play protocol on top of the simple serial interface. This means, the device identifies what it is when you plug in a USB cable from a gizmo (digital camera, flash drive, etc.). The old RS-232 port has no such protocol built into any OS (that I know of).

It is true that USB provides 5 volts at some nominal current sourcing level (?) and that RS-232 uses +/- 12 volts as its signalling level. However, USB-to-RS232 conversion cables (perhaps with a module) include built in level converters (charge pumpts, DC/DC converters) which understand the RS-232 voltage levels. And...when you plug this cable into a USB port, it will identify itself (ala firmare actually in the cable IC) that it is a "COM port" device. You may need drivers (from included CD) to be installed.

The problem may be more recognition of the COM port name/number by the software. Many times, USB ports are numbered around 10, 11, etc. rather than starting at 1 (COM1. The software must know which "virtual" com port it is opening and talking to. So see if the USB driver supports a given range of com port numbers and make sure it matches the application port number.

Last edited by Bruce Mather : 22-01-2006 at 12:11.
  #4   Spotlight this post!  
Unread 22-01-2006, 12:16
JBotAlan's Avatar
JBotAlan JBotAlan is offline
Forever chasing the 'bot around
AKA: Jacob Rau
FRC #5263
Team Role: Mentor
 
Join Date: Sep 2004
Rookie Year: 2004
Location: Riverview, MI
Posts: 723
JBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond repute
Send a message via AIM to JBotAlan Send a message via Yahoo to JBotAlan
Re: USB-Serial Cable + Terminal

I am using a USB-to-serial cable and I have a tip for you:

If the thing came with a drivers CD, make sure you are using that driver. Don't upgrade, or use an alternative. The cable I have registered as a "Prolific USB-to-comm" or something like that, and Windows automatically used the Microsoft-written driver for it. I was having communication issues, where there was no response from whatever I was talking to (the CMUcam, the RC). I upgraded the drivers with the ones on the CD, and it has worked flawlessly since then.

Also, you could try to go to the manufacturer's website for drivers, but I tried that on another machine and the best drivers produced blue-screen "stop" errors...not fun.

Good luck with this, because I know how much of a pain in the *** these things can be.

JBotAlan
__________________
Aren't signatures a bit outdated?
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Using USB with Serial Tower Mick Lego Mindstorm Discussion 11 07-11-2006 09:54
CMUcam2 Serial Port Diagnostics Kevin Watson Programming 13 18-02-2006 15:05
Updated: Serial Port Driver Code Kevin Watson Programming 4 05-02-2005 18:39
New Serial Port Driver Kevin Watson Programming 16 09-01-2005 01:56
USB to Serial -- Working Device Found! Eko Programming 10 23-02-2004 12:56


All times are GMT -5. The time now is 06:14.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi