Pages: [1]   Go Down
Author Topic: How to send commands to motor controller down a 100ft wire  (Read 540 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Sr. Member
****
Karma: 0
Posts: 340
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

 
If I was using one of these motor controllers which can accept all sorts of protocols for sending commands, what would be the best way send commands down a cat5 cable to it from a long distance like 100ft? It's not a wiring question but a question of which command protocol will still be interpretable by the controller 100ft down a wire. Or, which protocol could most easily be made to work that far.
http://www.pololu.com/catalog/category/96
Logged

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 596
Posts: 33271
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

For that distance I would use asynchronous serial RS-232.
Logged

0
Offline Offline
Sr. Member
****
Karma: 0
Posts: 340
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

should I just use an arduino serial out to do that? Anything special needed for this scenario?
Logged

UK
Offline Offline
Shannon Member
****
Karma: 222
Posts: 12520
-
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

should I just use an arduino serial out to do that? Anything special needed for this scenario?

You'd need an RS232 driver at each end.
Logged

I only provide help via the forum - please do not contact me for private consultancy.

0
Offline Offline
Sr. Member
****
Karma: 0
Posts: 340
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

why can't the arduino do it by itself?
Logged

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 596
Posts: 33271
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

why can't the arduino do it by itself?
Because RS232 has voltages that are +12V and -12V, the arduino can only output 0V and +5V. It is the TTL option.
Logged

0
Offline Offline
Tesla Member
***
Karma: 141
Posts: 9470
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

In the picture I see TTL on the board. For only 100' a servo control signal might work.
Logged

Consider the daffodil. And while you're doing that, I'll be over here, looking through your stuff.   smiley-cool

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 596
Posts: 33271
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

In the picture I see TTL on the board. For only 100' a servo control signal might work.
Yes especially if the TTL was driving an open collector transistor with a pull up to 12V or so. But he did ask what I would use and that is RS232.
Logged

0
Offline Offline
Tesla Member
***
Karma: 141
Posts: 9470
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

In the picture I see TTL on the board. For only 100' a servo control signal might work.
Yes especially if the TTL was driving an open collector transistor with a pull up to 12V or so. But he did ask what I would use and that is RS232.

Sometimes it saves time and effort to provide options that the person may not be aware of.
Logged

Consider the daffodil. And while you're doing that, I'll be over here, looking through your stuff.   smiley-cool

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 596
Posts: 33271
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Sometimes it saves time and effort to provide options that the person may not be aware of.
If I am asked what I would do then why should I reply with something I would not do. You have to admit that sending TTL down a 100' line is not a sure fire hit is it?
Logged

Offline Offline
Edison Member
*
Karma: 63
Posts: 2474
The last thing you did is where you should start looking.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

You could use a current loop.
OR
Does anyone know if I2C would work?
Logged

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 596
Posts: 33271
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
Does anyone know if I2C would work?
Yes ..... No
Logged

0
Offline Offline
Tesla Member
***
Karma: 141
Posts: 9470
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Sometimes it saves time and effort to provide options that the person may not be aware of.
If I am asked what I would do then why should I reply with something I would not do. You have to admit that sending TTL down a 100' line is not a sure fire hit is it?

Not a sure fire miss ether. You do what you, better or worse.  smiley
Logged

Consider the daffodil. And while you're doing that, I'll be over here, looking through your stuff.   smiley-cool

Offline Offline
Edison Member
*
Karma: 29
Posts: 2345
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

what if you buy a shielded network cable, you might get away with 5v logic

Logged

Pages: [1]   Go Up
Jump to: