Page 2 of 2

Re: Temperature and humidity sensors

Posted: 08 Aug 2017, 15:11
by mezz
Hi Volker,

yes it makes sense, the RevPi polling approach should do it for now since no events are involved.

One more quick question related to the Arduino prototype: would it be possible to connect multiple Arduinos (modbus slaves) to the RevPi via a USB hub with different slave ids, based on the code sample you mentioned?

So with a hub like the one on the shop page for instance:
https://revolution.kunbus.de/shop/de/in ... hub-4-port

Thank you

Enrico

Re: Temperature and humidity sensors

Posted: 08 Aug 2017, 15:29
by volker
Hi Enrico,
yes with several USB devices connewcted you will get several ttyX devices on the RevPi Core. Each one can be the base of a modbus RTU master configuration. You only need to use more than one virtual master module and that should work.