nrf24l01 - Doesn't work (i will reward you)

Hi friends,

i come to you after a month of trying and testing...

I am using a NRF24l01 from here with its adaptor and with one MEGA 2560 and a Pro Mini 5v 16MHz.

i am using this code for the Pro Mini as a Transmitter (MOSI pin 11, MISO 12, SCK 13):

#include <SPI.h>
#include <nRF24L01.h>
#include <RF24.h>

RF24 radio(9, 10); // CE, CSN PRO MINI

const byte address[6] = "00001";

void setup() {
  radio.begin();
  radio.openWritingPipe(address);
  radio.setPALevel(RF24_PA_MIN);
  radio.setDataRate(RF24_250KBPS);
//  radio.setChannel(100); 
  
  radio.stopListening();
}
void loop() {
  const char text[] = "Hello World";
  radio.write(&text, sizeof(text));
  delay(1000);
  }

and this one as the Receiver on the MEGA (MOSI pin 51,MISO 50, SCK 52):

#include <SPI.h>
#include <nRF24L01.h>
#include <RF24.h>

RF24 radio(8, 7); // CE, CSN MEGA
const byte address[6] = "00001";

void setup() {
Serial.begin(9600);
radio.begin();
radio.openReadingPipe(0, address);
radio.setPALevel(RF24_PA_MIN);
radio.setDataRate(RF24_250KBPS);
//radio.setChannel(100); 

radio.startListening();
}

void loop() {
if (radio.available()) {
  while (radio.available()){
char text[32] = "";
radio.read(&text, sizeof(text));
Serial.println(text);
}
}

}

that is what i get from the Serial Monitor from the MEGA:

18:34:28.644 ->
18:34:28.644 ->
18:34:28.644 ->
18:34:28.644 ->
18:34:28.644 ->
18:34:28.644 ->
18:34:28.644 ->
......

NOTHING

this is the library y use.

i soldered a 10 microFarad 25v capacitor to both NRF24 between GRN-VCC.

I used a power supply set to 6.2V and up to 3A.... for the losses of the wire between the power supply and the board.

I wrap the MOSI and MISO wires with a GND cable.

I rechecked the connections like 3 thousand times and its ok.

i checked the outputs of the modules with my small but useful oscilloscope, you can find the pictures attached.

i tried other libraries too, in other board, change all the cables for new ones, with other Pro Mini, putting then away from the WI-FI router, trying other NRF24 Modules and adaptors....

I don't know guys/ladies what i am doing wrong, the funny thing is that like 1 year ago i was using these modules without no problem and with the same code and it was working!!

PLEASE! i need your help with that, i promise that i will send a present to the person who help me fix this madness!!

BR
Pablo







Here the rest of the pictures:






I loaded the posted code on a couple of Unos set up with RF24 radios. The code seems to work fine. The only change was to the pins used for CE and CSN on my setup are different from yours. In the receiving Uno serial monitor I get:

Hello World
Hello World
Hello World
Hello World

With the high power modules I have heard that they sometimes will not work if they are too close together. They need to be separated by a few meters.

Never mind. I see that you use the adapters with the 3.3v regulator.
Lack of power is the most prevalent cause of those radios not working. See Robin2's simple rf24 tutorial.
I always give my RF24 radios power from a separate 3.3V supply.

Still, Robin2' tutorial may have info that helps.

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 in my Tutorial 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

There is also a connection test program to check that the Arduino can talk to the nRF24 it is connected to.

A common problem with nRF24 modules is insufficient 3.3v current from the Arduino 3.3v pin. This seems to be a particular problem with the nano. The high-power nRF24s (with the external antenna) will definitely need an external power supply. At least for testing try powering the nRF24 with a pair of AA alkaline cells (3v) with the battery GND connected to the Arduino GND.

