Peripheral---Max distance
Stevezila
Posts: 35
Can anyone tell me what the maxium allowable distance is for peripheral devices over a cat 5 data cable? I want to connect several devices to a single stamp and in order to do this I will need to run cable out to the remote devices.
Thanks
Thanks
Comments
What distance do you need and what's the signalling speed?
True RS232 is good for hundreds of feet up to thousands of feet depending on the Baud. At the further distances, things like RS485 are better than RS232.
You will not be able to just use logic level signalling for more than a few feet.
Do have a look at 1-wire protocol from Dallas Semiconductor. This is designed for, among other things, wiring a large building with sensors. They have application notes on large networks, dealing with noise, cable losses, signal degradation, etc. (www.maxim-ic.com/products/1-wire/)
Post Edited (Mike Green) : 3/20/2009 4:06:13 PM GMT
Thanks! Initially I will only need to drive an output or read an input and the concern was line loading and the ability to that read an input or drive an output at some distance before it drops below the TTL threshold. Timing for the input/outputs is not of concern at least at this point in time.
Returning status would involve the same sort of circuit, but you could use an ordinary optocoupler instead of a SSR with the emitter and collector of the optocoupler's output connected to one pair of wires at the distant end. At the Stamp end, the emitter would be connected to ground and the collector connected through a 220 Ohm resistor to Vdd (+5V). The collector would also be connected through a 1K resistor to a Stamp I/O pin.
Thanks that's just the·piece that·I was missing. Thanks so much for your help.
Steven