Hey, I'm new to arduino but been learning a lot, I'm trying to make RC car using 2 nrf24l01+pa+lna modules, I am using a Nano with joystick as my transmitter and a uno as my receiver, as I'm new to all this I'm using a code I copied from a project somebody has made so the code is not wrong or anything. The problem is being that everytime I connect to a power source only the power led turns on, but as soon as I disconnect the nRF power wire to the 3.3v on uno the TX light turns on and as soon as I connect it back the TX turns off, I've done this on 2 unos but the TX light problem remains the same. All the wiring is according to this picture below.
These modules need a separate 3.3V supply, they need more power than an UNO can deliver.
Now I am using a nRF adapter that uses 5v and converts that into 3.3v, the problem is still the same
Here are tips that helped me to get my rf24 radios 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. The code in the examples has been proven to work many many times. If it does not work for you, there is likely a hardware problem.
Run the CheckConnection.ino (look in reply #30 in the tutorial) to verify the physical wiring between the radio module and its processor (Arduino). This is especially useful if all you see is “Data received” repeating much more quickly then there is a problem - most likely theArduino is not communicating properly with its nRF24.
It sounds like you already have this covered, but I include it anyway.
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 );
Also for some clones, change TMRh20's RF24.cpp line 44
_SPI.setClockDivider(SPI_CLOCK_DIV2);
Into
_SPI.setClockDivider(SPI_CLOCK_DIV4);
Have a look at the common problems page.
Is the code trying to write to the serial monitor ?
This could explain the activity of the TX led.
Anyway, post a link to the code that you have found.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
