I am trying to use a nRF24L01+ with adapter (to hook up with 5VDC) on a nano but I cant get it to work. I have searched extensively but it seems noone has this problem. Using the GettingStarted code from the RF24 github with everything hooked up returns "Transmission failed or timed out".
I have tried not using the adapter ( and powering with 3.3V, of course), but I get the exact same result. I have used two different nanos and two nRF24L01+. Since I bought both transcievers at the same place, it is possible to be hardware failure, though I highly doubt it. From searching other troubleshooting topics, I think "RX_PW_P0" might explain my problem but I studied the source code and couldnt understand what it meant. Thanks
Powering the adapter with 12VDC (within allowed voltage) separately also does not help, so I dont think the problem is that it isnt drawing enough current.
How do you think a transmission with acknowlegdement can succeed with only the sender?
I'm quite sure that your transmitter is transmitting, probably a couple of times for each try.
But nobody answers the call.
Your conclusion is: "the transmitter does not work".
It's like testing Walkie-talkies with only one device.
This is what Nordic Semiconductors call their Schockburst technology. It is a layer below the library functions.
The transmission is considered valid if it get to the the receiver, the receiver checks it using a cyclic redundancy code test, requests retransmissions if necessary, and sends an acknowledgement back to the transmitter.
Do you still get the bad return code on the transmitter now that you have installed a receiver ?
Well, really you don't even have to know it. It should all happen in the background.
Generally, with these transceivers, if the configuration is correct, the problems are related to insufficient power. Especially so with the modules in the picture which include, in addition to the basic NRF24L01 chip, a power amplifier stage and antenna.
Breadboards, as has been pointed out, are rather poor for these things.
Ok, update time. I ruled out possible power issues and poor connections. However, I managed to get it working by not requiring an acknowledgement to move on. This is really bad since I might lose information in the process, but necessary. For some reason the handshake does not happen. Thanks for pointing out that the transmitter was working well and for all the info provided.
If any of you from the future are having the same problem, try the code on this topic: Probleme mit nRF24 Funkmodul . I ignored it initially since it is in german, but a simple google translate worked well enough. Please let me know if someone figures out why this problem might happen.
Can you run the transmitter alone without giving error messages?
Can you transmit data between two nodes?
Does it work in both directions?
Can you send data in both directions in one sketch?
Yes, I can read what the other node is writing. This means I can bypass completely the ACK and do it manually, but I dont think it will be necessary for my project.
Yes, I have tested both ways and it works fine.
Have not tested this yet, but I'm pretty sure it would work, since it works in both directions.