If you are using the high-power nRF24s (with the external antenna) make sure there is sufficient distance between the two nRF24s so that the signal does not overwhelm the receiver - try 3 metres separation. If you are new to nRF24s it may be better to start with a pair of low power modules with the pcb antenna.

...R

The FTDI connections to the pro mini look odd. Also the ground connection appears to be missing.

Add some Serial.print statements to the transmitter code to test that you have successfully loaded the code and it is doing something. In the receiver code, add a Serial.print statement in setup().
Watch the serial console for both the pro mini and mega simultaneously.

groundFungus:
With the high power modules I have heard that they sometimes will not work if they are too close together. They need to be separated by a few meters.

Never mind. I see that you use the adapters with the 3.3v regulator.
Lack of power is the most prevalent cause of those radios not working. See Robin2's simple rf24 tutorial.
I always give my RF24 radios power from a separate 3.3V supply.

Still, Robin2' tutorial may have info that helps.

Thanks for your help groundFungus,

i set a new configuration with more distance between them and using the NRF24 with the PCB antena.

This is the code with some Serial stamens to check in both sides if everything works fine (as 6v6gt told me):

Transmitter:

#include <SPI.h>
#include <nRF24L01.h>
#include <RF24.h>

RF24 radio(9, 10); // CE, CSN PRO Mini

const byte address[6] = "00001";

void setup() {
Serial.begin(9600);
radio.begin();
radio.openReadingPipe(0, address);
radio.setPALevel(RF24_PA_MAX);
radio.setDataRate(RF24_250KBPS);
//radio.setChannel(100); 
Serial.println("Setup initialized");
 
radio.startListening();
}

void loop() {
if (radio.available()) {
  while (radio.available()){
char text[32] = "";
radio.read(&text, sizeof(text));
Serial.print("Rec: ");
Serial.println(text);
}
}

}

Receiver:

#include <SPI.h>
#include <nRF24L01.h>
#include <RF24.h>

RF24 radio(8, 7); // CE, CSN MEGA

const byte address[6] = "00001";

void setup() {
  Serial.begin(9600);
  radio.begin();
  radio.openWritingPipe(address);
  radio.setPALevel(RF24_PA_MAX);
  radio.setDataRate(RF24_250KBPS);
  Serial.println("Setup initialized");
//  radio.setChannel(100); 
  
  radio.stopListening();
}
void loop() {
  const char text[] = "Hello World";
  radio.write(&text, sizeof(text));
  Serial.print("Tra: ");
  Serial.println(text);
  delay(1000);
  }

and here the serial output:

Transmitter:

10:36:12.452 -> Setup initialized
10:36:12.552 -> Tra: Hello World
10:36:13.655 -> Tra: Hello World
10:36:14.759 -> Tra: Hello World
10:36:15.840 -> Tra: Hello World

Receiver:

Setup initialized
10:37:10.623 -> Rec:
10:37:10.623 -> Rec:
10:37:10.623 -> Rec:
10:37:10.623 -> Rec:
10:37:10.623 -> Rec:

i tried too changing the PALevel to MIN and HIGH but still the same problem.

Attached a picture of the new setup:

6v6gt:
The FTDI connections to the pro mini look odd. Also the ground connection appears to be missing.

Add some Serial.print statements to the transmitter code to test that you have successfully loaded the code and it is doing something. In the receiver code, add a Serial.print statement in setup().
Watch the serial console for both the pro mini and mega simultaneously.

Thanks 6v6gt for your answer and help,

i add the Serial.print statements to the code for both sides as you told me, and it seems that at least for the Sender side is everything ok, nevertheless for the Transmitter side the setup seems to be ok but the output continues writing nothing....

Regarding the FTDI connections and the GND conection it is the 3.3 VCC (i didnt follow the colors rule), here the picture:
PRO MINI CONECTION.png

PRO MINI CONECTION.png

Robin2:
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 in my Tutorial 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

There is also a connection test program to check that the Arduino can talk to the nRF24 it is connected to.

