NRF24L01 + Arduino uno: radio.read() always returns 0

I am using the following simple code (sender, receiver codes are attached). On receiving side the output on Serial monitor is like:

Not avail
avail
0
Not avail
avail
0

Note: Transmission is working fine. and a Voltage regulator along with a 4.7 uF cap have been used.

Sender_1.ino (741 Bytes)

Receiver_1.ino (750 Bytes)

I notice you are using pins 7 and 8 for CE and CSN and you have not set pin 10 (on an Uno) as OUPUT. Pin 10 must be set as OUTPUT in order for the Uno to act as SPI master.

Have a look at this Simple nRF24L01+ Tutorial.

The examples are as simple as I could make them and they have worked for other Forum members. If you get stuck it will be easier to help with code that I am familiar with. Start by getting the first example to work

...R