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)