nrf24 range issues
-
@Nca78 good idea I will try different capacitors sizes.
@Yveaux thanks for pointing that potential point of failure. I decided to test the max amp at the output of my base modules. I put a couple of LEDS in parallel and a 470ohm resistor in front. With my multimeter I measured max 400mA (after that adding more LEDS was not changing this max amp). I think 400mA is way enough for the radio right?
-
When you tried with normal module, did you try with only "normal" NRF24 or with 1 normal and 1 amplified module ?
Purpose of capacitor is mainly to filter out noise. Did you solder it directly on the vcc/gnd pins of the radio modules, with leads as short as possible ?
If it's not making a difference or getting worse, reduce the size to get closer to the 4.7uF, and search the culprit somewhere else. -
When you tried with normal module, did you try with only "normal" NRF24 or with 1 normal and 1 amplified module ?
Purpose of capacitor is mainly to filter out noise. Did you solder it directly on the vcc/gnd pins of the radio modules, with leads as short as possible ?
If it's not making a difference or getting worse, reduce the size to get closer to the 4.7uF, and search the culprit somewhere else.@Nca78 when I tried with the "normal" module, I tested both situations at the other hand (another normal and one with antenna).
I soldered the capacitor directly to the VCC + GND on the radio. But I did not make the leads of the capacitor as short as possible: they're still 2cm long I guess. I'm gonna try with reducing that as much as I can.Let's assume I've got my capacitors correct to filter the noise. Can I assume that I don't have a problem with my power source as I checked I can deliver 400mA to my radio module? Or should I still try with the batteries as @Yveaux suggested? (I'm asking because it's a bit less convenient to try that for me right now)
-
I think before cutting the capacitors legs you should try with the AA/AAA batteries.
I've used modules with relatively long capacitor legs and with power source from a battery it didn't create a range problem so either you have a noise problem with your power source, or you have bad modules, or both. Testing with the batteries will give you an answer for the power source. -
FYI I just read this article https://bigdanzblog.wordpress.com/2015/02/21/the-very-frustrating-nrf24l01/
At one point he mentioned:
"There are multiple resources that document needing the capacitor and a better power supply. You might want to heed them so you don’t get as frustrated as I did.
Even after I made those changes, I was still having issues with packet loss. I decided to power the Nano from the external 5V power supply and it began working much more reliably."
I don't see why that worked: he was already powering the radio with an external 3.3V so the Nano was already not providing power to the radio. Perhaps there was still noise conveyed through the non-power related pins between the nano and the radio?
I'll try that anyway and I will report -
Resolved !
I finally ordered 2 of these (https://www.aliexpress.com/item/2PC-Lot-E01-ML01DP5-nRF24L01-PA-LNA-Long-Range-2-4GHz-RF-Wireless-Transceiver-Original/32797433295.html?spm=a2g0s.9042311.0.0.wuTpjZ) . Thanks @Nca78 for recommending them earlier.
I plugged them on my base modules and did my usual test.
The range is now way beyond my needs! I have 100m+ of range (I was too lazy to take the boat to cross the river at the bottom of my property..)I'm a bit bitter to have wasted so much time but very relieved too. I have the feeling that radio will not be an issue anymore (and so I'll save hours of troubleshooting)
I've got a few conclusions:
_ It's good to ask help: thanks @Nca78 and @Yveaux !
_ As mentioned earlier in the topic with @Yveaux I think the modules recommended on the mysensors websites should be changed to these ones (or at least others that have been tested and work). Yes they are more expensive (3.4€ in my case) but it's still cheap and definitely worth the saved dozens of hours trying to figure out the radio issues. I'm also sure it would help not losing new users that get too frustrated
_ I think the whole set of tips/tricks to improve the range of some modules (solder, capacitors, clean power source, base module...) can be a bit of a trap. I don't deny that it can help marginally or drastically on some modules. But my experience has proven that even with all of these tricks applied it still would not make it with some modules. Even with modules advertised as "long range". As @Nca78 said it in is very first post, if we know that some modules just work "out of the box" we should stop recommending dodgy ones that can sometimes be fixed with tricks or not.If I have the motivation I may even try to remove the base modules (making sure I still provide 3.3v and not 5v) and will see if they're still needed with my new radio modules.
-
I'm not sure which is better: this or the Ebyte ones. They seem about the same to me, but I haven't done a rigorous comparison. Anyone else compared them?
I agree that the limited range of the regular, non-amplified modules, can be quite a frustration! If anything, maybe beginners should start with these and then perhaps later dial it back if so inclined for energy savings or the like.
-
Resolved !
I finally ordered 2 of these (https://www.aliexpress.com/item/2PC-Lot-E01-ML01DP5-nRF24L01-PA-LNA-Long-Range-2-4GHz-RF-Wireless-Transceiver-Original/32797433295.html?spm=a2g0s.9042311.0.0.wuTpjZ) . Thanks @Nca78 for recommending them earlier.
I plugged them on my base modules and did my usual test.
The range is now way beyond my needs! I have 100m+ of range (I was too lazy to take the boat to cross the river at the bottom of my property..)I'm a bit bitter to have wasted so much time but very relieved too. I have the feeling that radio will not be an issue anymore (and so I'll save hours of troubleshooting)
I've got a few conclusions:
_ It's good to ask help: thanks @Nca78 and @Yveaux !
_ As mentioned earlier in the topic with @Yveaux I think the modules recommended on the mysensors websites should be changed to these ones (or at least others that have been tested and work). Yes they are more expensive (3.4€ in my case) but it's still cheap and definitely worth the saved dozens of hours trying to figure out the radio issues. I'm also sure it would help not losing new users that get too frustrated
_ I think the whole set of tips/tricks to improve the range of some modules (solder, capacitors, clean power source, base module...) can be a bit of a trap. I don't deny that it can help marginally or drastically on some modules. But my experience has proven that even with all of these tricks applied it still would not make it with some modules. Even with modules advertised as "long range". As @Nca78 said it in is very first post, if we know that some modules just work "out of the box" we should stop recommending dodgy ones that can sometimes be fixed with tricks or not.If I have the motivation I may even try to remove the base modules (making sure I still provide 3.3v and not 5v) and will see if they're still needed with my new radio modules.
i m in same boat, i have order 3 of those as well. until i read your post i was about to give up on using wireless. thanks for reporting back and sharing your experience.
@LeKrist said in nrf24 range issues:
hat even with all of these tricks applied it still would not make it with some modules. Even with modules advertised as "long range". As @Nca78 said it in is very first post, if we know that some modules just work "out of the box" we should stop recommending dodgy ones that
-
Just to contribute some experience, i had NRF24L01+PA+LNA on my wifi gateway, all my battery powered sensors (NRF24L01+) were communicating fine but my relay node wasn't communicating at all i tried different arduino (nano, mini) different combination of NRF24L01+ and NRF24L01+PA+LNA but no joy, i just change NRF24L01+PA+LNA radio of my gateway and now my battery powered temperature sensors and relay node can talk to gateway. my conclusion if one node isn't working it may not be that node is faulty. so node and gateway should get checked.