Rs485
TomS
Posts: 128
I want to implement a 2-wire RS485 interface using the propeller and a RS485 chipset. As far as I can tell I will only need to disable the xmtr after the last character is sent and I should be able to use something like the Simple-Serial spin object. Have any of you experience in implementing an RS485 interface?
Thanks
Thanks
Comments
If you simply need to communicate point-to-point over a long distance then consider the simpler full-duplex RS422.
*Peter*
In many ways, RS485 is simpler than other protocols, in that it does not require the +/- power supplies, and it uses only two wires for long distances on a multidrop network. It requires one chip, not a chipset. I favor the LT1785, 8 pin dip or soic. The interface to your Prop is only two pins, because the data in and out lines and also the transmitter and receiver enable lines can be tied together. Tie your A and B lines to the RS485 network, and provide 5 volts power to the chip. The systems I work with usually take a command from the master for one of the slaves to do something, then a configurable line turnaround time, followed by the response from the slave.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Tracy Allen
www.emesystems.com
Tom
Another reason you might want to keep RE\ and DE separate would be to take advantage of the powerdown mode,. Also, CAN bus operation would use DE as a data input.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Tracy Allen
www.emesystems.com
All is clear now.
Tom