NRF24L01+PA not working

I tried 100 uf capacitors, different arduino boards and power supply. None of them worked so I bought 2 more NRF24L01+PA and to be sure that power is not the problem bought adapter board for them. But they are not working eighter. I don't know where I am mistaken.

Followed a few guides including this : Simple nRF24L01+ 2.4GHz transceiver demo

Robin2's simple rf24 tutorial was very helpful in getting my rf24 radios to work. There is a sketch that will help to confirm the physical wiring of the rf24 modules to their respective processors. See reply #30.

The external antenna radios may need to be separated by a few meters in order for them to communicate. If they are too close together they might not work.

I did that test and I believe there is no problem with connections.

18:24:12.641 -> STATUS		 = 0x0e RX_DR=0 TX_DS=0 MAX_RT=0 RX_P_NO=7 TX_FULL=0
18:24:12.689 -> RX_ADDR_P0-1	 = 0xe7e7e7e7e7 0x4141417852
18:24:12.735 -> RX_ADDR_P2-5	 = 0xc3 0xc4 0xc5 0xc6
18:24:12.781 -> TX_ADDR		 = 0xe7e7e7e7e7
18:24:12.781 -> RX_PW_P0-6	 = 0x00 0x20 0x00 0x00 0x00 0x00
18:24:12.877 -> EN_AA		 = 0x3f
18:24:12.877 -> EN_RXADDR	 = 0x03
18:24:12.877 -> RF_CH		 = 0x4c
18:24:12.877 -> RF_SETUP	 = 0x07
18:24:12.923 -> CONFIG		 = 0x0e
18:24:12.923 -> DYNPD/FEATURE	 = 0x00 0x00
18:24:12.970 -> Data Rate	 = 1MBPS
18:24:13.016 -> Model		 = nRF24L01+
18:24:13.016 -> CRC Length	 = 16 bits
18:24:13.016 -> PA Power	 = PA_MAX
18:24:13.063 -> 
18:24:13.063 -> 
18:24:13.063 -> AND NOW WITH ADDRESS AAAxR  0x41 41 41 78 52   ON P1
18:24:13.109 ->  and 250KBPS data rate
18:24:13.109 -> 
18:24:13.109 -> STATUS		 = 0x0e RX_DR=0 TX_DS=0 MAX_RT=0 RX_P_NO=7 TX_FULL=0
18:24:13.203 -> RX_ADDR_P0-1	 = 0xe7e7e7e7e7 0x4141417852
18:24:13.250 -> RX_ADDR_P2-5	 = 0xc3 0xc4 0xc5 0xc6
18:24:13.297 -> TX_ADDR		 = 0xe7e7e7e7e7
18:24:13.345 -> RX_PW_P0-6	 = 0x00 0x20 0x00 0x00 0x00 0x00
18:24:13.345 -> EN_AA		 = 0x3f
18:24:13.391 -> EN_RXADDR	 = 0x03
18:24:13.391 -> RF_CH		 = 0x4c
18:24:13.437 -> RF_SETUP	 = 0x27
18:24:13.437 -> CONFIG		 = 0x0e
18:24:13.485 -> DYNPD/FEATURE	 = 0x00 0x00
18:24:13.485 -> Data Rate	 = 250KBPS
18:24:13.485 -> Model		 = nRF24L01+
18:24:13.531 -> CRC Length	 = 16 bits
18:24:13.577 -> PA Power	 = PA_MAX

I tried seperating them 3 meters. It did not helped eighter.

I concur.

Post a schematic of the master and slave wiring. What specific Arduino boards?

Post the code that you have uploaded to your master and slave. Maybe I can try it to see if the code works so as to eliminate the code as the problem.

Read the forum guidelines to see how to properly post code.
Use the IDE autoformat tool (ctrl-t or Tools, Auto format) before posting code in code tags

Shematic and code same as Robin2's simple rf24 tutorial. Tried SimpleTx.ino and SimpleRx.ino which in Robin2's simple rf24 tutorial.

I have used those sketches many times so know that they work. That points to a hardware problem.

Again,

As you have the LNA+PA variant of the NRF24L01, another thing you can try is to add the following line to the very end of the setup() function in the Tx and Rx examples:

  radio.setPALevel( RF24_PA_MIN );

It sets the Tx RF power level to minimum. Just remember to remove it when you have finished bench testing!

I have 2 Arduino uno and 2 Arduino nano. I tried many combinations with them unfortunately found no solution.

Might be hardware problem, that test for connections which in Robin2's simple rf24 tutorial, does also determines if there is hardware problem? So should I look for new Arduinos or is there change that nrf24 s might have hardware problem?

I have 2 raspberry pi 3b+, I can try nrf24 s with them too. Do you know any good and basic tutorial to try?

I have tried and no success unfortunately.

There is nothing wrong with the code from Robin2's tutorial. It is proven to work, not just by me. If you carefully follow the tutorial and your connections and hardware are good, it will work.

If it does not work there is a problem with the connection or the hardware, period.

We know little about the project aside from, it does not work.

Post schematics showing all parts, their part numbers and/or values and power supplies.

Post clear photos of the setups' wiring (master, slave).

Try the simple RX and simple TX programs. Post the actual code uploaded. Post the results (copy and post the text from serial monitor).

Yes agreed.

Robin2's tutorial very definetly works, as do the examples in the NRF24 library, when the modules are connected correctly.

I had a pile of el-cheapo NRF24s, bought on eBay, Aliexpress etc. I had around 12 and when I started testing them I could not get them to work. Eventually I had a pair that did work, and when I went through them all I binned 50% of them as not working.

I have not seen any evidence that a non working NRF24 has been 'fixed' by some individual magic change to a library or example.

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.