RF24 library - One master, multiple slaves

Hi All,

I'm actually searching for a solution to transfer data via a wireless communication from one master to a varying number of slaves.

Let me explain a bit detailed. I want to use the master in an RC truck collecting data about the light state (which light is on/off) and about some servo positions. These data is transformed into a data block of a static size. This data block must be transfered to the slave(s), in this case trailers and/or semitrailers.

I tested it with a 433MHz module and its working as expected, but it's too slow. The advantage is, that all slave modules can listen on the same address, so that the master must send it out once and all slaves are receiving and process it at the same time. In addition, it's irrelevant how many trailers are connected.

Now I found the NRF24L01+ but in the documentation I read that all modules (nodes) must have unique IDs. This would mean that my master must have knowledge about the number of connected trailers and their nodes IDs.

My idea is to give all slaves the same node ID so that I can send it once and all nodes receive it at the same time.

Will this be possible ?

Many thanx in advance for answers and proposals about alternatives.

Greetinx
gismow

Hi All,

the problem seems to be solved. I found the following thread RF24 Driver Release - Networking, Protocols, and Devices - Arduino Forum. gerg posted about a multicasting option for the RF library. This option exactly coveres my requests.

Greetinx
gismow

Take a look in the examples of the RF24-lib:
starping.pde
1 master, 6 slaves.