Help need for interfacing RS485.........

Thread Starter

sanddune

Joined Dec 2, 2008
10
Hi All,

How to interface PIC to RS485? Is it possible to connect the MAX RS485 to the UART.....if so how do i proceed with? Do i need to introduce some protocols. As i am new to this.

Basically i am trying to send command bytes over distances greater than 100mtrs with speed not an issue. With multiple end devices connect to it receives the command at the same time.

Any other solution is a welcome.......


Thanks in advance
 

leftyretro

Joined Nov 25, 2008
395
Hi All,

How to interface PIC to RS485? Is it possible to connect the MAX RS485 to the UART.....if so how do i proceed with? Do i need to introduce some protocols. As i am new to this.

Basically i am trying to send command bytes over distances greater than 100mtrs with speed not an issue. With multiple end devices connect to it receives the command at the same time.

Any other solution is a welcome.......


Thanks in advance
Hardware requirements are easy, just use the proper driver/receiver chips designed to translate TTL levels to RS-485 levels. There does have to be some kind of software protocal used in your programming for both the master and slave devices. MODBUS is a very popular method used:

http://en.wikipedia.org/wiki/Modbus

Lefty
 
Top