I started a topic in General Electronics about this, but I realize now it should have been in Networking instead. I can't seem to figure out how to delete the topic from General Electronics, though.
I am new to Arduino, and I am building an RC plane. I got two new nRF24L01 transceivers from Amazon, but I cannot get them to work. I connected both transceivers to Arduino Unos, with the following connections:
GND to Ground, V+ to 3.3V, CE to Digital 7, CSN to Digital 8, SCK to Digital 13, MOSI to Digital 11, and MISO to Digital 12.
I downloaded the RF24 library from TMRh20. I have tried several programs, but I have not successfully sent data from one Arduino to the other. I followed Robin2's tutorial as well. However, when I tried the simple one-way transmitting program, the receiver kept printing "Data Received," but did not print the data, and it still continued to print "Data Received" even when I unplugged the transmitter. It could be a coding or hardware problem. I can't think of anything I did wrong, but like I said I'm new to Arduino, so please don't discount a possible solution if it seems too obvious.
cork09:
I followed Robin2's tutorial as well. However, when I tried the simple one-way transmitting program, the receiver kept printing "Data Received," but did not print the data, and it still continued to print "Data Received" even when I unplugged the transmitter.
That usually means that the Arduino is not communicating with the nRF24 it is attached to.
Have you tried my connection-test program. IIRC is it is Reply #29 of my Tutorial?
How are you powering the nRF24s? The 3.3v pin on some boards may not provide enough current.
What Arduino boards are you using?
Have you a spare nRF24 so you can check if one of the devices is faulty?
The examples in my Tutorial do work and have been used by other Forum members so it will be much easier to help if you stick with them until you get the wireless working.
If you want more help please post the code that YOU have uploaded to your two Arduinos and also post simple diagrams (just pencil drawings) showing how YOU have everything connected. See this Simple Image Guide
You are powering high power NRF modules from the 3.3V of the UNO.
The 3.3V of the UNO can hardly support the standard modules (with a cap it most often works).
You need a separate 3.3V power supply for the NRFs on both stations.
Thanks for your ideas about powering the nFR24L01, I'll try those. However, the problem was that the manufacturer misprinted the pin labels on the module, but I switched the connections and it works great now.