I am using ATMEGA168 Microcontroller and trying to get the hardware and pinout right for RS485 protocol. Is there a specific transceiver i have to choose so that there wont be any compatibility issue?
I have a sensor that uses RS485 so for that reason i need to use this protocol. Since RS485 is compatible with upto 32 devices i can just use 485 to intergrate with the pc and the sensor.
This is a rough sketch :
Can someone please let me know if this look correct? and those pins RO,/RE,DE and DI which ports should they connect to in microcontroller side?