nrf24l01+ with antenna not working
-
I just got 4 nrf24l01+ modules with the external antennas, but I'm not able to make them work.
I'm using arduino nanos and MySensors to create a gateway and a sensor.
The funny thing is that when I put a antenna nrf as the gateway and a pcb nrf as sensor, they work just fine, but the other way doesn't.
I also tried two nrfs as gateway and sensor, but the behavior does not look good.
What could it be? Wifi router interference? Channel? Baud rate? Data rate?
-
How do you power the Arduinos? The PA radios require quite a lot of power.
-
I tried both using my laptop's usb ports. Then I used a battery on the sensor node.
Note: I didn't power the nrf with the battery, just the arduino.
-
@Eduardo-Santana you mean the pa/lna modules by nrf24l01+ with antennas?
If yes then this may solve your problem:
http://blog.blackoise.de/2016/02/fixing-your-cheap-nrf24l01-palna-module/The funny thing is that when I put a antenna nrf as the gateway and a pcb nrf as sensor, they work just fine, but the other way doesn't.
In the standard config the sensor pa level is MAX and the gateway pa level is LOW.
The pa/lna modules are more prone to errors, due to missing shielding (They basicly interefering with themself) and higher energy consumption, on higher PA levels.
But you can use the module to its full potential with a proper power source and improvised shielding.Also: use the forum search.
-
Do you use any capacitors to filter the power?
-
I don´t know how the nrf24l01 is implemented in mysensors, but have a look here:
https://www.squirrel-labs.net/blog/getting-the-best-out-of-nrf24l01/#page=1
Does the mysensors library care about this ?
-
@kr0815 interesting find!
But as far as is see the CE pin is keept high while sending and waiting for an ack.
-
Could anybody confirm this ?
I also have problems with the antenna version
-
@kr0815 yes, tmrh20 confirmed this.
https://github.com/TMRh20/RF24/issues/233Did you already tried the other recommendations?