Arduino + NRF24 simple tutorial and range test
HTML-код
- Опубликовано: 7 сен 2017
- This is simple tutorial on how to setup high powered version of NRF24 wireless communication module with Arduino. Setup used in this video is for range testing and is not for bidirectional communication. There are plenty of other tutorials online for more complicated setups with NRF24 modules.
Source code: github.com/tehnomanik/tm-node...
Attention: There is a mistake in video, operating frequency of module is not 2.4 Mhz as declared but 2.4 Ghz. Sorry about that! - Наука
well finaly someone explaining what line in code does what, most of those tutorials are "copy paste my setup and learn yourself with no clue". good job
Attention: There is a mistake in video, operating frequency of module is not 2.4 Mhz as declared but 2.4 Ghz. Sorry about that!
Thank you for the great video....
I need your help.....
Can you help me control 4 servo motors using 4 potentiometer.....
wirelessly.....NRFL01.....please,......
And the code explaination alsoo....
And is HC-12 better than NRFl01 for this...?
But can it switch between receiver and transmitter mid-program?
@@yuridanylko yes pls see it on how to mechatronics
@@virtual_ninja810 Thanks
@@learnings...1448 Get the NRF2401 here for only 1,50$! It's great quality: www.banggood.com/NRF24L01-Antenna-Wireless-Transceiver-Module-For-MCU-p-87625.html?p=7I22079633188201703T
5 years late I found the best tutorial about Nrf24l01 on RUclips. Thank you 😊
Thankyou Sir for such a clear, concise and easy to understand tutorial. You covered so many aspects which I was not sure about and have undoubtably saved me a lot of time and expense.
Thank you! An excellent and logically presented tutorial. Has inspired me to start my own experiments.
very good video with clear cut explaination. Good job, keep it up.
Man, thank you very much! From Kazakhstan) in russian youtube i haven't find so clear and clean video
Couldn't be better, thank you. Excellent tutorial and explanation.
Great video man! Good and fast introduction to these modules. New sub!
works 100%...as i didnt have the buzzer, so i replaced my code for led blinking to show that data is still being received by the receiver. Awesome and thanks!
Have watched this video several times now, referencing the information. Great video!
This code serves as a basic outline for anyone to modify it to their needs. Great job
Thanks for that vert well made tutorial and code explain about the nrf24 modules, you saved my life, almost for now haha thank you very much dude
Very clear and clean video. Thank you
thanks, bro, I finally got a smile on my face.
keep making these videoes, all the best for monetization.
Sir please tell what is the final range of the nrf24l01 modul
@@bagavathi9428 it's 1070 meters in ideal conditions, although I've seen a few tutorials where they avoid using long wires, and wrap the ground cable with the mosi and miso in order to gain a few meters
Very good tutorial. Well explained code unlike in other tutorials on youtube
Thank you for your comment and support. Cheers!
Hello Tehno Manik,
Thank you for a great video.
Very well presented. Thank you!
EXCELENT BRO.. YOU ARE VERY SMART.. THANK YOU VERY MUCH AND CONGRATULATION...
Thank you so much sir. I absolutely understand and I tried it with the help of your vedio.
Thanks a lots sir.
Thanks so much for the amazing tutorial! I finally got my NRF24 working!
Bro can u help me to make a controller and receiver for 8 channel with nrf24
Thanks for the video. It was quite informative and well done.
Super Helpful Tutorial!! Thank you very much! 👍👍👍
Top Video and easy to follow you!
Well done!
Excellent tutorial, i learn a lot. Thank you
thankyou very much Sir, it was really alot helpful in clearing my some misconceptions.
this is the best tutorial about NRF24l01
Perfekt video and explanation. Thank you very much
Thanks alot! You are very good at explaining. Subscribed! 👍
This is a really good video. Good job, and thank you.
Thanks a lot man. It has really been a big help.
Very concise, I like the this makes it work here you go, run with it.
Great video. Good explanation.. Keep the videos coming. You have a new sub
Good video ...it was clear and neat . thanks for the video
this worked great thanks for your contributions sir!
Good video tutorial!
It eliminated many doubts of mine. Easy to understand. I understood even though I didn't know English.
Congratulations and thank you very much!
I'm César Augusto Becker from Brazil.
Well presented. Thanks from Indonesia
*THANK YOU SO MUCH* ....Your video tutorial helped me a lot and I'm so happy that I can't explain in word. Thank You Thank You so much ......
Very good video, thanks man!
Thanks for the amazing explanation inloved the video qnd i tried it with my nrf modules it worked very nicely 😊😊😊😊
Thank you very much, you helped me a lot
Mega useful thanks buddy new subscriber.
Thank you very much!!!! Unlike others, this video was very helpful and extremely easy to follow!! I have a quick question, if you don't mind. When you performed the range test how did you power the units? Were you connected to a laptop or did you use a battery power source, if so what did you use?
Thank you again for taking the time to make this great video
Thanks for your comments. I powered arduino boards with classic power banks, one is ravpower 16000mah, the other some chinese 5600mah. Also I did not work with HC-12modules so cannot comment on that. My primary use for this was controler for heating (thermostat in living room and controler in basement). But I ended up using nodeMCU because its all in the house and i use wifi. Its much simpler and if range is not priority, much more flexible because of webserver.
Tehno Manik wow thats a lot of current, did you feel that much current was needed? I was planning on using 2 - 3.7 4000mah 18650 in series, do think thats enough or will it be drained quickly. Sorry I cant find any datasheets on this module..
I have not tested current consumption, but if I remmeber it will drain about 200ma when transmiting, so depending on your setup and requirements i would say that 4000ma would be enough for at least 15h of transmitting. Of course, this is constant transmission, if you transmit periodically for second or two it would last much longer.
Tehno Manik again thank you for your time and efforts to help others, I truly appreciate you!!
Thanks for Your tutorial. For today I had a problem to connect nrf24l01with UNO. ;-)
your the best ...really good video very clear ,thanks
Get the NRF2401 here for only 1,50$! It's great quality: www.banggood.com/NRF24L01-Antenna-Wireless-Transceiver-Module-For-MCU-p-87625.html?p=7I22079633188201703T
Excelente vídeo, muchas gracias por compartir.
Me costo un poco, mi ingles es muy malo, pero algo entendí.
Saludos cordiales desde Perú.
Thanks it is a very useful video, nice 😊😊
Hi - what data speeds were you using for the range test please? (I see fastest 2Mb knocks back RX sensitivity a lot). I have also subscribed as it is a really good, clear video.
Thank you nice video. Was very good explained, y had errors before i now why now
Thanks for this excellent video...
Very Clear Tutorial Thanks
Best tutorial ever !
Kudos - Very well done.
THANK YOU VERY MUCH NICE VIDOE HOPE YOU DO MORE.
Is there a way to pair rc receiver to arduino transmitter, I want an rc receiver because of how compact and cheap it is and also the wide voltage range I can input to it
I tested them up to a distance of 1500m @250kbps channel 100 (2.500 GHz). At this high frequency there is no interference from wifi!
I will test it bro, sounds pretty good for my proyect of 10km data sending
good Job gentleman hope your are continue :)
Your code works with the standard nrf24l01 but not with NRF24L01+PA+LNA SMA Wireless Antenna Transceiver. What am I missing here? Or maybe the NRF24L01+PA+LNA SMA set I bought is faulty!!
Same with me, someone please help
Good instructions.
It would be useful to attach a reference to the library (). Not everyone has everything installed. To write "nRF24L01.h"
Very cool tutorial
Nice job, impressive range for 2.4 GHz, considering Bluetooth and 802.11 LAN reach 100m. Any idea why the range with NRF24 is greater?
BT devices generally have small internal antennas, and also have high bandwidth. With WiFi using 24dbi directional antennas you can get several kilometers range (tested about 3km with line of sight). As in any rf communication, better antenna and higher power means greater range. Also higher bandwith means less range (for eg 4G mobile network vs 2G GPRS).
So I followed the same setup in the video with same hardware and same code. Yet the buzzer goes off constantly instead of at intervals, and it does this whether or not the receiver is off. I've tried a different tutorial and still nothing works. Any ideas of what may be wrong?
Also I forgot to ask, do you have experience with the HC-12 modules? If so, will you share your experience and also will you make a comparison video, please?
Thank you sir, working fine
Se eu tiver esse adaptador não preciso colocar o capacitor entre o VCC e GND?
A Very good video
nice range test good
Hi.. Im having trouble with my project. Using 2 arduino , I want to make a traffic control system with red and green LED which will light up if the Ultrasonic sensor detect an object (car). I want the system to work wireless using nrf24l01. When the first green LED turn on(for 1 min), the second green LED on the other arduino should turn off (red is on) even if its Ultrasonic sensor detect an object. It can only turn green after 5 second the first red LED turn on while the green was off. Can u help me with the program?
Hi, I would like to know if the NRF24L01 with antenna can work without Base Module?
hii...i've successed using nrf24 with internal antena, but when i try to using nrf24 with external antena, function isChipConnected( ) always return false / zero. what should i do?
very good video, thank you
Can i transmit video data with these modules ??
Do you still need adapter if you're going to connect NRF to NodeMCU or ESP32 which has 3.3v output?
What is the min distance between the transmitter and reciever to test the units are working?
keep it up bro....👌👌👍
Thank you for the video it has helped me on my project. What software did you use to test the range?
It looks like Google earth. If you know the location of the transmitter, keep that in mind and drive with the receiver until it looses signal, then map it on Google earth
Hello! I have an arduino uno and an arduino nano. I have uploaded the code of transmitter in arduino uno and for the receiver in arduino nano (in different pins) nd instead of a buzzer i placed a led ,but it doesnt work. Why is that happening? Thank you in advance!
What specific base module you are talking about, can't find them online
Hi I had a little question do you think it works if we control it from home knowing that I control it from a lap of about 40 m and that the receiver is still in motion at 20 cm from the ground In the middle of town?
How can you add someting in your transmitted data like 2 float variables ?
hello good video, do you have any video with the MQ-135 sensor with this antenna?
Can Bluetooth signals be detected and a ring is emitted when detected by these electronic parts?
Like it, very useful.
my buzzer doesn't delay, it's just a solid tone. Even when only the receiver is powered .
Anyone have any idea why>
My name is Mahamad. I am from Malaysia. Your video is simple and easy to understand. I am very interested in using the NRF 24L01 as voice transmitter and video transmitter. But I dont know how to program it. Can the source code you give work with the arduino nano /mini pro and uno base ? Thank you very much for your effort to make such a good video for International / global audiance .
11:23 When I power it up, the LED on my base module turns red. Is this right?
If we put the transmitter inside a house, and put the receiver outside, theoretically how much range can we get?
keep it up bro....
Excelente vídeo
I'm designing a yegi antenna for nrf24l01 modules! How much renge will we get? What you think?
Somebody help me, We only defined the CE and CSN pin of the NRF24lo1 to the arduino in the code, what happened to the rest of the three NRF24l01 pins ( SCK, MOSI, MISO) in the code, or it dosent matter to the code ! so we could randomly connect these pins to any digital pins in arduino differently in transmitter and receiver ?
The atmega328 chip has predefined pins for SCK, MOSI, and MISO as digital pins 13, 11, and 12 respectively. The chip select pin can be any digital pin, pulling low to to enable the communication, as per the SPI documentation.
How did you investigate the data loss?
Thank you.
Hi. My problem is that my connection its only working when i put my hand on the transmitter radio antena . Do you have any idea what should I do ?
Same issue with me
Is it possible to have one tx and multiple rx?
Could anyone control D10 in pwm mode when use this rf module?
Thanks a lot, with this video I could did a behavior test and I could saw a perfect behavior with my modules. thank you !! another thing, you know how send analog values with these modules, for example send potentiometer values or a some temp sensor values? regards!
Glad you like the video, thanks for comment. As for sending values, you can cast it to char array on the transmitting unit and send it to receiver. Than on receiver end if needed cast it back to numerical type (int or float) so you can use it in your calculations.
muito bom, vc teria um exemplo bidirecional (tranceiver)
?
Which capacitor value we use
What are the method that you used while you measure the range of nRF, are you use GPS Module?, Thank You
Google maps.