Arduino + NRF24 simple tutorial and range test
Ғылым және технология
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!
Пікірлер: 271
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!
@learnings...1448
6 жыл бұрын
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...?
@yuridanylko
6 жыл бұрын
But can it switch between receiver and transmitter mid-program?
@virtual_ninja810
5 жыл бұрын
@@yuridanylko yes pls see it on how to mechatronics
@yuridanylko
5 жыл бұрын
@@virtual_ninja810 Thanks
@kimhonnepon7250
5 жыл бұрын
@@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
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.
very good video with clear cut explaination. Good job, keep it up.
Thank you! An excellent and logically presented tutorial. Has inspired me to start my own experiments.
Great video man! Good and fast introduction to these modules. New sub!
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.
Very clear and clean video. Thank you
This code serves as a basic outline for anyone to modify it to their needs. Great job
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!
thanks, bro, I finally got a smile on my face. keep making these videoes, all the best for monetization.
@bagavathi9428
3 жыл бұрын
Sir please tell what is the final range of the nrf24l01 modul
@robinson4470
2 жыл бұрын
@@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
Have watched this video several times now, referencing the information. Great video!
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 well presented. Thank you!
EXCELENT BRO.. YOU ARE VERY SMART.. THANK YOU VERY MUCH AND CONGRATULATION...
Hello Tehno Manik, Thank you for a great video.
Very good tutorial. Well explained code unlike in other tutorials on youtube
@TehnoManik
2 жыл бұрын
Thank you for your comment and support. Cheers!
Thank you so much sir. I absolutely understand and I tried it with the help of your vedio. Thanks a lots sir.
Excellent tutorial, i learn a lot. Thank you
Top Video and easy to follow you! Well done!
Great video. Good explanation.. Keep the videos coming. You have a new sub
Thanks a lot man. It has really been a big help.
Thanks for the video. It was quite informative and well done.
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.
Super Helpful Tutorial!! Thank you very much! 👍👍👍
Good video ...it was clear and neat . thanks for the video
Thanks so much for the amazing tutorial! I finally got my NRF24 working!
@vishalgaikwad3044
4 жыл бұрын
Bro can u help me to make a controller and receiver for 8 channel with nrf24
this is the best tutorial about NRF24l01
This is a really good video. Good job, and thank you.
Thanks alot! You are very good at explaining. Subscribed! 👍
this worked great thanks for your contributions sir!
Perfekt video and explanation. Thank you very much
Very good video, thanks man!
Well presented. Thanks from Indonesia
Mega useful thanks buddy new subscriber.
Very concise, I like the this makes it work here you go, run with it.
Best tutorial ever !
thankyou very much Sir, it was really alot helpful in clearing my some misconceptions.
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
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 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
@TehnoManik
6 жыл бұрын
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.
@lantonyj
6 жыл бұрын
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..
@TehnoManik
6 жыл бұрын
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.
@lantonyj
6 жыл бұрын
Tehno Manik again thank you for your time and efforts to help others, I truly appreciate you!!
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.
Thank you very much, you helped me a lot
Kudos - Very well done.
*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 ......
A Very good video
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?
@TehnoManik
6 жыл бұрын
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).
hello good video, do you have any video with the MQ-135 sensor with this antenna?
Very Clear Tutorial Thanks
Thanks it is a very useful video, nice 😊😊
Thanks for this excellent video...
great video, is it possible to send video signal with this system?
Excelente vídeo, muchas gracias por compartir. Me costo un poco, mi ingles es muy malo, pero algo entendí. Saludos cordiales desde Perú.
Very cool tutorial
your the best ...really good video very clear ,thanks
@renskippen3523
5 жыл бұрын
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
Thanks for Your tutorial. For today I had a problem to connect nrf24l01with UNO. ;-)
Can i transmit video data with these modules ??
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 .
Thank you nice video. Was very good explained, y had errors before i now why now
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?
Good instructions. It would be useful to attach a reference to the library (). Not everyone has everything installed. To write "nRF24L01.h"
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?
Hi, I would like to know if the NRF24L01 with antenna can work without Base Module?
What is the min distance between the transmitter and reciever to test the units are working?
I'm designing a yegi antenna for nrf24l01 modules! How much renge will we get? What you think?
Thank you sir, working fine
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!!
@TechnoTeerth
2 ай бұрын
Same with me, someone please help
Which capacitor value we use
Se eu tiver esse adaptador não preciso colocar o capacitor entre o VCC e GND?
Thank you for the video it has helped me on my project. What software did you use to test the range?
@ianhayden2839
Жыл бұрын
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
muito bom, vc teria um exemplo bidirecional (tranceiver) ?
Do you still need adapter if you're going to connect NRF to NodeMCU or ESP32 which has 3.3v output?
my buzzer doesn't delay, it's just a solid tone. Even when only the receiver is powered . Anyone have any idea why>
THANK YOU VERY MUCH NICE VIDOE HOPE YOU DO MORE.
good Job gentleman hope your are continue :)
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?
What specific base module you are talking about, can't find them online
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
nice range test good
Thank you.
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!
@juanmontes8905
4 жыл бұрын
I will test it bro, sounds pretty good for my proyect of 10km data sending
Hi thank you for your video and I want to know if there will be any difference if I use Nrf24l01 instated of Nrf24 specially in the code.
How did you investigate the data loss?
Like it, very useful.
How can you add someting in your transmitted data like 2 float variables ?
Just purchased a pair of these on Amazon. But, I want to use them with ESP32/8266 MCUs and RPi Compute Modules, preferably with Python and/or microPython. But, I'm not finding much info nor YT videos on these configurations. Only Arduino & IDE.🤔
nice job, what is the maximum frequency we can transmit between tow module NRF24L01
@juanmontes8905
4 жыл бұрын
It has 125 channels with 1Mhz step between each other and starting at 2400Mhz, so it would work up to 2525Mhz
Is it possible to have one tx and multiple rx?
Excelente vídeo
Thank you a lot. I bought the components for my project and I will follow your tutorial. I have one question about the base module. If I utilise the Arduino Due (3.3V output) + an output power supply, will the base module work? Thank you in advance.
thanks man !!!
Thanks a LOT
keep it up bro....👌👌👍
If we put the transmitter inside a house, and put the receiver outside, theoretically how much range can we get?
Can Bluetooth signals be detected and a ring is emitted when detected by these electronic parts?
What are the method that you used while you measure the range of nRF, are you use GPS Module?, Thank You
@victornavarro3454
5 жыл бұрын
Google maps.
How does datarate affect range? 250kbps vs 1Mbps vs 2Mbps
Could anyone control D10 in pwm mode when use this rf module?