Hi everybody I am working on an ambitious project, and I would need a suggestion about the hardware I should use, I did a drawing of the final result I would like to achieve which in few words is a flexible matrix of maximum 9 Arduinos communicating all with the central one.
Description of my drawing (attached):
Each circle and number represent an Arduino, each Arduino is contained in a box and the lines between them represent the set of pins (around 3 or 4 pins i guess) necessary for each connection between Arduinos.
Arduino number 1 is the one which need to gain informations from all the other Arduinos. Four Arduinos (number 2) are directly connected to Arduino number one, and the four Arduinos (number 3) give information to number 2 which then give these information to number 1.
While I think to be able to manage the software issue of this project, I wanted to ask suggestions about how to manage the four connection of each Arduino with the others.
Should I use serial connections (TX RX) buying 9 Arduino mega to have 4 ways of communication for each box? (It seems to me maybe not the more economic but the more simple way) or is there a way i which I can use 9 Arduino (nano, UNO or others) and make them communicate with the I2C protocol?
Just to clarify the red lines are there just to indicate how a double connection may be redundant, but I don't expect you to solve that problem as i think to solve it trough code.
Should I empower each Arduino with a battery? or can I empower all the other Arduinos in the moment they get connected with Arduino number 1?
In a further phase of the project I would even need Arduino (number 1) to communicate with the computer trough a wireless communication, but I don't think there are Arduino Mega with a bluetooth or Wifi module installed
Thank you a lot for your time, hope to receive some interesting ints