L
L
luntik_202018-06-17 13:55:52
Arduino
luntik_20, 2018-06-17 13:55:52

How can you control 8 arduinos at the same time with arduino mega via wireless network?

All the good time of the day! We were given the task to create a wireless brain ring system for intellectual games. The main conditions are: there must be 8 buttons and each button must be wireless. Below you see a picture, this is the connection structure according to my assumption on wifi. I was offered to completely abandon wifi and use the RF 433 module or bluetooth for such a connection. A question emerges from this. Is it possible to control through ARDUINO MEGA simultaneously and synchronously all 8 devices and send / receive data from them if you use a 433 MHz module or bluetooth. What problems can arise when using 433 modules and bluetooth? And will my structural connection work and what problems might arise? Thank you!5b263c73ce82b783602042.png

Answer the question

In order to leave comments, you need to log in

6 answer(s)
G
GavriKos, 2018-06-17
@GavriKos

Forget about synchronous control - no one canceled packet loss and lag.
So the most correct thing is that only one central arduin is responsible for all decision making. The rest are "views" that send states to it and receive states.
In brainring, fractions of a second are important, so this is the only way.

A
Artem Spiridonov, 2018-06-17
@customtema

Can. Programming classic.
Each device can do three things:
The central part can:
Look, there are ready-made buttons and programs for them (they DEFINITELY exist and there are a lot of them, systems for calling nurses, waiters, etc. are very cheap). Perhaps it will be easier than developing.

K
kalapanga, 2018-06-17
@kalapanga

The wireless system here is unnecessary show-off. The correct determination of the first pressed button is not guaranteed in it, rather it is even fundamentally impossible.

N
Nikita Chukov, 2018-06-18
@chukov

It seems to me that wifi is an unnecessary complication. Perhaps nRF24l01 will help you.
https://www.youtube.com/watch?v=cSNGfSaX8oI

S
Sencis, 2018-07-18
@Userpc0101

If without Wi-Fi, then it’s already easier to bring the buttons to 1 board, If using Wi-Fi and you still need to determine where the first button was pressed, the best solution is that GPS watches are the most accurate that exist and there will always be no errors corrected, or you will have to make several radio modules to receive a response and determine which received the signal first, both options do not require a complex exchange protocol, but perhaps more equipment.

N
Nickilanto, 2018-10-04
@Nickilanto

Wifi is really not needed here, there is a cooler and at the same time cheaper thing like the HC 12 radio module, you register a unique id in Nano, and when you press the button, you send a packet to the radio channel like "I pressed the button with id = * device id *" and Mega constantly listens to the radio channel and when receiving a "packet" (although it's hard to call it a package), it will report on the button pressed. True, when pressing more than one button at the same time, there may be certain problems, but this case can also be handled

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question