D
D
Dmytro Sytnik2016-04-21 20:25:55
Arduino
Dmytro Sytnik, 2016-04-21 20:25:55

How to implement data exchange between 3 or more Arduinos?

Good day.
Actually, I asked myself the question of implementing the idea of ​​​​a smart home :)
With Arduino, I'm still on you, but I understand a little. There was a problem linking 2 Arduino Pro Minis to the master Arduino th UNO . I found several posts on how to implement this connection between the two via a 315 MHz radio channel , but there you need to hook up a receiver and transmitter to each board. As far as I understand, this can be done for 3, but then on the master board you need to attach 2 pairs (receiver and transmitter) and I'm not entirely sure that this is even possible. I would like to implement this idea is not expensive and efficient.
PS: All devices will be located within a radius of 2-50 metersindoors with thin walls.
I would appreciate any advice!

Answer the question

In order to leave comments, you need to log in

4 answer(s)
D
Dmytro Sytnik, 2016-05-26
@VanArman

Thanks to everyone who responded to the call. I rummaged around on the Internet and found a very interesting article on this topic, where, using examples with code explanation, it is described how this idea can be implemented. I think everyone who asks the same question will be interested. ARTICLE

O
Ocelot, 2016-04-21
@Ocelot

For each board - one pair of "transmitter + receiver". Assign an address to each board. The master polls all boards in turn (at the same frequency), indicating the address in the packet header. The board that heard its address answers the master, the rest are silent at this time.

E
evgeniy_lm, 2016-04-22
@evgeniy_lm

Wagon and small cart options.
1. Radio channel (NRF24L01)
2. Bluetooth
3. WiFi
4. Ethernet
5. RST 485
6. RST232
7. X10
.......................
100500. Your idea with a 315 MHz radio channel is not the best option

S
svd71, 2016-05-19
@svd71

The Rx of each arduino is connected to the Tx of the other. Each controller must have a code inside that will determine which messages are addressed to him personally.
This is the cheapest option. The more easy to debug

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question