### Author Topic: Maximum Serial Cable length?  (Read 9282 times)

0 Members and 3 Guests are viewing this topic.

#### jibeling

• Jr. Member
• Posts: 9
##### Maximum Serial Cable length?
« on: March 31, 2008, 01:33:14 PM »
Anyone have any idea/experience with RS-232 cable? What is the longest cable length possible with a 19200 bps data rate? There has to be someone that has tried this out.

John

#### jibeling

• Jr. Member
• Posts: 9
##### Re: Maximum Serial Cable length?
« Reply #1 on: March 31, 2008, 03:49:25 PM »

#### airman00

• Contest Winner
• Supreme Robot
• Posts: 3,653
• narobo.com
##### Re: Maximum Serial Cable length?
« Reply #2 on: March 31, 2008, 05:29:13 PM »

please post your answer and not just say that you found it. It might help out other people.
Check out the Roboduino, Arduino-compatible board!

www.Narobo.com

#### Webbot

• Expert Roboticist
• Supreme Robot
• Posts: 2,166
##### Re: Maximum Serial Cable length?
« Reply #3 on: March 31, 2008, 07:32:07 PM »
From http://www.lammertbies.nl/comm/info/RS-232_specs.html

Quote
Cable length is one of the most discussed items in RS232 world. The standard has a clear answer, the maximum cable length is 50 feet, or the cable length equal to a capacitance of 2500 pF. The latter rule is often forgotten. This means that using a cable with low capacitance allows you to span longer distances without going beyond the limitations of the standard. If for example UTP CAT-5 cable is used with a typical capacitance of 17 pF/ft, the maximum allowed cable length is 147 feet.

The cable length mentioned in the standard allows maximum communication speed to occur. If speed is reduced by a factor 2 or 4, the maximum length increases dramatically. Texas Instruments has done some practical experiments years ago at different baud rates to test the maximum allowed cable lengths. Keep in mind, that the RS232 standard was originally developed for 20 kbps. By halving the maximum communication speed, the allowed cable length increases a factor ten!
Webbot Home: http://webbot.org.uk/
WebbotLib online docs: http://webbot.org.uk/WebbotLibDocs
If your in the neighbourhood: http://www.hovinghamspa.co.uk

#### jibeling

• Jr. Member
• Posts: 9
##### Re: Maximum Serial Cable length?
« Reply #4 on: April 01, 2008, 11:14:25 AM »
I found the same site as Webbot. If a longer distance than 50 feet is needed, slow the bit rate down and you can go much longer apparently.

#### izua

• Supreme Robot
• Posts: 682
##### Re: Maximum Serial Cable length?
« Reply #5 on: April 01, 2008, 01:36:35 PM »
Or better yet, use a higher voltage (up to the specs, of course) or get a better chip with a higher slew rate (max232A instead of max232 f.i.)
Check out my homepage for in depth tutorials on microcontrollers and electronics.