I am using the MAX485 IC for RS485 communication between an ATmega64A main controller and ATmega328PB sensor nodes over CAT6 cable.
Setup:
I have attached the main controller and sensor node RS485 circuit diagrams.
Questions:
Sensor rs485 circuit.
Main controller rs485 circuit
Setup:
- Sensor-to-sensor distance: 3 metres
- Main controller to first sensor: Variable (3 m, 10 m, 20 m, 30 m, etc.)
- Topology: Daisy chain
- Single RS485 line: Communication works with approximately 18 nodes. After adding more nodes, some sensors stop responding.
- Two RS485 lines: Connecting 13 sensors per line allows me to receive data from all 26 sensors.
I have attached the main controller and sensor node RS485 circuit diagrams.
Questions:
- Why am I unable to communicate reliably with more than 18 sensors on a single line?
- Could termination resistors, bus loading, cable length, or baud rate be the cause?
- What changes should I make to achieve reliable communication with 28–32 sensors?
Sensor rs485 circuit.
Main controller rs485 circuit
Attachments
-
273.2 KB Views: 17
-
40.6 KB Views: 17

