I am working on Rs485 protocol using PIC24f microcontroller and sp3485c as rs485 transceiver ic . I have kept one pic as master and another pic as slave . when i am transmitting any data from master my slave is not receiving any data it shows junk data by (testing in debugger pickit3). Please suggest me how to solve this issue?
This is the most common method of interconnecting RS485 devices: -
Note two important things: -
- 0V is common to all slaves and master
- End-of-wire termination resistors (LT) are used
Here's another example: -
And another here that tries to avoid earth fault currents in an installation: -
This one is quite pretty too: -
Note that the black circles around the red and green pair imply a screened cable that is earthed.