Temperature and humidity sensors

Topics about the Hardware of Revolution Pi
mezz
Posts: 40
Joined: 05 Mar 2017, 23:56

Re: Temperature and humidity sensors

Post 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
User avatar
volker
Posts: 1046
Joined: 09 Nov 2016, 15:41

Re: Temperature and humidity sensors

Post 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.
Unser RevPi Motto: Don't just claim it - make it!
Post Reply