A common problem with nRF24 modules is insufficient 3.3v current from the Arduino 3.3v pin. This seems to be a particular problem with the nano. The high-power nRF24s (with the external antenna) will definitely need an external power supply. At least for testing try powering the nRF24 with a pair of AA alkaline cells (3v) with the battery GND connected to the Arduino GND.

If you are using the high-power nRF24s (with the external antenna) make sure there is sufficient distance between the two nRF24s so that the signal does not overwhelm the receiver - try 3 metres separation. If you are new to nRF24s it may be better to start with a pair of low power modules with the pcb antenna.

...R

Hi Robin2,

first thanks for your help.
I am trying with your example SimpleT-Rx.ino, the Receptor is printing:

SimpleRx Starting
11:18:10.733 -> Data received 
11:18:10.733 -> Data received 
11:18:10.733 -> Data received 
11:18:10.766 -> Data received

as you already write it seems there is a problem - most likely theArduino is not communicating properly with its nRF24 so you refer to the Reply #29 and here we go:

after load and test it for the receiver, that is what i get:

CheckConnection Starting

FIRST WITH THE DEFAULT ADDRESSES after power on
  Note that RF24 does NOT reset when Arduino resets - only when power is removed
  If the numbers are mostly 0x00 or 0xff it means that the Arduino is not
     communicating with the nRF24

STATUS		 = 0x00 RX_DR=0 TX_DS=0 MAX_RT=0 RX_P_NO=0 TX_FULL=0
RX_ADDR_P0-1	 = 0x0000000000 0x0000000000
RX_ADDR_P2-5	 = 0x00 0x00 0x00 0x00
TX_ADDR		 = 0x0000000000
RX_PW_P0-6	 = 0x00 0x00 0x00 0x00 0x00 0x00
EN_AA		 = 0x00
EN_RXADDR	 = 0x00
RF_CH		 = 0x00
RF_SETUP	 = 0x00
CONFIG		 = 0x00
DYNPD/FEATURE	 = 0x00 0x00
Data Rate	 = 1MBPS
Model		 = nRF24L01
CRC Length	 = Disabled
PA Power	 = PA_MIN


AND NOW WITH ADDRESS AAAxR  0x41 41 41 78 52   ON P1
 and 250KBPS data rate

STATUS		 = 0x00 RX_DR=0 TX_DS=0 MAX_RT=0 RX_P_NO=0 TX_FULL=0
RX_ADDR_P0-1	 = 0x0000000000 0x0000000000
RX_ADDR_P2-5	 = 0x00 0x00 0x00 0x00
TX_ADDR		 = 0x0000000000
RX_PW_P0-6	 = 0x00 0x00 0x00 0x00 0x00 0x00
EN_AA		 = 0x00
EN_RXADDR	 = 0x00
RF_CH		 = 0x00
RF_SETUP	 = 0x00
CONFIG		 = 0x00
DYNPD/FEATURE	 = 0x00 0x00
Data Rate	 = 1MBPS
Model		 = nRF24L01
CRC Length	 = Disabled
PA Power	 = PA_MIN

so it seems that the module and arduino are no communicating each other properly, question from my side: would help if i solder everything in a pcb board?

next step i try the same code with the sender:

CheckConnection Starting

FIRST WITH THE DEFAULT ADDRESSES after power on
  Note that RF24 does NOT reset when Arduino resets - only when power is removed
  If the numbers are mostly 0x00 or 0xff it means that the Arduino is not
     communicating with the nRF24

STATUS		 = 0x00 RX_DR=0 TX_DS=0 MAX_RT=0 RX_P_NO=0 TX_FULL=0
RX_ADDR_P0-1	 = 0x0000000000 0x0000000000
RX_ADDR_P2-5	 = 0x00 0x00 0x00 0x00
TX_ADDR		 = 0x0000000000
RX_PW_P0-6	 = 0x00 0x00 0x00 0x00 0x00 0x00
EN_AA		 = 0x00
EN_RXADDR	 = 0x00
RF_CH		 = 0x00
RF_SETUP	 = 0x00
CONFIG		 = 0x00
DYNPD/FEATURE	 = 0x00 0x00
Data Rate	 = 1MBPS
Model		 = nRF24L01
CRC Length	 = Disabled
PA Power	 = PA_MIN


