nRF24l01 Not receive data

Hello Dear TMRh20,

Thank you very much for the reply ! ! !

You are correct :slight_smile: i change the code with the two pipes on both (tx,rx) and some times works some others not, so i start thing maybe something going wrong with the hardware. I use two arduino pro mini and this boards doesn't have a 3.3v regulator so for to get quickly the 3.3v from 5v i use 3 x 1N4148 to go bellow from 3.6v ( this get with 2 x 1N4148) because i read in datasheet you must use 3.3v if the spi lines are connected to 5v. Now the power to the boards i get it from the usb programmer and it looks like the RX need more power from the power can get it from the usb programmer and i said this because when i use external 5v power supply the boards works perfect. :slight_smile: I share my experience in case some one has the same problem to fix it quickly and not spend time to find what's going on .... At the end i will replace the 1N4148 with the regulator when i will come :wink:

I would like to ask you.

For the TX i use

radio.openWritingPipe(pipes[1]);
	radio.openReadingPipe(1, pipes[0]);

for the RX i use

radio.openWritingPipe(pipes[0]);
	radio.openReadingPipe(1, pipes[1]);

This is the correct way or i can do:

TX

radio.openWritingPipe(pipes[0]);
	radio.openReadingPipe(1, pipes[1]);

and Rx

radio.openWritingPipe(pipes[1]);
	radio.openReadingPipe(1, pipes[0]);

I discover that you have make a very nice and power library for Audio with this modules ! ! ! Well Done ! ! !

I want to get some time to play :wink:

And i thing you have make you're own rf24 library ... write ? i will do a better read :slight_smile:

and a last question please, it is possible to use irremote library at the rx to get raw command for use this as an example irsend.sendRaw(raw,68,38);
I am asking this because the max payload size it is 32 and in the above example the raw size it is 68, i think i can use the command in Tx like

memcpy(output,&raw[0],32);
radio.write(&output, sizeof(output));
// Delay ?
memcpy(output,&raw[32],64);
radio.write(&output, sizeof(output));
// Delay ?
memcpy(output,&raw[64],4);
radio.write(&output, 4);

if the above it is correct how can i collect the data in Rx side ?

if (radio.available()){
		bool done = false;
		while (!done){ 
			done = radio.read(&raw,sizeof(raw)); // this will get all in once ? How can i synchronize ?
			
		}
	}

Thank you in advance.