Alternatives for nRF24L01+ ?
-
Agreed, I have the same from CDEBYTE on my RPI3 and it has been working flawlessly for over a month. I personally like the RFM69 better because you have more options to work with, but NRF24 from cdebyte are working ok, at least for me.
Those CDEbyte modules work great for me too. So it becomes:
- short distance (or feeling lucky) : use the cheap nRF24L01+ clones
- long distance and you can use mains: use a nodemcu or equivalent
- long distance and you need battery powered: use the CDEbyte modules
Or, scrap it all, and use an NRF5 module for everything. I'm still hesitant to jump in - but that may be the future of mysensors. There is a huge forum on that.
-
I would agree that the range on regular nRF24L01+ modules tends to be... less than stellar. The ones with the PA+LNA though seem OK.
The existing nRF5's have better range than regular nRF24L01's, and those with PA+LNA have good range. The nRF52840, which should soon be available,supposedly has fantastic range at not much Tx power.
RFM69 has good range, especially at high Tx power.
LoRa currently has the best range, and the Ra-01 modules are very cheap. LoRa's range comes at a price though: lower bitrates.
-
@ripperle I gave up with them and used a nodemcu with a esp8266 wifi module. Have been running without a hitch for months now.
@gmccarthy said in Alternatives for nRF24L01+ ?:
@ripperle I gave up with them and used a nodemcu with a esp8266 wifi module. Have been running without a hitch for months now.
My sensors are battery powered (I also did many test with stable power supplys and had the same connection problems after a few days or weeks...)
@Nca78 said in Alternatives for nRF24L01+ ?:
@ripperle said in Alternatives for nRF24L01+ ?:
Sometimes they are running for weeks and then stop working for a day or so and then start working again.
Has somebody the same experience?
This is a radio link quality problem.
Replace your gateway radio with this PA/LNA module from CDEbyte, make sure script is compiled with #define MY_RF24_PA_LEVEL RF24_PA_MAX and it should solve your problems, it has worked for anyone else who tried.
https://www.aliexpress.com/item/E01-ML01DP5-Ebyte-2-4GHz-20dBm-2100m-nRF24L01-SPI-Wireless-transceiver-module/32638720689.htmlI already upgraded the gateway with a PA/LNA
But not with the MY_RF24_PA_LEVEL RF24_PA_MAX option... Although I ordered 2 PA/LNA transmitter from CDEByte... Let see if it works...By the way, my bathroom sensor (staple power supply, no battery 1 room away from gateway) stopped working a few days ago after many weeks without any problems... Yesterday it come back to life by itself and works... SOOOOOO STRANGE...
I dont understand, why a sensor works for weeks or months without problems and then stop working for a day or 2...
Thanks for your advises...
-
Maybe try a watchdog?
-
@gmccarthy said in Alternatives for nRF24L01+ ?:
@ripperle I gave up with them and used a nodemcu with a esp8266 wifi module. Have been running without a hitch for months now.
My sensors are battery powered (I also did many test with stable power supplys and had the same connection problems after a few days or weeks...)
@Nca78 said in Alternatives for nRF24L01+ ?:
@ripperle said in Alternatives for nRF24L01+ ?:
Sometimes they are running for weeks and then stop working for a day or so and then start working again.
Has somebody the same experience?
This is a radio link quality problem.
Replace your gateway radio with this PA/LNA module from CDEbyte, make sure script is compiled with #define MY_RF24_PA_LEVEL RF24_PA_MAX and it should solve your problems, it has worked for anyone else who tried.
https://www.aliexpress.com/item/E01-ML01DP5-Ebyte-2-4GHz-20dBm-2100m-nRF24L01-SPI-Wireless-transceiver-module/32638720689.htmlI already upgraded the gateway with a PA/LNA
But not with the MY_RF24_PA_LEVEL RF24_PA_MAX option... Although I ordered 2 PA/LNA transmitter from CDEByte... Let see if it works...By the way, my bathroom sensor (staple power supply, no battery 1 room away from gateway) stopped working a few days ago after many weeks without any problems... Yesterday it come back to life by itself and works... SOOOOOO STRANGE...
I dont understand, why a sensor works for weeks or months without problems and then stop working for a day or 2...
Thanks for your advises...
@ripperle said in Alternatives for nRF24L01+ ?:
I dont understand, why a sensor works for weeks or months without problems and then stop working for a day or 2...
Thanks for your advises...
After x failed attempts to send messages MySensors will consider the radio link broken. Then when you will want to send a message it will need time to re-establish this link, and if your connection is not of good quality it takes some time, more than the time allowed in the settings to do that job. Then your node is invisible to the gateway.
-
@ripperle said in Alternatives for nRF24L01+ ?:
Sometimes they are running for weeks and then stop working for a day or so and then start working again.
Has somebody the same experience?
This is a radio link quality problem.
Replace your gateway radio with this PA/LNA module from CDEbyte, make sure script is compiled with #define MY_RF24_PA_LEVEL RF24_PA_MAX and it should solve your problems, it has worked for anyone else who tried.
https://www.aliexpress.com/item/E01-ML01DP5-Ebyte-2-4GHz-20dBm-2100m-nRF24L01-SPI-Wireless-transceiver-module/32638720689.html -
@Nca78 I am about to order a few of the suggested modules (PA/LNA module from CDEbyte) from aliexpress. My first deal ever on aliexpress. What about antenna? Will I have to order it separately?
-
-
-
@NeverDie Thank you!
To me it seems as if it is not an option to order an antenna from CDEbyte through aliexpress.
Can I use any 2.4 GHz SMA antenna? Anything to be particularly aware of? Any suggestions?
@arraWX This will fit it:
https://www.aliexpress.com/item/Free-Shipping-ESP8266-serial-WIFI-wireless-transceiver-module-MT7681-3DBI-gain-antenna/32223853645.html?spm=a2g0s.9042311.0.0.3qUb1AIt's already cheap, but maybe you can find it even cheaper without the cabling adapter part of it.
That said, I'm not at all sure the CDEbyte is any better than the cheaper alternative, which includes an antenna: https://www.aliexpress.com/item/5pcs-Free-Shipping-Special-promotions-1100-meter-long-distance-NRF24L01-PA-LNA-wireless-modules-1100meters-with/1037554818.html?spm=a2g0s.9042311.0.0.3qUb1A
-
@gmccarthy said in Alternatives for nRF24L01+ ?:
@ripperle I gave up with them and used a nodemcu with a esp8266 wifi module. Have been running without a hitch for months now.
My sensors are battery powered (I also did many test with stable power supplys and had the same connection problems after a few days or weeks...)
@Nca78 said in Alternatives for nRF24L01+ ?:
@ripperle said in Alternatives for nRF24L01+ ?:
Sometimes they are running for weeks and then stop working for a day or so and then start working again.
Has somebody the same experience?
This is a radio link quality problem.
Replace your gateway radio with this PA/LNA module from CDEbyte, make sure script is compiled with #define MY_RF24_PA_LEVEL RF24_PA_MAX and it should solve your problems, it has worked for anyone else who tried.
https://www.aliexpress.com/item/E01-ML01DP5-Ebyte-2-4GHz-20dBm-2100m-nRF24L01-SPI-Wireless-transceiver-module/32638720689.htmlI already upgraded the gateway with a PA/LNA
But not with the MY_RF24_PA_LEVEL RF24_PA_MAX option... Although I ordered 2 PA/LNA transmitter from CDEByte... Let see if it works...By the way, my bathroom sensor (staple power supply, no battery 1 room away from gateway) stopped working a few days ago after many weeks without any problems... Yesterday it come back to life by itself and works... SOOOOOO STRANGE...
I dont understand, why a sensor works for weeks or months without problems and then stop working for a day or 2...
Thanks for your advises...
@ripperle in your sensor node, do you give time for link recovery in the case of link fail ?
-
I went through a lot of problems when trying to build my network using the nrf24 modules. I jept using more and more powerful modules but never really managed to get a robust connection at all nodes.
The nrf24L01 do not provide signal level reporting capabilities, so it's not easy to imagine what's oging on when communication fails.
I finally understood by using the connection quality meter here. BY using I found that:
- Increasing the power is sometimes a problem instead of a solution, since the nrf24L01 tend to overload at some point.
- In my home there where "shadow" areas where the 2.4GHz simply didn't reach at a good enough level. I then checked the 2.4GHz signal from my router and found that it was also weak (not as weak as the nrf24L01, of course, but you could see the decrease).
- Isolating the nrf24L01 by wrapping them on a plastic film foil and then another later of tin foil helped a litlle.
From the results of my investigation I decided to move to using rfm69 modules, which have a better penetration power. They are working quite well, and certainly much better than the nrf24's.
Maybe in your case it might be worth using a similar tool to understand what is going on.
-
@arraWX This will fit it:
https://www.aliexpress.com/item/Free-Shipping-ESP8266-serial-WIFI-wireless-transceiver-module-MT7681-3DBI-gain-antenna/32223853645.html?spm=a2g0s.9042311.0.0.3qUb1AIt's already cheap, but maybe you can find it even cheaper without the cabling adapter part of it.
That said, I'm not at all sure the CDEbyte is any better than the cheaper alternative, which includes an antenna: https://www.aliexpress.com/item/5pcs-Free-Shipping-Special-promotions-1100-meter-long-distance-NRF24L01-PA-LNA-wireless-modules-1100meters-with/1037554818.html?spm=a2g0s.9042311.0.0.3qUb1A
@NeverDie said in Alternatives for nRF24L01+ ?:
That said, I'm not at all sure the CDEbyte is any better than the cheaper alternative, which includes an antenna: https://www.aliexpress.com/item/5pcs-Free-Shipping-Special-promotions-1100-meter-long-distance-NRF24L01-PA-LNA-wireless-modules-1100meters-with/1037554818.html?spm=a2g0s.9042311.0.0.3qUb1A
I never got good resuts with similar pa/lna modules. Some work, some don't, some do only after tinkering.
With the one from CDEByte it just gave instant coverage to all my nodes, no tinkering necessary and nothing like what @manutremo is describing above. My nodes which had problem to report from the other side of my appartment became 100% reliable. -
-
@NeverDie said in Alternatives for nRF24L01+ ?:
That said, I'm not at all sure the CDEbyte is any better than the cheaper alternative, which includes an antenna: https://www.aliexpress.com/item/5pcs-Free-Shipping-Special-promotions-1100-meter-long-distance-NRF24L01-PA-LNA-wireless-modules-1100meters-with/1037554818.html?spm=a2g0s.9042311.0.0.3qUb1A
I never got good resuts with similar pa/lna modules. Some work, some don't, some do only after tinkering.
With the one from CDEByte it just gave instant coverage to all my nodes, no tinkering necessary and nothing like what @manutremo is describing above. My nodes which had problem to report from the other side of my appartment became 100% reliable.@Nca78 So you are using nrf52 ebyte with antenna and you enable the pa/lna in the project ? Can you guide me to the code for this please ?
Thanks.
-
@Nca78 So you are using nrf52 ebyte with antenna and you enable the pa/lna in the project ? Can you guide me to the code for this please ?
Thanks.
@ahmedadelhosni said in Alternatives for nRF24L01+ ?:
@Nca78 So you are using nrf52 ebyte with antenna and you enable the pa/lna in the project ? Can you guide me to the code for this please ?
Thanks.
Hello, to use pa/lna at maximum power in your, you need to put this line :
#define MY_RF24_PA_LEVEL (RF24_PA_MAX) -
@ahmedadelhosni said in Alternatives for nRF24L01+ ?:
@Nca78 So you are using nrf52 ebyte with antenna and you enable the pa/lna in the project ? Can you guide me to the code for this please ?
Thanks.
Hello, to use pa/lna at maximum power in your, you need to put this line :
#define MY_RF24_PA_LEVEL (RF24_PA_MAX)@nca78 Thanks.
so the same define for nrf24 works for nrf52 ?