AND NOW WITH ADDRESS AAAxR  0x41 41 41 78 52   ON P1
 and 250KBPS data rate

STATUS		 = 0x00 RX_DR=0 TX_DS=0 MAX_RT=0 RX_P_NO=0 TX_FULL=0
RX_ADDR_P0-1	 = 0x0000000000 0x0000000000
RX_ADDR_P2-5	 = 0x00 0x00 0x00 0x00
TX_ADDR		 = 0x0000000000
RX_PW_P0-6	 = 0x00 0x00 0x00 0x00 0x00 0x00
EN_AA		 = 0x00
EN_RXADDR	 = 0x00
RF_CH		 = 0x00
RF_SETUP	 = 0x00
CONFIG		 = 0x00
DYNPD/FEATURE	 = 0x00 0x00
Data Rate	 = 1MBPS
Model		 = nRF24L01
CRC Length	 = Disabled
PA Power	 = PA_MIN

So that means that any of them are working properly according to this, actually they are not even communicating each other???? ....

enlighten me please, what should i do?, what would you recommend me to do?, solder everything in a PCB board?

Thanks for your code sir!

It should be possible to solve the connection problem without soldering. It is much more likely that you have the wrong things connected. In general I would not solder things until I am sure that they will work.

Have you followed the connection diagram in my Tutorial?

By the way, nothing is going to work if the connection test program does not work.

...R

Robin2:
It should be possible to solve the connection problem without soldering. It is much more likely that you have the wrong things connected. In general I would not solder things until I am sure that they will work.

Have you followed the connection diagram in my Tutorial?

By the way, nothing is going to work if the connection test program does not work.

…R

Yes Sir, i followed the diagrams, in my case that i am using adaptors for the NRF24, I rechecked if all the names of the pins match with the pinout diagram for the NRF24L01 and it does.

I rewired everything again in its proper position depending of my Arduinos:

Pro Mini 5v
CE pin 9
CSN pin 10
SCK pin 13
MOSI pin 11
MISO pin 12

and for the MEGA 2560
CE pin 9
CSN pin 8
SCK pin 52
MOSI pin 51
MISO pin 50

and after upload the code to both Arduinos i reset the NRF24 unplugging them from the power supply for a few seconds.

the result remains the same for sender:

CheckConnection Starting

FIRST WITH THE DEFAULT ADDRESSES after power on
  Note that RF24 does NOT reset when Arduino resets - only when power is removed
  If the numbers are mostly 0x00 or 0xff it means that the Arduino is not
     communicating with the nRF24

STATUS		 = 0x00 RX_DR=0 TX_DS=0 MAX_RT=0 RX_P_NO=0 TX_FULL=0
RX_ADDR_P0-1	 = 0x0000000000 0x0000000000
RX_ADDR_P2-5	 = 0x00 0x00 0x00 0x00
TX_ADDR		 = 0x0000000000
RX_PW_P0-6	 = 0x00 0x00 0x00 0x00 0x00 0x00
EN_AA		 = 0x00
EN_RXADDR	 = 0x00
RF_CH		 = 0x00
RF_SETUP	 = 0x00
CONFIG		 = 0x00
DYNPD/FEATURE	 = 0x00 0x00
Data Rate	 = 1MBPS
Model		 = nRF24L01
CRC Length	 = Disabled
PA Power	 = PA_MIN


AND NOW WITH ADDRESS AAAxR  0x41 41 41 78 52   ON P1
 and 250KBPS data rate

