I have a single port analog data receiving device that can be directly connected to the THD-WD1-T sensor and get readings.
Now I want to connect multiple sensors to that receiver. I browsed the internet and designed this Arduino diagram. If anyone could guide me to do the Arduino board coding, I can succeed.
Expected process from Arduino Uno board:
Receiving analog data from sensors and storing it as a single analog data. When a third party device requested the data, the Arduino Uno board needs to send stored data as analog data.
If anyone needs any further clarification don’t hesitate to ask. I really appreciate your response.
I suggest you get one of the RS485 shields working with a THD-WD1-T and Modbus before attempting three sensors
I see in your diagram you use multiple RS485 shields - is it not possible to multidrop several sensors off a single RS485 bus?
I see the THD-WD1-T communications speed stated as 115200 baud
the UNO will probably not work reliabily at 115200baud - recommend you switch to an Ardunio with multuiple hardware ports, e.g. a Mega
You have two threads running on this forum for this one project. Bad form, expect that the moderators will merge them and close one. This is because you will get diverging/conflicting advice on the two threads, helping no-one.
Since the other thread is now closed, I'm repeating my reply here, for thread continuity. @osandawelianga Check the diagram on page A-219 of the THD document you linked; this device is intended to reside on an RS485 BUS, with up to 31 devices talking on the same bus. You need only 1 RS485 adapter for your Arduino!
With an Uno, you must either do your RS485 on a software serial port, reserving the hardware serial for PC communication (i.e. uploads, and using Serial Monitor for debugging your code), OR use the hardware serial for both RS485 comms, and uploads (Serial Monitor will not be available this way). To do so, you must remove the RS485 adapter's signals from the Arduino when you want to upload, AND disconnect the USB when testing your setup. This is cumbersome, awkward, and painful, but it can be done.