RS232 vs IC2 signal distance
eagletalontim
Posts: 1,399
Quick question....Does anyone know the max distance for both of these? I am wanting to run my display up to 4 feet away from the main circuit and was wondering if either of those 2 setups could handle that distance. I am thinking RS232 is more reliable, but I would prefer to have some feedback on that before I begin my circuit design.
Comments
RS232 was meant for long runs, especially the +/- ~10 volt version. The TTL version of RS232 would be good for several feet too.
I2C is really meant for close range comms, so at 4 feet I think I'd recommend RS232. But, I think either would work.
Like others I have run I2C for much greater distance than they were originally designed for (internal to a TV chassis). If running I2C means you can avoid implementing RS232 then by all means use I2C. However I would use a separate I2C bus from your onboard I2C which may only just be the EEPROM. Also I would use lower values of resistors on the bus, nominally 2.2K for instance. There is no need for special cable of buffers over what is essentially an arm's length. Keep it simple.
Basically RS-232 uses direct one way drivers.
I2C uses open drain drivers with pull up resisters, is bidirectional, and can be connected to multiple devices.
If you use I2C use separate pins from any other deices and minimum acceptable pull up resisters values.
Duane.