STATUS		 = 0x00 RX_DR=0 TX_DS=0 MAX_RT=0 RX_P_NO=0 TX_FULL=0
RX_ADDR_P0-1	 = 0x0000000000 0x0000000000
RX_ADDR_P2-5	 = 0x00 0x00 0x00 0x00
TX_ADDR		 = 0x0000000000
RX_PW_P0-6	 = 0x00 0x00 0x00 0x00 0x00 0x00
EN_AA		 = 0x00
EN_RXADDR	 = 0x00
RF_CH		 = 0x00
RF_SETUP	 = 0x00
CONFIG		 = 0x00
DYNPD/FEATURE	 = 0x00 0x00
Data Rate	 = 1MBPS
Model		 = nRF24L01
CRC Length	 = Disabled
PA Power	 = PA_MIN

and a little bit different for the receiver:

CheckConnection Starting

FIRST WITH THE DEFAULT ADDRESSES after power on
  Note that RF24 does NOT reset when Arduino resets - only when power is removed
  If the numbers are mostly 0x00 or 0xff it means that the Arduino is not
     communicating with the nRF24

STATUS		 = 0x00 RX_DR=0 TX_DS=0 MAX_RT=0 RX_P_NO=0 TX_FULL=0
RX_ADDR_P0-1	 = 0x0000000000 0x0000000000
RX_ADDR_P2-5	 = [color=yellow]0x41 0xff 0x7f 0xff[/color]
TX_ADDR		 = [color=yellow]0xffffffffff[/color]
RX_PW_P0-6	 = 0xff 0x00 0x00 0x00 0x00 0x00
EN_AA		 = 0x00
EN_RXADDR	 = 0x00
RF_CH		 = 0x00
RF_SETUP	 = 0x00
CONFIG		 = 0x00
DYNPD/FEATURE	 = 0x00 0x00
Data Rate	 = 1MBPS
Model		 = nRF24L01
CRC Length	 = Disabled
PA Power	 = PA_MIN


AND NOW WITH ADDRESS AAAxR  0x41 41 41 78 52   ON P1
 and 250KBPS data rate

STATUS		 = 0x00 RX_DR=0 TX_DS=0 MAX_RT=0 RX_P_NO=0 TX_FULL=0
RX_ADDR_P0-1	 = 0x0000000000 0x0000000000
RX_ADDR_P2-5	 = 0x00 0x00 0x00 0x00
TX_ADDR		 = [color=yellow]0xffffffff7f[/color]
RX_PW_P0-6	 = 0xff 0x00 0x00 0x00 0x00 0x00
EN_AA		 = 0x00
EN_RXADDR	 = 0x00
RF_CH		 = 0x00
RF_SETUP	 = 0x00
CONFIG		 = 0x00
DYNPD/FEATURE	 = 0x00 0x00
Data Rate	 = 1MBPS
Model		 = nRF24L01
CRC Length	 = Disabled
PA Power	 = PA_MIN

the modules are quite new, i tried with other adaptors…

what if i am using the wrong library (in my case this one)

Or maybe the output diagram for the Arduinos I have is not the good one? because are copies…??

I will check the signal of each pin if makes sense.

Thanks again Robin2!

iberion:
what if i am using the wrong library (in my case this one)

All I can suggest is to use the one in the link in my Tutorial

Or maybe the output diagram for the Arduinos I have is not the good one? because are copies...??

So unlikely that I would not worry about it.

It may be worth trying the nRF24 without the power adapter and powering it with a pair of AA alkaline cells.

If the connection test works the entry

Data Rate	 = 1MBPS

should show

Data Rate	 = 250kBPS

towards the bottom of the output

On the Mega it may help to set pin 53 as OUTPUT. It is the equivalent of pin 10 on an Uno.

...R

Regarding the library I use the one you posted in your tutorial, TMRh20 version of the RF24 library .

And the example code from your comentary #29:

