I have 2x0.14mm shielded copper cable and I need several UNO boards to communicate together. I got several questions about it, that I hope some electronics pros could help me with.
First of all, is the cable suitable for communications based on Wire library?
Can I use cable's shield as ground, since Wire library requires 2 pins + ground?
If my setup wouldn't work, do you know any ways to communicate over 2 pins instead of 2 + GND?
I hope I've stated my questions correctly.
Thanks in advance, guys.
Yes. How long of a distance do you plan? I2C (Wire) is only intended for short distances.
Yes.
RS485 is better for long distances, altho it needs a Gnd wire also.
CrossRoads:
Yes. How long of a distance do you plan? I2C (Wire) is only intended for short distances.
Yes.
RS485 is better for long distances, altho it needs a Gnd wire also.
No it doesn't. It is permissable to have a ground wire, but the standard is simply differential twisted pair.
CrossRoads:
Yes. How long of a distance do you plan? I2C (Wire) is only intended for short distances.
Yes.
RS485 is better for long distances, altho it needs a Gnd wire also.
More here on Unbalanced vs Balanced signals. Google
Thanks, that was helpful. The distance isn't that long (up to 15 meters). I'd like to take your advice and use RS485, but it would require additional parts and it's quite to get them in my town. I guess, I'll stick on Wire, unless I'd manage to get some RS485 modules.