Go Down

Topic: Problem with Module nRF24L01+ and MEGA (Read 448 times) previous topic - next topic

MosheB


Hi, to all.
First of all, I apologize for my English.
Secondly, I am a new user, so stuck in this situation.
I have two Arduino, one of UNO and other MEGA.
I'm trying to connect them with a 2 wireless module, nRF24L01+.
The aim of my project is, on one side Arduino-MEGA, connected as Transmitter to change with potentiometer,
While the other side Arduino-UNO connected servo motor, to operate by modifying the potentiometer.
I read the following great link, http://arduino-info.wikispaces.com/Nrf24L01-2.4GHz-HowTo
And it says that it is advisable to "Connect a 10 uF capacitor from Vcc to Gnd".
And wanted to use "A separate 3.3V power supply".
After I did this, I got a problem though.
The motor spins shift only after I press reset, in Arduino-MEGA, and again until I press again the reset.
I am using SPI, and RF24 libraries, and the connection pins are as in this site  http://www.elecfreaks.com/480.html,
After I didn't get the connection as in site http://arduino-info.wikispaces.com/Nrf24L01-2.4GHz-HowTo
Is it a problem because I use with UNO and mega?
There is a solution to this problem?
Thanks a lot for Helping.

Docedison

#1
Jan 30, 2014, 11:52 pm Last Edit: Jan 30, 2014, 11:54 pm by Docedison Reason: 1
The 3V3 supply bypassing is not very good on either the Uno or Mega boards as on both boards there is ONE 1uF bypass capacitor installed on the 3V3 output of the LP2985 3V3 linear, C13 in the Mega and C3 on the UNO.
I recommend 100 to 220 uF and I also recommend it be installed on the connector pins on the radio as this will tend to eliminate any effects caused by long wires. The wires to the radio should be as short as possible and both radio's if at all possible should be clear of any other obstructions and oriented in the same direction, This is for maximum distance of transmissions..
This has always worked best for me..

Doc
--> WA7EMS <--
"The solution of every problem is another problem." -Johann Wolfgang von Goethe
I do answer technical questions PM'd to me with whatever is in my clipboard

MosheB

OK, Thanks for your answer.
I will try your recommended.
The modules are close in the same table, abut 10 cm distance, and one computer with different COM.

Thanks again.

MosheB

Doc you are grand.
I use 100uF and it is work great.
Thanks, thanks a lot.


ninjaman

just a quick one, is the capacitor an electrolytic or can you use ceramic?

thanks
simon

MosheB


crofter


just a quick one, is the capacitor an electrolytic or can you use ceramic?


As a general rule there is a crossover between ceramic and electrolytic/tantalum at 1uF. You can get ceramic caps of 1uF and bigger but they only seem to be in surface mount packages.

Go Up