// 18 Mar 2018 - simple program to verify connection between Arduino
//      and nRF24L01+
//  This program does NOT attempt any communication with another nRF24

#include <SPI.h>
#include <nRF24L01.h>
#include <RF24.h>

#include <printf.h>

#define CE_PIN   9
#define CSN_PIN 10 // 53 for the MEGA

const byte thisSlaveAddress[5] = {'R','x','A','A','A'};

RF24 radio(CE_PIN, CSN_PIN);

char dataReceived[10]; // this must match dataToSend in the TX
bool newData = false;


void setup() {
    Serial.begin(9600);
    printf_begin();

    Serial.println("CheckConnection Starting");
    Serial.println();
    Serial.println("FIRST WITH THE DEFAULT ADDRESSES after power on");
    Serial.println("  Note that RF24 does NOT reset when Arduino resets - only when power is removed");
    Serial.println("  If the numbers are mostly 0x00 or 0xff it means that the Arduino is not");
    Serial.println("     communicating with the nRF24");
    Serial.println();
    radio.begin();
    radio.printDetails();
    Serial.println();
    Serial.println();
    Serial.println("AND NOW WITH ADDRESS AAAxR  0x41 41 41 78 52   ON P1");
    Serial.println(" and 250KBPS data rate");
    Serial.println();
    radio.openReadingPipe(1, thisSlaveAddress);
    radio.setDataRate( RF24_250KBPS );
    radio.printDetails();
    Serial.println();
    Serial.println();

// pinMode(CSN_PIN, OUTPUT); // for the mega
}


void loop() {

}

It may be worth trying the nRF24 without the power adapter and powering it with a pair of AA alkaline cells.

please see in the attached picture the new configuration which is powered by a couple of 18650 with 3.5V. No adaptors where used here.

and after load the code that is what shows the Transmitter:

CheckConnection Starting

FIRST WITH THE DEFAULT ADDRESSES after power on
  Note that RF24 does NOT reset when Arduino resets - only when power is removed
  If the numbers are mostly 0x00 or 0xff it means that the Arduino is not
     communicating with the nRF24

STATUS = 0x0e RX_DR=0 TX_DS=0 MAX_RT=0 RX_P_NO=7 TX_FULL=0
RX_ADDR_P0-1 = 0xe7e7e7e7e7 0x4141417852
RX_ADDR_P2-5 = 0xc3 0xc4 0xc5 0xc6
TX_ADDR = 0xe7e7e7e7e7
RX_PW_P0-6 = 0x00 0x20 0x00 0x00 0x00 0x00
EN_AA = 0x3f
EN_RXADDR = 0x03
RF_CH = 0x4c
RF_SETUP = 0x07
CONFIG = 0x0e
DYNPD/FEATURE = 0x00 0x00
Data Rate = 1MBPS
Model = nRF24L01+
CRC Length = 16 bits
PA Power = PA_MAX


AND NOW WITH ADDRESS AAAxR  0x41 41 41 78 52   ON P1
 and 250KBPS data rate

STATUS = 0x0e RX_DR=0 TX_DS=0 MAX_RT=0 RX_P_NO=7 TX_FULL=0
RX_ADDR_P0-1 = 0xe7e7e7e7e7 0x4141417852
RX_ADDR_P2-5 = 0xc3 0xc4 0xc5 0xc6
TX_ADDR = 0xe7e7e7e7e7
RX_PW_P0-6 = 0x00 0x20 0x00 0x00 0x00 0x00
EN_AA = 0x3f
EN_RXADDR = 0x03
RF_CH = 0x4c
RF_SETUP = 0x27
CONFIG = 0x0e
DYNPD/FEATURE = 0x00 0x00
Data Rate = 250KBPS
Model = nRF24L01+
CRC Length = 16 bits
PA Power = PA_MAX

And the Receiver (Whit pin 53 declared as output):

CheckConnection Starting

