serial communication without common ground?
tonyp12
Posts: 1,951
On battery operated devise I bring two wires out for communication.
It only works if i replace the battery and get the power& gnd from same device that is sending the data.
In this case it's spy bi-wires for a TI-msp430,
but I guess this problem is in general too all 2 wire serial communication?
It only works if i replace the battery and get the power& gnd from same device that is sending the data.
In this case it's spy bi-wires for a TI-msp430,
but I guess this problem is in general too all 2 wire serial communication?
Comments
I believe that the 485 drivers DO require a ground line in order to keep their inputs within the allowed input range of 7 ? (not certain of that value without lookup) volts. Sometimes the circuitry will work without the ground line, provided that no 485 chips are powered from isolated supplies.
Cheers,
Peter (pjv)
One is clock, second is 2way I/O
It have to be cheap/few parts, but the distance is under a 1ft
I guess I need to start by making it a 3wire plug.
3 wires would be required if the two circuits do not already share a ground since the clock and I/O are 2 distinct signals. I find "1 wire signalling" to be a bit of a misnomer. It really should be labelled " 1 wire + ground "
I agree with Mike on this one. I'm pretty sure (well really sure) that RS-485 lines do not need a common ground.
My knowledge is pretty much all academic though. I read the book Serial Port Complete which talks a lot about RS-485 communication. I believe if you have a shielded cable on the RS-485 line that you are only supposed to ground one end of it. (I think JonnyMac also said the same thing.)
I think not needing a common ground, is one of reasons for the popularity of RS-485.
Duane
http://www.interfacebus.com/Design_Connector_RS485.html
And an article on using RS-485:
http://www.embeddedsys.com/subpages/resources/images/documents/microsys_art_RS485.pdf
None of this RS485 stuff addresses the OP's concerns, though, since he has one unidirectional clock signal and one bidirectional data signal. Mike's answer is the one I'd go with.
-Phil
Regarding a common (ground?) between RS485 devices...... the spec sheet states a common mode voltage range of +7 to -12 volts. If there are only the two differential data lines connecting two chips on a bus, then that requirement is easily exceeded. A common of some sort, although not necessarily "earth" ground, is required to keep chips within that range.
I have first hand observation of failures for not following that spec.
Where required, true high speed (in the megahertz range) isolation to thousands of volts can be provided by means of the ADMu chips. They use micropowered RF links accross a silicon barrier. Various options of multiple channels in both directions in a single package are available. I use these for industrial applications. They even have one that "passes through" 3.3 or 5 V DC at a few (10-ish mA), completely isolated to the same 5,000 voltage, to power "down stream" devices. I actually run some SXes that way.
Cheers,
Peter (pjv)
20 mA current loop does not have to be optically isolated but optically isolated current loop is probably the most reliable and least problematic way to go. Like other electrical signalling methods it still requires two wires, even if one of the two is a common ground. The only true one connection communication system I am aware of is optical fiber, and it can send full duplex over a single fiber. More complex and costly however.
As an alternative you could investigate wireless transmission (Xbee or similar).
Massimo