Maximum distance using a serial port

Hello,
I am using a MEGA 2560 Arduino communicating with a touch screen display using the serial port TX0/RX0.

What is the maximum distance allowed between the Arduino and the touch screen panel if the speed would be at 9600. Should I use any special cable between them.
Thanks
Bobby

Will you be using TTL to RS232 converters ?

What distance do you anticipate ?

If using TTL, then you can go upto 50 feet without any buffering.

If you intend to go 100 and 150 feet, then use RS232 logic using the following converter module (Fig-1).


Figure-1:

Hello,
Distance would be less than 50 feet. So based on your answer, I do not need any buffering or conversion.
But I have another project that might be over 100 feet. Can you provide the part number of the part shown in figure 1.
Thank you all for your response.

1000s of hits when you GOOGLE.

Thanks

It can be any distance, it dependes on how long your usb cable is.

Can you post a link to that device please? RS232 is not the only serial comms standard!

Wrong!

every protocol has its electrical cable length limitations.

I2C --> cms (depends on speed);
the maximum bus length of an I2C link is about 1 meter at 100
Kbaud, or 10 meters at 10 Kbaud.
ref: I2C Bus Range and Electrical Specifications, Freescale 9S12 HCS12 MC9S12 I2C Hardware =So%20the%20maximum%20bus%20length,within%20an%20otherwise%20shielded%20enclosure.

SPI
While the SPI communication method is generally suitable for distances up to approximately 10 m
Ref: Isolated SPI Communication Made Easy | Analog Devices

RS232
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.
Ref: https://www.lammertbies.nl/comm/info/rs-232-specs

USB
If you are not using a regular cable, then the maximum active cable length for USB 2.0 is 30 meters (98 feet and 5 inches) and the maximum recommended length for USB 3.0/3.1 is 18 meters (about 59 feet). If you are using a regular cable (max length of 5 meters for 2.0 and max length of 3 meters for 3.0/3.1) with an active cable, then the maximum length for USB 2.0 is 25 meters (about 82 feet) and the maximum recommended length for USB 3.0/3.1 is 15 meters (about 49 feet).
Ref: USB Cable Length Limitations And How To Break Them

RS485
The maximum distance of RS-485 without using a repeater is 4000 feet (1220 meters) at baud rates up to 90Kbps.
Extend that distance by adding an RS-485 Repeater or Optically Isolated Repeater every 4000 feet.
Ref: http://www.bb-elec.com/Learning-Center/All-White-Papers/Serial/RS-485-Tips,-Tricks,-Questions-Answers/RS-485-Tips,-Tricks,- Questions-Answers.pdf

UTP Cat5/Cat6
The maximum length you can run Cat5, Cat5e, Cat6 and Cat6a cable is 100 meters or 328 feet. If you require a longer run, you will need to put an active component, such as a router, in-between the signals.
Ref: https://www.showmecables.com/blog/post/discussing-cat5-length-limits

etc. etc.

everything has limits.

RV mineirin

1 Like

bruh that dont make sense

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.