http://www.arduino.cc/playground/InterfacingWithHardware/Nrf24L01) and the examples ping_server and ping_client (without changing anything).

The problem is that the communication fails. If I connect the nano as a server and a mega as a client, mega sends the message to the nano, it receives and sends the replay although but mega not receives and displays a timeout.

If I do the contrary, the mega as a server and nano as a client, the nano sends the message and the mega does nothing.

At the time I thought of any of the Nrf24L01 + bad but I have exchanged and error remains the same so it is clear that the problem has to be in the mega arduino that is unable to receive any message.

And after that summarize, someone has managed to use an arduino Nrf24L01+ with and mega with the library "Mirf" or with another library.

Thank you."> http://www.arduino.cc/playground/InterfacingWithHardware/Nrf24L01) and the examples ping_server and ping_client (without changing anything).

The problem is that the communication fails. If I connect the nano as a server and a mega as a client, mega sends the message to the nano, it receives and sends the replay although but mega not receives and displays a timeout.

If I do the contrary, the mega as a server and nano as a client, the nano sends the message and the mega does nothing.

At the time I thought of any of the Nrf24L01 + bad but I have exchanged and error remains the same so it is clear that the problem has to be in the mega arduino that is unable to receive any message.

And after that summarize, someone has managed to use an arduino Nrf24L01+ with and mega with the library "Mirf" or with another library.

Thank you."> http://www.arduino.cc/playground/InterfacingWithHardware/Nrf24L01) and the examples ping_server and ping_client (without changing anything).

The problem is that the communication fails. If I connect the nano as a server and a mega as a client, mega sends the message to the nano, it receives and sends the replay although but mega not receives and displays a timeout.

If I do the contrary, the mega as a server and nano as a client, the nano sends the message and the mega does nothing.

At the time I thought of any of the Nrf24L01 + bad but I have exchanged and error remains the same so it is clear that the problem has to be in the mega arduino that is unable to receive any message.

And after that summarize, someone has managed to use an arduino Nrf24L01+ with and mega with the library "Mirf" or with another library.

Thank you.">
I have two Arduino (a mega and nano) and two nRF24L01 + to communicate them.

The connection of the wires according to the library and using the SPI pins modeled on arduino.

NANO 328:
MISO -> 12
MOSI -> 11
SCK -> 13
CE -> 8
CSN -> 7
GND -> GND
VCC -> 3.3v

MEGA 2560:
MISO -> 50
MOSI -> 51
SCK -> 52
CE -> 8
CSN -> 7
GND -> GND
VCC -> 3.3v

Use the library "Mirf" found in the playground (http://www.arduino.cc/playground/InterfacingWithHardware/Nrf24L01) and the examples ping_server and ping_client (without changing anything).

The problem is that the communication fails. If I connect the nano as a server and a mega as a client, mega sends the message to the nano, it receives and sends the replay although but mega not receives and displays a timeout.

If I do the contrary, the mega as a server and nano as a client, the nano sends the message and the mega does nothing.

At the time I thought of any of the Nrf24L01 + bad but I have exchanged and error remains the same so it is clear that the problem has to be in the mega arduino that is unable to receive any message.

And after that summarize, someone has managed to use an arduino Nrf24L01+ with and mega with the library "Mirf" or with another library.

Thank you.


JLCPCB – Prototype 10 PCBs for $2 (For Any Color)

China’s Largest PCB Prototype Enterprise, 600,000+ Customers & 10,000+ Online Orders Daily
How to Get PCB Cash Coupon from JLCPCB: https://bit.ly/2GMCH9w

Syed Zain Nasir

I am Syed Zain Nasir, the founder of <a href=https://www.TheEngineeringProjects.com/>The Engineering Projects</a> (TEP). I am a programmer since 2009 before that I just search things, make small projects and now I am sharing my knowledge through this platform.I also work as a freelancer and did many projects related to programming and electrical circuitry. <a href=https://plus.google.com/+SyedZainNasir/>My Google Profile+</a>

Share
Published by
Syed Zain Nasir