Possibility control nrf24l01 by handy andremote control another nrf24l01

hello, I have this question:
Is it possible to control via USB (phone + some application) module nrf24l01 which will control another module nrf24l01?

|Handy+control app|-----(usb kable)----->|Module nrf24l01 (with arduino)|-----(RC control)----->|Module nrf24l01 (with arduino)|

Yes.

Start with proven example code and get the RF24L01 modules and Arduinos working to do the simplest communication possible.

The rest will be easier if you know that part is working.

There are many tutorials, this is one very good place to start:

HTH

a7

ok, thanks. i will try i'm waiting for postman. :wink:

so, i have this:

18:51:59.044 -> Data Sent Message 0 Tx failed
18:52:00.139 -> Data Sent Message 0 Tx failed
18:52:01.234 -> Data Sent Message 0 Tx failed
18:52:02.328 -> Data Sent Message 0 Tx failed
18:52:03.455 -> Data Sent Message 0 Tx failed
18:52:04.549 -> Data Sent Message 0 Tx failed
18:52:05.643 -> Data Sent Message 0 Tx failed
18:52:06.737 -> Data Sent Message 0 Tx failed

What tutorial are you following?

Are you following it slavishly?

What Arduino boards are you using?

Post a schematic of the both sets of Arduino + NRF24L01 that make up the two sides of the RF link you are testing.

Post the code for both.

a7

How are the radio modules powered?

My top suggestions for getting the rf24 modules to work:

  • If you read and, closely, follow Robin2's simple rf24 tutorial you should be able to get them working. That tutorial sure helped me. Run the CheckConnection.ino (look in reply #30) to verify the physical wiring between the radio module and its processor (Arduino).

  • Make sure the rf24 power supply can provide enough current. This is especially true for the high power (external antenna) modules. I use homemade adapters like these. They are powered by 5V and have a 3.3V regulator on the board. Robin2 also has suggested trying with a 2 AA cell battery pack.

  • If using the high powered radios make sure to separate them by a few meters. They may not work too close together. Try the lower power settings.

  • Reset the radios by cycling power to them after uploading new code. I have found that to help. They do not reset with the Arduino.

  • Switch to 1MB data rate to catch the not so cloned clones.
    radio.setDataRate( RF24_1MBPS );

I connected two arduino with NRF modules. I have uploaded the RF24 library. I downloaded the code from your post:
Simple nRF24L01+ 2.4GHz transceiver demo - #2 by Robin2 I uploaded one sketch (master) on one arduino, the other (slave) on the other arduino. The diode is flashing, but as you can see the error.

From your examination of the code, what does it mean when the diode is flashing?

a7

on the master arduino one (of two) diode on board is blinking.



22:03:38.847 -> FIRST WITH THE DEFAULT ADDRESSES after power on
22:03:38.913 ->   Note that RF24 does NOT reset when Arduino resets - only when power is removed
22:03:38.980 ->   If the numbers are mostly 0x00 or 0xff it means that the Arduino is not
22:03:39.079 ->      communicating with the nRF24
22:03:39.112 -> 
22:03:39.112 -> SPI Speedz	= 10 Mhz
22:03:39.145 -> STATUS		= 0x0e RX_DR=0 TX_DS=0 MAX_RT=0 RX_P_NO=7 TX_FULL=0
22:03:39.212 -> RX_ADDR_P0-1	= 0xe7e7e7e7e7 0x4141417852
22:03:39.245 -> RX_ADDR_P2-5	= 0xc3 0xc4 0xc5 0xc6
22:03:39.278 -> TX_ADDR		= 0xe7e7e7e7e7
22:03:39.311 -> RX_PW_P0-6	= 0x20 0x20 0x20 0x20 0x20 0x20
22:03:39.344 -> EN_AA		= 0x3f
22:03:39.377 -> EN_RXADDR	= 0x03
22:03:39.377 -> RF_CH		= 0x4c
22:03:39.411 -> RF_SETUP	= 0x07
22:03:39.411 -> CONFIG		= 0x0e
22:03:39.444 -> DYNPD/FEATURE	= 0x00 0x00
22:03:39.444 -> Data Rate	= 1 MBPS
22:03:39.477 -> Model		= nRF24L01+
22:03:39.510 -> CRC Length	= 16 bits
22:03:39.510 -> PA Power	= PA_MAX
22:03:39.543 -> ARC		= 0
22:03:39.543 -> 
22:03:39.543 -> 
22:03:39.543 -> AND NOW WITH ADDRESS AAAxR  0x41 41 41 78 52   ON P1
22:03:39.609 ->  and 250KBPS data rate
22:03:39.643 -> 
22:03:39.643 -> SPI Speedz	= 10 Mhz
22:03:39.676 -> STATUS		= 0x0e RX_DR=0 TX_DS=0 MAX_RT=0 RX_P_NO=7 TX_FULL=0
22:03:39.709 -> RX_ADDR_P0-1	= 0xe7e7e7e7e7 0x4141417852
22:03:39.775 -> RX_ADDR_P2-5	= 0xc3 0xc4 0xc5 0xc6
22:03:39.808 -> TX_ADDR		= 0xe7e7e7e7e7
22:03:39.842 -> RX_PW_P0-6	= 0x20 0x20 0x20 0x20 0x20 0x20
22:03:39.875 -> EN_AA		= 0x3f
22:03:39.908 -> EN_RXADDR	= 0x03
22:03:39.908 -> RF_CH		= 0x4c
22:03:39.941 -> RF_SETUP	= 0x27
22:03:39.941 -> CONFIG		= 0x0e
22:03:39.979 -> DYNPD/FEATURE	= 0x00 0x00
22:03:39.979 -> Data Rate	= 250 KBPS
22:03:40.007 -> Model		= nRF24L01+
22:03:40.041 -> CRC Length	= 16 bits
22:03:40.041 -> PA Power	= PA_MAX
22:03:40.074 -> ARC		= 0
22:03:40.074 -> 
22:03:40.074 -> 


