Programming Nrf24l01

Hi to all.
I have question about programming Nrf24l01 module.
How can I change the address of Nrf24l01 in my program with this library,"RF24.h".
Regard.

What do you mean by address? Do you mean RX/TX pipe or RF channel?

Hi again.
I mean Rf channel.
And another question.How many module I can connect to each other.
I want to send data to each one in different times.
Thanks.

 void setChannel(uint8_t channel);

Is the command to set RF channel. The channel can be 0 to 127, according to RF24.h . Also I read, elsewhere, that in the US, not to use channels above 80 (illegal). There may be similar restrictions in other parts of the world. The default channel in RF24.cpp is channel 76.

Just 128 channels,I can't believe it, What do you suggest if I want to use for more than 1000 devices connect all of them to each other.
Thanks.

There are networking libraries available that may help.

The largest node address is 05555, so 3,125 nodes are allowed on a single channel.

From this library documentation. RF24 network

Google : arduino rf24 network

Thank you so much.
But another question I have , how did u calculate that , I mean how did u find 3125?

You will have to ask the author of the library as I have no idea how to get that number. The quote is from his document.

groundfungus:
You will have to ask the author of the library as I have no idea how to get that number. The quote is from his document.

This implementation uses a tree with 5 child nodes per level and max 5 levels.

1 (root) => 5 => 25 => 125 => 625 => 3125

And we get the magical number. The total number of nodes in the tree is 1+5+25+125+625+3125=3709.

The NRF24L01P device allow max 5 byte addresses (40 bits) and 5+1 pipes (address match units). 40-bits give a fair number of nodes :). The device can only send on one channel at a time.

Cheers!

I'm still in doubt.I use RF24 header.You say I can connect more than 5000 devices connect to each other.?

What is the communication pattern (peer-to-peer, any node, cluster, or broadcast)? What should happen is a message is dropped (noise, no ack, etc)? What is the distance (1-10m, 100m-1km)? What is the required bandwidth (1000 messages per second)? What size of message? What is the max latency (delivery time between nodes)?

There are may ways to use the NRF24L01P device. The RF24 library is only one.

Cheers!

Actually I don't know differences between them . I have one module that sends data to more than 1000 devices , it's not important to send at the same time. Maximum distance is 500m .that's all.What could u suggest to me?
Thanks

My post was getting dissapear . sorry for sending again.
If somebody has information,plz.

Google Xbee.

Hello again.how about its Price?Is it easy to work in comparison with nrf24l01?any suggestions?

Hi,
What is the application you are trying to get a radio network to do?

Tom..... :slight_smile: