I'm using (or at least trying to use) the RF24 library to control some nrg24l01s but I just can't get them to work. I have been trying to get them to do something for at least ten hours over two days now and I've not been able to continue on my project.
I've tried three different arduinos, including Nano, Uno, and Mega. None of them are being cooperative. I've tried using the correct spi ports for each board. I've checked my pins dozens of times. I'm using the Getting Started program provided in the documentation examples and followed the tutorial going with it almost exactly (but using a breadboard instead of proto board. Rf module connected with ribbon cable).
Well is there something that I should know? These are the rf modules I have. Don't know if they are junk but of the few reviews they say they got them working.
Don't know if this is the best section to ask my question but it seemed like it to me. I am very confused and exhausted. Any help is very much appreciated.
Those module need a very clean and capable power supply. How do you power them?
Here is some good info to read, adding a capacitor helps, easiest way I found to get started quickly is to use an adaptator though which simplifies the connexion and lets you power everything from 5V (you can probably find a much better deal than this one if you can wait for a longer ship delay)
If you read French or use google translate you can have a look at a small demo code I wrote
J-M-L:
Those module need a very clean and capable power supply. How do you power them?
Here is some good info to read, adding a capacitor helps, easiest way I found to get started quickly is to use an adaptator though which simplifies the connexion and lets you power everything from 5V (you can probably find a much better deal than this one if you can wait for a longer ship delay)
If you read French or use google translate you can have a look at a small demo code I wrote
Okay, so I've got a 10uF capacitor on the 3.3v and ground already. I also ordered the breakout board that you recommended. I will test it out when it gets here, hopefully that will work.
What type of capacitor did you solder (polarized)?
If you power straight from the 3.3V pin of your Arduino UNO, remembers it provides only up to 50 mA. With high power modules it's insufficient and the cap whilst absorbing burst will not be enough to feed the hundreds of mA needed when transmitting if you did not reduce power
I had the problem as you did. In my case, the nRF24 module has a problem with the pin description/notation. That is, the printing on the pcb does not indicate correctly the pin function. In fact, the true GND pin (pin number 1) is on the other end of the header row opposite the one indicated by the description. You can spot it inside a small square box.