and second arduino:

22:04:32.807 -> CheckConnection Starting
22:04:32.807 -> 
22:04:32.807 -> FIRST WITH THE DEFAULT ADDRESSES after power on
22:04:32.873 ->   Note that RF24 does NOT reset when Arduino resets - only when power is removed
22:04:32.940 ->   If the numbers are mostly 0x00 or 0xff it means that the Arduino is not
22:04:33.039 ->      communicating with the nRF24
22:04:33.072 -> 
22:04:33.072 -> SPI Speedz	= 10 Mhz
22:04:33.105 -> STATUS		= 0x0e RX_DR=0 TX_DS=0 MAX_RT=0 RX_P_NO=7 TX_FULL=0
22:04:33.171 -> RX_ADDR_P0-1	= 0xe7e7e7e7e7 0x4141417852
22:04:33.204 -> RX_ADDR_P2-5	= 0xc3 0xc4 0xc5 0xc6
22:04:33.238 -> TX_ADDR		= 0xe7e7e7e7e7
22:04:33.271 -> RX_PW_P0-6	= 0x20 0x20 0x20 0x20 0x20 0x20
22:04:33.304 -> EN_AA		= 0x3f
22:04:33.337 -> EN_RXADDR	= 0x03
22:04:33.337 -> RF_CH		= 0x4c
22:04:33.370 -> RF_SETUP	= 0x07
22:04:33.370 -> CONFIG		= 0x0e
22:04:33.403 -> DYNPD/FEATURE	= 0x00 0x00
22:04:33.403 -> Data Rate	= 1 MBPS
22:04:33.436 -> Model		= nRF24L01+
22:04:33.470 -> CRC Length	= 16 bits
22:04:33.470 -> PA Power	= PA_MAX
22:04:33.503 -> ARC		= 0
22:04:33.503 -> 
22:04:33.503 -> 
22:04:33.503 -> AND NOW WITH ADDRESS AAAxR  0x41 41 41 78 52   ON P1
22:04:33.569 ->  and 250KBPS data rate
22:04:33.602 -> 
22:04:33.602 -> SPI Speedz	= 10 Mhz
22:04:33.635 -> STATUS		= 0x0e RX_DR=0 TX_DS=0 MAX_RT=0 RX_P_NO=7 TX_FULL=0
22:04:33.668 -> RX_ADDR_P0-1	= 0xe7e7e7e7e7 0x4141417852
22:04:33.735 -> RX_ADDR_P2-5	= 0xc3 0xc4 0xc5 0xc6
22:04:33.768 -> TX_ADDR		= 0xe7e7e7e7e7
22:04:33.801 -> RX_PW_P0-6	= 0x20 0x20 0x20 0x20 0x20 0x20
22:04:33.834 -> EN_AA		= 0x3f
22:04:33.867 -> EN_RXADDR	= 0x03
22:04:33.867 -> RF_CH		= 0x4c
22:04:33.901 -> RF_SETUP	= 0x27
22:04:33.901 -> CONFIG		= 0x0e
22:04:33.948 -> DYNPD/FEATURE	= 0x00 0x00
22:04:33.948 -> Data Rate	= 250 KBPS
22:04:33.966 -> Model		= nRF24L01+
22:04:34.000 -> CRC Length	= 16 bits
22:04:34.000 -> PA Power	= PA_MAX
22:04:34.033 -> ARC		= 0
22:04:34.033 -> 
22:04:34.033 -> 

What does all that mean? Did the tutorial material you are working through explain any of that?

a7

I don't understand what was supposed to explain to me. It doesn't work and that's it.

It would help the forum (a lot) if you would reveal which Arduinos you are using and which LEDs you are seeing flash.

ON THESE ARDUINO UNO is blinking diode "RX LED" and second "ON LED" is ON.
ARDUINO-UNO-R3-ATMEGA328-CH340-AVR-KLON-FV

That the Serial LEDs flash does not mean much, only that there is activity on the Serial interface.

What are you using to power the NRF24s ?

PC USB 5v 500mA. USB charger 5v 3000mA (but then i cant see monitor serial)

Dont your NRF24 modules need a 3.3V supply ?

In case you aren't noticing, respondents are beginning to walk you through, step by step, all the same things you probably didn't read, or didn't believe, when you did your research.

We can't do this for you.

Can you honestly say you have spent enough time with Robin2's tutorial, and need help yet?

Enough time, it's gonna be some time and work. Again, that's on you.

a7

yes. and PIN VCC is connected to the 3.3v on the ARDUINO.

I did what here: I connected the module to the arduino with 7 wires and uploaded the code from the second post. Master and slave for 2 arduino with two NRF24l01 modules. WHAT CAN BE WRONG??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
i have checked wires more than 10 times! in post 3 there is a "checkconnection" suggestion i made it and it doesn't seem that the modules are communicating with arduino.

i cant reply posts is limit.

Faulty modules ?