FIRST WITH THE DEFAULT ADDRESSES after power on
  Note that RF24 does NOT reset when Arduino resets - only when power is removed
  If the numbers are mostly 0x00 or 0xff it means that the Arduino is not
     communicating with the nRF24

STATUS = 0x00 RX_DR=0 TX_DS=0 MAX_RT=0 RX_P_NO=0 TX_FULL=0
RX_ADDR_P0-1 = 0x0000000000 0x0000000000
RX_ADDR_P2-5 = 0x00 0x00 0x00 0x00
TX_ADDR = 0x0000000000
RX_PW_P0-6 = 0x00 0x00 0x00 0x00 0x00 0x00
EN_AA = 0x00
EN_RXADDR = 0x00
RF_CH = 0x00
RF_SETUP = 0x00
CONFIG = 0x00
DYNPD/FEATURE = 0x00 0x00
Data Rate = 1MBPS
Model = nRF24L01
CRC Length = Disabled
PA Power = PA_MIN


AND NOW WITH ADDRESS AAAxR  0x41 41 41 78 52   ON P1
 and 250KBPS data rate

STATUS = 0x00 RX_DR=0 TX_DS=0 MAX_RT=0 RX_P_NO=0 TX_FULL=0
RX_ADDR_P0-1 = 0x0000000000 0x0000000000
RX_ADDR_P2-5 = 0x00 0x00 0x00 0x00
TX_ADDR = 0x0000000000
RX_PW_P0-6 = 0x00 0x00 0x00 0x00 0x00 0x00
EN_AA = 0x00
EN_RXADDR = 0x00
RF_CH = 0x00
RF_SETUP = 0x00
CONFIG = 0x00
DYNPD/FEATURE = 0x00 0x00
Data Rate = 1MBPS
Model = nRF24L01
CRC Length = Disabled
PA Power = PA_MIN

I checked as well the SimpleTx-Rx code to see the behaviour of the nrf24 pins with the oscilloscope and it makes something that i don't understand:

the signal from the CSN-Sender (Pro Mini) is acting like a clock signal, and the SCK is showing some peaks... see the attached pictures.

Is that normal? Shouldn't be it on the other way?

Here the clk sender picutre

Please make you images visible in your Posts so we don't have to download them. See this Simple Image Posting Guide

It now seems that your TX Arduino is correctly communicating with its nRF24.

...R

Robin2:
It now seems that your TX Arduino is correctly communicating with its nRF24.

Indeed, now the problem remains on the Receiver side, i am testing it with other NRF24 modules.

It is normal that it gets a little bit hot? (on the Rx side)

Thanks again!

iberion:
It is normal that it gets a little bit hot? (on the Rx side)

Certainly not.

...R

Hallelujah!!!!!

I found the problem, finally!!!
I did the PCB with the adaptor for the NRF24 module and another Pro Mini:

As this was working well for the Transmitter side i was checking all the antennas and I realized that one of my PCB antenas was K.O. (maybe i oversize the voltage once...) After use the good antennas I tested it on my MEGA and i realized as well that, after 5 years of use, my lovely MEGA wants the retirement (some of the SPI pins are broken too).

I tried with your code (commentary #29), which by the way is the most useful thing i found since you can not check the connection status or the status of the module itself so easily only by looking the module....

Seriously thanks!

as we say in my country "lo prometido es deuda" (Something like: "what is promised is debt") i will contact you per PM.

If somebody is lost like i was with the NRF24 module read that:

1- Check pin conections (First comentary) (Mega, Pro Mini, UNO have different pins for SPI).
2 - Use a couple of AA batteries to power the module (VCC = 1.9 V to 3.6 V and common GND!)
3 - Check status of the module with this code (Comentary #29)
4 - Use two arduinos to check if what fails is arduino board itself! (once you check all the antennas are working fine)
5 - Check mutual connections between NRF24 with this code (Comentary #1)

6 - If nothing works ask Robin2 :slight_smile:

BR
Pablo