My current situation:
I have 4 PT100 sensors, which are connected to z-4rtd2 which converts the signal to rs-485.
I also have a Humidity/temp sensors which is conncted to z-8ai which is converted to rs-485
I am looking for a way to communicate my arduino UNO to rs-485 and to read all of these sensor values?
Basically what happends here I have an UNO and I have 5 sensors on RS-485. In total 2 RS-485 devices, one RS485 device that has 4 sensors, the second one has 1 sensor.
What kind of converter do I use to actually get uno to read RS-485 protocol?
How do I adress the sensors, they each have specific adressing (in the UNO) so I can read values from them?
And most importantly how do I put it in the code, I have no idea where to start.. but in order to do something I need real live examples, I am quite a beginner at this...?
There are modules to connect a Arduino board to a RS-485 bus. However, those are not just RS-485, they are ModBus. This is a page for ModBus : Arduino Playground - ModbusMaster Library
I still really don't get the adressing part.
I checked the example, not the one provided on the site, but the one provided in the example folder, it was nice, but I still don't have a clue how will that end up working with these current sensors.
Isn't there really a much easier way for doing this?
I am not really an advanced programmer.