I am working on a automation system where 1 raspberry pi is running a server and a database. I need this raspberry PI to communicate to multiple slave devices (such as arduino UNO or NANO or other simmilar board). The number of slave devices might be up to 50.
I have created a server on my raspberry pi and using QT Creator to make querys and that part works fine. My major concern is how to make the raspberry PI talk to to slave devices and vice versa.
The slave devices have sensors connected to it and based on certain actions they will need to send a message to the raspberry PI which will then add/remove items from the database. The raspberry pi will be also sending some messages to the slaves..
Initially, I was thinking about using an RS485 and connecting all slaves in a daisy chain, as shown below:
each slave device will have to have an LTC1480 or simmilar.
Would using LAN network to connect all devices together make more sense? Would that even be an option when considering large amount of slave devices? Any ideas? Thanks in advance
I have created a server on my raspberry pi and using QT Creator to make querys and that part works fine. My major concern is how to make the raspberry PI talk to to slave devices and vice versa.
The slave devices have sensors connected to it and based on certain actions they will need to send a message to the raspberry PI which will then add/remove items from the database. The raspberry pi will be also sending some messages to the slaves..
Initially, I was thinking about using an RS485 and connecting all slaves in a daisy chain, as shown below:
each slave device will have to have an LTC1480 or simmilar.
Would using LAN network to connect all devices together make more sense? Would that even be an option when considering large amount of slave devices? Any ideas? Thanks in advance