nrf24l01 not working properly

Hii everyone,

Iam using nrf24l01 module with arduino to check whether the modules are working properly or
not. Iam using tmrh20 library for my program. I checked my connections well and I put even 10 micro farads capacitor between vcc and gnd on both sides. But Iam getting garbage values sometimes and sometimes no values are printed on screen(means serial monitor is blank) but arduino shows the tx led is blinking. I also tried swapping the receiver and transmitter and nrf modules with 2 more nrf modules i have in spare....but Iam unable to get the appropriate output with those also.

Iam confused where did I do wrong or maybe the nrf module is not working. I tried to check the signals using logic analyser, on transmitter side the mosi line is showing the data what I want to send but on receiver side it is showing me only 2 values one after other repeatedly 23,255,23,255...(end of transmission, ....) this happens after swapping tx and rx . please help me what to do.
Here Iam giving values obtained in logic analyser.
tx:

Time ,Packet ID,MOSI,MISO
0.676959125000000,,'160' (0xA0),'255' (0xFF)
0.676961625000000,,M (0x4D),'255' (0xFF)
0.676964000000000,,e (0x65),'255' (0xFF)
0.676966375000000,,s (0x73),'255' (0xFF)
0.676968750000000,,s (0x73),'255' (0xFF)
0.676971125000000,,a (0x61),'255' (0xFF)
0.676973541666667,,g (0x67),'255' (0xFF)
0.676975916666667,,e (0x65),'255' (0xFF)
0.676978291666667,,' ' (0x20),'255' (0xFF)
0.676980666666667,,0 (0x30),'255' (0xFF)
0.676983041666667,,'0' (0x00),'255' (0xFF)
0.676985416666667,,'0' (0x00),'255' (0xFF)
0.676987666666667,,'0' (0x00),'255' (0xFF)
0.676989916666667,,'0' (0x00),'255' (0xFF)
0.676992166666667,,'0' (0x00),'255' (0xFF)
0.676994416666667,,'0' (0x00),'255' (0xFF)
rx:
0.440694083 SPI MOSI: '23' (0x17); MISO: '255' (0xFF)
0.440696042 SPI MOSI: '255' (0xFF); MISO: '255' (0xFF)
1.441936083 SPI MOSI: '23' (0x17); MISO: '255' (0xFF)
1.441938042 SPI MOSI: '255' (0xFF); MISO: '255' (0xFF)

How can you expect help when you have not posted your programs?

Have a look at this Simple nRF24L01+ Tutorial.

Wireless problems can be very difficult to debug so get the wireless part working on its own before you start adding any other features.

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

I tried one way transmission program given in your tutorial. it is giving that output.
when coming to arduino serial monitor, transmitter had given " tx failed" and receiver side "simple rx
starting" and after that nothing is printed.

vydehi:
I tried one way transmission program given in your tutorial. it is giving that output.
when coming to arduino serial monitor, transmitter had given " tx failed" and receiver side "simple rx
starting" and after that nothing is printed.

Have you tried the connection test program in my Tutorial?

Have you an adequate 3.3v power supply for the nRF24 modules? if in doubt try powering them with a pair of AA alkaline cells (3v) with the battery GND connected to the Arduino GND.

Are you using the high-power modules with the external antenna? If they are too close they won't work.

...R

I tried your connection check program on both sides. there is no change in the print details before and after changing data rate. On both sides the values are same.

And I don't have 3v battery at present. I will try that and check once....

Thank you for your help

vydehi:
I tried your connection check program on both sides. there is no change in the print details before and after changing data rate. On both sides the values are same.

If the connection test program is not showing the correct output then something is wrong with your connections (including, possibly, a loose connection or a broken wire). Nothing else will work until you have the connection test working properly.

...R