How long distance for RS232 ?


Closed Thread
Results 1 to 8 of 8
  1. #1

    Default How long distance for RS232 ?

    Hi all
    I use MAX232 or DS275 with PIC16f877A to make serial communication, anyone know how long distance for this communication ??

  2. #2
    Join Date
    Oct 2003
    Location
    holland
    Posts
    251


    Did you find this post helpful? Yes | No

    Default

    For rs 232c communication is 1200 m max.
    If you change it to rs422 or rs485 then a few Km more is no problem.

  3. #3
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by mat janssen View Post
    For rs 232c communication is 1200 m max.
    In real life with RS232 you can expect around 100 feet (30 meters).
    I am talking a reliable setup with good shielded cable and the environment used in does not have great amount of noise (electrical).
    Dave
    Always wear safety glasses while programming.

  4. #4
    Join Date
    Sep 2005
    Location
    Campbell, CA
    Posts
    1,107


    Did you find this post helpful? Yes | No

    Default

    It depends a lot on the cable and the baud rate. Many years ago, I ran 115Kbaud through 100' and 19.2Kbaud through 300' of expensive shielded cable. It was for PC network that ran through serial ports instead of Ethernet.
    Charles Linquist

  5. #5


    Did you find this post helpful? Yes | No

    Default

    Thanks for your replies

    I think that RS485 will be a good choice for long distance as I read in some sites

  6. #6
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,115


    Did you find this post helpful? Yes | No

    Default

    What is your definition for long?

    Ioannis

  7. #7
    Join Date
    Jan 2006
    Location
    Istanbul
    Posts
    1,185


    Did you find this post helpful? Yes | No

    Default

    A little experiment from real life:
    I am already using 50m cable from one 16F628A to the other with perfect result.
    There is nothing in between. Just two PICs with HSerOut and HSerIn commands.
    "If the Earth were a single state, Istanbul would be its capital." Napoleon Bonaparte

  8. #8
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,115


    Did you find this post helpful? Yes | No

    Default

    It is possible depending on speed, cable, interference and drive and input electronics to obtain more range than what the standard supports. But to be on the safe side, choose the right tool for the job to have repeatable results.

    So, even if the 50m that Sayzer succeeded in are impressive it could be even longer for a more powerfull drive circuit and a more sophisticated input front-end. But for what reason when you have at hand the most reliable and cheap RS-485 chip, SN75176 and of course all other clones that work similar, better or faster? It is made for the long range network and it does that in an easy and perfect manner.

    Used it alot and had no problem either in short or long distances. In fact I like it so that even for very short distances I am considering to use it because of the multi drop features.

    Ioannis

Similar Threads

  1. Questions on ultrasonic distance finder
    By lilimike in forum mel PIC BASIC Pro
    Replies: 19
    Last Post: - 20th April 2010, 21:19
  2. High Resolution Timer & Speed Calculator
    By WOZZY-2010 in forum Code Examples
    Replies: 4
    Last Post: - 7th February 2010, 16:45
  3. Long distance Communicating between PICs
    By koossa in forum mel PIC BASIC Pro
    Replies: 11
    Last Post: - 4th January 2008, 06:47
  4. Long varible strings
    By flashg in forum Serial
    Replies: 0
    Last Post: - 14th October 2006, 04:40
  5. Long Distance Input's to Pic
    By GregK in forum General
    Replies: 3
    Last Post: - 21st April 2005, 09:37

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts