Pages: [1]   Go Down
Author Topic: CAT5 LAN cable to carry sensor output signals  (Read 626 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Jr. Member
**
Karma: 0
Posts: 61
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hey guys! Do you think it is safe to use a standard CAT5 cable to carry analog signals? My project involves using 8 ACS715 analog current sensors and the signals have to be carried over around 30 meters to another Arduino. On another post someone said that every input pin on the Arduino has a 1 MegaOhms resistor, making the current very close to 0... is that right? Thanks a lot.
Logged

0
Offline Offline
Full Member
***
Karma: 3
Posts: 182
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I use CAT5 for digital signals coming from sensors and to power the sensors but have not gone much beyond 30 feet.  It should be a very easy thing to test and report the results here.
Logged

UK
Offline Offline
Faraday Member
**
Karma: 92
Posts: 3969
Where is your SSCCE?!?!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Safe?  Yes, perfectly.  Voltage and current levels will be well within bounds of the CAT5 cable.

A good idea?  Yes, if done properly.

The analogue inputs do not have a 1MΩ resistor.  They have an input impedance in the order of 100MΩ.  That's considerably more, plus it's impedance, not resistance.  Yes, it does have a resistive component, but it also contains capacitance.

So, that means that at 5V you get 50nA.  That's not "close to zero", unless you are standing a long way away.  Closeness is relative to scale.  50nA can be seen as next to nothing, or it can be seen as quite a lot smiley-wink  But yes, in this situation it's hardly anything.

CAT5 has a typical resistance of 0.188Ω/m (according to Wikipedia), so at 30m that's around 5.64Ω.  With 50nA running through it you get a voltage drop of (V=R*I) 282nV.  That can't make any real difference to the signal sensitivity, since the LSB resolution of the Arduino is about 5mV...

So the cable itself is OK for carrying the signal.  But will the signal remain the same, or will it pick up noise?

Well, that all depends on how you wire it up.  As long as you ensure you always couple a ground connection with the analogue signal connection then all should be fine.  I would recommend 4 wires per sensor (I haven't read up on this one, so I don't know what it needs, but assuming you have power, ground, and signal), of +5V / GND twisted pair, and Signal / GND twisted pair.  For every signal have it's associated twisted partner grounded.

You shouldn't run into any troubles.

A far better solution would be to make it 100% digital though.  A really small microcontroller with the sensor to convert the signal into a digital signal, and then transmit that data through the CAT5 will ensure the highest quality of sensing.  Something like an ATTiny, or a PIC10 would do admirably.
Logged

Why not visit my eBay shop? http://stores.ebay.co.uk/Majenko-Technologies
Replacement for the Arduino IDE: UECIDE - Proper serial terminal, graphing facilities, plugins, overhauled internals.
Java isn't bad in itself, but it has enabled morons to write programs.

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

You may want to investigate some i/p noise/transient protection since you are exposing the controller to a long antenna.
Logged

Pages: [1]   Go Up
Jump to: