arduino mega nrf wiring
-
I want to connect my nRF24L01 on my Arduino Mega created for a gateway Mysensors
I do not know how to do ?
thank you for your help cordially
-
I want to connect my nRF24L01 on my Arduino Mega created for a gateway Mysensors
I do not know how to do ?
thank you for your help cordially
@Michel-Lallemand the Mega has different pins for SPI. I don't have a Mega myself, but this thread should cover what you need to do.
Please post the result here. If the instructions work, I will add them to the radio page.
-
thanks a lot @ayo this wiring run perfectly thanks
-
Just connect it like this


That should Work.
In your arduino code add the following before the #include <SPI.h>
#include <MySensors.h>// Pin Confuguration for Arduino Mega #define MY_RF24_CE_PIN 40 #define MY_RF24_CS_PIN 53and you are good. :)
@ayo for me didn't worked.. maybe because i have an updated mysensor library?
-
@ayo for me didn't worked.. maybe because i have an updated mysensor library?
-
@Edoardo-Macrì It should work irrespective of the library version. Cross check your connection again, don't forget about capacitors too and lastly make sure you add that #define part into your code.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login