Nrf24l01 Multiple channels

Hello, Im having a problem with the nrf24l01. I got no issues with a communication between 2 decides, one way or two ways but now I need to communicate between at least 5 (one being the master).
Cant really find any guide or tutorial on how to do it, my project just needs for the master to send a variable to a slave, wait for a response then send to another and so on.
Just some "small light" on where to start would be nice.

Sorry for my English and thanks in advance.

If I can speak to one person and get an answer,
I have no problem speaking to many, one after another.

Simplest approach would be two sends back to back with ackPayload,
for all targets that have to be fed/read.

I personally don't like master slave approaches,
I keep all modules listening when they are not sending,
and never wait on anything, there are timeouts however, when needed.

With ackPayload its possible for the master to send a message to another node after you get an answer from the previous one?

Would be like

send message node 1
Wait answer node 1
Receive message node 1
Send message node 2
Wait answer node 2
Receive message node 2

Its for a system similar to blazepods (reaction lights), where a light turns on I pass my hand on a sensor and it goes on

You should read This Tutorial.

ackPayload transfers data back to the sender in a single operation.
Switching from send to receive and back happens automatically.

The data has to be preloaded (reside in the chip before a packet arrives).
If you need an answer, you have to send one more packet to get current data.
Like I said, two packets back to back get a request/response behavior.

For simple commands, like "flash a led", the ack without data would be enough for me.

I get annoyed by all the waits in your description, I will not help you go that route.

Good luck with your project.

Im following that guide, thanks

Yes, I went to read more about the ackpayload and that wont work out for me :frowning:

What waits?
Thanks for the help, anyway

these

Thats not how you say it?

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.