Arduino Wireless Communication – NRF24L01 Tutorial

preview_player
Показать описание

In this Arduino tutorial we will learn how to make a wireless communication between two Arduino boards using the NRF24L01 transceiver module.

Like my page on Facebook:

Add me on Google+:

Рекомендации по теме
Комментарии
Автор

Awesome work. You have saved me a LOT of time.

tracythompson
Автор

I literally got my 3 NRF24L01 modules today and was trying to find a good tutorial, and now you uploaded this, thanks!!

geluidsbox
Автор

clear and helpful tutorial, I like that you go in depth on what you are doing unlike many other tutorials, thanks

aonoymousandy
Автор

Thank you for posting this tutorial! I was at a wireless data communication bottle neck on a robotic arm project and you just saved the day! Great job my friend! So happy!

johnnynickles
Автор

Great video thank you so much! I just wanted to bring to your attention that the 2 of the 3 green wires at 2:32 for the arduino nano are incorrect. MOSI is correct. But you have SCK running to 12 when it should be 13. And MISO is running to 10 when it should run to 12

dannylumcreative
Автор

Thanks, this was a huge relief, because I've watched several other tutorials, and it didn't work then. I really appreciate you

David-uyev
Автор

Just finished testing your code, it works! thanks.
I add "radio.setChannel(0)" after "radio.begin" at both transmiter and receiver sketch. It is to make sure both receiver and transmeter in the same channel. Since it is 125 channels altogether then i use 0 at both. Thanks again.

Daus-eukw
Автор

Noticed one small error in the drawing that I'm sure has already been mentioned but not recently maybe. On the Nano in the picture the green wires are running to 10, 11 and 12 rather than 11, 12 and 13. 13 is on the other side of the board. Only I would follow the picture and miss that the numbers everywhere have it correctly. Don't want to say how many hours I messed that up and I've used SPI before and actually was bummed because it uses my little flashing LED pin 13. Not at my best today.

Really great video and your link to your page really helped. Super. I don't know I could have linked them without it. Many thanks.

Eurus
Автор

Finally I got it working after two days of attempts trying to find out what was wrong, I replaced the Nano board with Uno board.. Thank you very much.

aldeen
Автор

Finally it works. Don't use breadboards to make the connections because the breadboard turn into a small capacitor.

MegaTechno
Автор

Nice introduction to the NRF24L01. The diagram of the Arduino Uno/Nano at 2:30 seems wrong but the arduino mega seems correct. Would of been nice to see the demonstration at the beginning with a clear view of the wiring. Thanks for the tutorial.

pow
Автор

the best explanation i have found so far...and i watched many. thanks.

mrkewi
Автор

Great experience, I used 2 NANOs. Comments about pin 13 helpful ... worked first time. Thank you !

johnmcginnis
Автор

Excellent! Thanks. And also, thanks for not drowning your videos with 5h1t 'music'! Your voice is important and it comes across well! 👍

Poult
Автор

Thank you so much, you are the one who's sketch and connection works. But I still have a question. Why nothing works when I change power supply. It works only from 3.3 v Arduino output. Other power supplies (batteries, MB-102...) Don't provide possibility to work properly for nrf24l01

syncope
Автор

Best intro to wireless communication! Thanks!

mitsos_
Автор

Great Video, the only one I've seen so far that has Send and Receive functions on both ends.

jonoalf
Автор

Nice tutorial but there are a couple of things that I needed to correct in order to get both examples to work.
First, the wiring diagram for the Nano is incorrect. Use the written pin assignments at 2:33 in the video.
Second, in order to get the second example to work, I had to change this line in the transmitter code - while (!radio.available()); to if (!radio.available());
Thank you for all the help in getting this project working. Now to add more servos!

halstaff
Автор

I believe I just discovered a small mistake in the video (with the Nano/Uno at least, I am using 2 Uno's) that was causing me some headache in figuring out what I was doing wrong. If you're having trouble like I was maybe this will help you (for me, the receiving end was getting a flood of blank input and eventually getting some weird characters before outright stopping (viewing with the serial monitor).

At 2:30, you list the CSN as being connected to Pin 8 and CE to 7, for the Nano/Uno. However, if you look at the code at 2:40, you have the line:
RF24 radio(7, 8); // CNS, CE
Which I assume implies that you have the CSN connected to 7 and CE to 8, in their respective order. This is reversed from the list 10 seconds earlier. All I had to do was swap which wire was going to which pin and suddenly everything is working fine. Just swapping the lines in the code should have worked too.

ChrisHansenYup
Автор

Really easy to understand and helpful!!Thank you! It's the first video of coding in arduino that I understand

Smartart_startup
join shbcf.ru