0

I'm using two nRF24L01 to communicate with each other. I did the right setup and they worked fine, however I wanted to change the air data rate to a lower value, for more stability, as the datasheet says.

How can I setup the configuration for this?

After a small research I knew that you can change this using RF_DR to change the value of the transmission, but I didn't really know how I could exactly write the correct code for this.

Another question: does this effect the range of the module? Or does it only affect the stability? And if not, then which code can I use to extend the range of these two modules ?

  • Which library are you using? – Majenko Apr 22 '16 at 21:16
  • i'm using this library github.com/TMRh20/RF24 – Med malik Apr 22 '16 at 21:22
  • 1
    The documentation tells you how to do it. Did you try reading before coming here? It took me precisely 15 seconds to find it from the link you just provided: tmrh20.github.io/RF24/… – Majenko Apr 22 '16 at 21:24
  • can you please tell me where to find it, i'm sorry but i honestly tried to do my best, so if you can, give me where did you find it – Med malik Apr 22 '16 at 21:27
  • 1
    Did you click the link I provided? – Majenko Apr 22 '16 at 21:27
1

Increasing stability will increase the (usable) range. At least a bit. You could try decreasing the packet size, to make it even more reliable. There is no way to increase the output-power (only decrease).

You could try different channels, and see which one gives you the best range in your application.

After that you have to get NRF24 modules, with external antennas and amplifiers.

-1

The documentation for the function you want is here.

Reducing the speed doesn't directly increase the range, but increased stability will have the knock-on effect that the fringes of transmission distance will be more reliable, making it appear that you have slightly greater distance.

  • Your claim about speed and range is untrue. A narrower bandwidth signal has a greater power spectral density for a given total power output, a properly designed receiver listening for a narrower signal sees less total noise, and depending on architecture may see higher gain. The data sheet is even explicit about some of this: " The 1Mbps data rate gives 3dB better receiver sensitivity compared to 2Mbps." However it also mentions that transmitting the same data at a slower rate increases the period of time during which it could be interfered with. – Chris Stratton May 24 '16 at 15:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.