RS232 v RS485

Control Boards, Controllers, Tethers, Ect.
Post Reply
angusisthedevil
Posts: 4
Joined: Jun 10th, 2012, 8:03 pm

RS232 v RS485

Post by angusisthedevil »

I am experimenting with Arduino topside and Arduino Sub side controllers with serial comms between the 2.

I can get serial information across no problem but have not tried any distance. I suspect RS232 will not go 100 feet or more hence my next step of going RS485 which is not so expensive to add to Arduino as adding ethernet.

Has anyone used RS232 like this over long distances?

Anyone see a problem with RS485 for ROV?

Any advice would be appreciated.
reHosea
Posts: 17
Joined: Apr 12th, 2012, 3:36 pm

Re: RS232 v RS485

Post by reHosea »

I'm communicating using RS232 with a 16F877 Pic Processor in our ROV on 500' of Cat-5 cable and it's working fine. I'm using a laptop that's running MS Windows on the other end.
angusisthedevil
Posts: 4
Joined: Jun 10th, 2012, 8:03 pm

Re: RS232 v RS485

Post by angusisthedevil »

Thanks for the info.
User avatar
thegadgetguy
Posts: 238
Joined: Feb 13th, 2011, 8:27 pm
Location: Pennsylvania

Re: RS232 v RS485

Post by thegadgetguy »

I've used RS-232 at about 85+ feet with Arduino, and it works perfectly fine, no connectivity problems. RS-485 would obviously work better for longer distances, but the RS-232 to TTL converters seem cheaper.
gumma
Posts: 49
Joined: Jun 1st, 2011, 4:05 am

Re: RS232 v RS485

Post by gumma »

I implemented two rs232 to rs485 converters from arduino to PC, works fine. I had some problems so keep in mind:
1) Don't use arduino pins 0 and 1 for communication, use 2 other pins (i used 2 & 3)
2) Maybe you'll need to invert serial signals ( i had to).

You can fix both issues with NewSoftSerial library.

Here's an example:

#include <NewSoftSerial.h>
NewSoftSerial SerialInverted(2, 3, true);
User avatar
KR2_Diving
Posts: 391
Joined: Aug 30th, 2012, 11:43 am
Location: Currently: NW Suburbs of Chicago. Originally: NE Wisconsin

Re: RS232 v RS485

Post by KR2_Diving »

angusisthedevil wrote:I am experimenting with Arduino topside and Arduino Sub side controllers with serial comms between the 2.

I can get serial information across no problem but have not tried any distance. I suspect RS232 will not go 100 feet or more hence my next step of going RS485 which is not so expensive to add to Arduino as adding ethernet.

Has anyone used RS232 like this over long distances?

Anyone see a problem with RS485 for ROV?

Any advice would be appreciated.
Hey there Angusisthedevil,
Have you made any further progress on this? I have been researching this EXACT point all night and would be interested to hear what you ended up with? What you tested? What worked, what didn't?

I think I am going to go with the RS485 because of the stability, but if I can get away with RS232, it would save a few wires in my tether!

Does anyone else have any additional info at this time?

Cheers,
Ryan "KR2_Diving"
DavidF
Posts: 101
Joined: Aug 27th, 2012, 1:15 pm
Location: Delaware

Re: RS232 v RS485

Post by DavidF »

Im researching comminucations as well, Im no electronic person by any means but heve been trying to figure out if something like this would work. http://www.sitech-bitdriver.com/application/app4.htm
DavidF
Posts: 101
Joined: Aug 27th, 2012, 1:15 pm
Location: Delaware

Re: RS232 v RS485

Post by DavidF »

derelicte
Posts: 292
Joined: Aug 1st, 2011, 3:08 pm

Re: RS232 v RS485

Post by derelicte »

I'm sure it would work if you wanted to use a fiber optic tether, however fiber optics are a whole different can of worms. fiber is expensive, fragile and difficult for average people to terminate. stick with copper.
Post Reply