Hello Everyone, Greetings!
I want to use 10 different types of water sensors that communicate over MODBUS. And I wish to connect all of these devices to my Arduino MEGA. I have some queries regarding the connections though:
Do I need to use 10 different RS485 modules to communicate with these sensors or all of these 10 sensors will be connected to one one single RS485 module and that module goes to my Mega?
If I have to connect 10 sensors to my single RS485 module then, how the connection should be? A goes into A and B goes into B? with GND made common?
If I have 10 sensors connected on a single RS485 module then how Mega will know which data belongs to which sensor? In the examples I have seen so far I came across two types of examples the one which uses address speaks in terms of read/write registers and the other one simply reads the data directly on the serial port. Which one I should be using? any direction using links would be really helpful.
Thanks in advance