Arduino + NRF24 simple tutorial and range test

  Переглядів 341,844

Tehno Manik

Tehno Manik

6 років тому

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
@TehnoManik
@TehnoManik 6 років тому
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
@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
@yuridanylko 6 років тому
But can it switch between receiver and transmitter mid-program?
@virtual_ninja810
@virtual_ninja810 5 років тому
@@yuridanylko yes pls see it on how to mechatronics
@yuridanylko
@yuridanylko 5 років тому
@@virtual_ninja810 Thanks
@kimhonnepon7250
@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
@quxowniq3593
@quxowniq3593 4 роки тому
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
@robginsburg6413
@robginsburg6413 6 років тому
Thank you! An excellent and logically presented tutorial. Has inspired me to start my own experiments.
@Dickard66
@Dickard66 Рік тому
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.
@shyamramnani6313
@shyamramnani6313 5 років тому
very good video with clear cut explaination. Good job, keep it up.
@JoaoF_CS
@JoaoF_CS 4 роки тому
Great video man! Good and fast introduction to these modules. New sub!
@tristanmargot1193
@tristanmargot1193 2 роки тому
Couldn't be better, thank you. Excellent tutorial and explanation.
@miketony2069
@miketony2069 6 років тому
Very clear and clean video. Thank you
@ianhayden2839
@ianhayden2839 Рік тому
This code serves as a basic outline for anyone to modify it to their needs. Great job
@user-dg1lf2nb4h
@user-dg1lf2nb4h 5 років тому
Man, thank you very much! From Kazakhstan) in russian youtube i haven't find so clear and clean video
@dakodaspencershmacked181
@dakodaspencershmacked181 2 роки тому
Have watched this video several times now, referencing the information. Great video!
@gerhardtmeyer3704
@gerhardtmeyer3704 6 років тому
Very well presented. Thank you!
@rasheedmalik6594
@rasheedmalik6594 5 років тому
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!
@HarshaJSM
@HarshaJSM 4 роки тому
thanks, bro, I finally got a smile on my face. keep making these videoes, all the best for monetization.
@bagavathi9428
@bagavathi9428 2 роки тому
Sir please tell what is the final range of the nrf24l01 modul
@robinson4470
@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
@juanmontes8905
@juanmontes8905 4 роки тому
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
@farooqpatel6773
@farooqpatel6773 5 років тому
Thank you so much sir. I absolutely understand and I tried it with the help of your vedio. Thanks a lots sir.
@3rd_Millennium_Engineering
@3rd_Millennium_Engineering 2 роки тому
Hello Tehno Manik, Thank you for a great video.
@explorerx4313
@explorerx4313 4 роки тому
EXCELENT BRO.. YOU ARE VERY SMART.. THANK YOU VERY MUCH AND CONGRATULATION...
@mcracing2517
@mcracing2517 4 роки тому
Top Video and easy to follow you! Well done!
@JoseEnriquePerezAfonso
@JoseEnriquePerezAfonso 5 років тому
Excellent tutorial, i learn a lot. Thank you
@matyasfiedor1802
@matyasfiedor1802 2 роки тому
Very good tutorial. Well explained code unlike in other tutorials on youtube
@TehnoManik
@TehnoManik 2 роки тому
Thank you for your comment and support. Cheers!
@mythorganizer4222
@mythorganizer4222 5 років тому
Thanks a lot man. It has really been a big help.
@robert574
@robert574 Рік тому
Thanks for the video. It was quite informative and well done.
@arletpaz8010
@arletpaz8010 3 роки тому
this worked great thanks for your contributions sir!
@shaunsomaru4524
@shaunsomaru4524 4 роки тому
Great video. Good explanation.. Keep the videos coming. You have a new sub
@karun427
@karun427 6 років тому
Good video ...it was clear and neat . thanks for the video
@lavitaebella6561
@lavitaebella6561 3 роки тому
this is the best tutorial about NRF24l01
@lantonyj
@lantonyj 6 років тому
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
@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
@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
@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
@lantonyj 6 років тому
Tehno Manik again thank you for your time and efforts to help others, I truly appreciate you!!
@theengineer7265
@theengineer7265 3 роки тому
Perfekt video and explanation. Thank you very much
@MrMarkatgrc
@MrMarkatgrc 3 роки тому
Super Helpful Tutorial!! Thank you very much! 👍👍👍
@moazzamsalman8496
@moazzamsalman8496 5 років тому
Thanks so much for the amazing tutorial! I finally got my NRF24 working!
@vishalgaikwad3044
@vishalgaikwad3044 4 роки тому
Bro can u help me to make a controller and receiver for 8 channel with nrf24
@davidabraham3873
@davidabraham3873 4 роки тому
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
@dwayneament4592
@dwayneament4592 4 роки тому
Kudos - Very well done.
@casperlehmann
@casperlehmann 2 роки тому
This is a really good video. Good job, and thank you.
@MrJefferson105
@MrJefferson105 6 років тому
Mega useful thanks buddy new subscriber.
@Injudiciously
@Injudiciously 2 роки тому
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.
@MD-qz6gk
@MD-qz6gk 3 роки тому
Best tutorial ever !
@NotSpllit1
@NotSpllit1 Рік тому
Thanks alot! You are very good at explaining. Subscribed! 👍
@internetgiest
@internetgiest 4 роки тому
Very concise, I like the this makes it work here you go, run with it.
@ivancordoba1320
@ivancordoba1320 6 років тому
Thank you very much, you helped me a lot
@lantonyj
@lantonyj 6 років тому
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?
@jussiahola9548
@jussiahola9548 5 років тому
Very good video, thanks man!
@malaysiatruth5494
@malaysiatruth5494 2 роки тому
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 .
@WorkFromHome-th2eq
@WorkFromHome-th2eq 2 роки тому
Well presented. Thanks from Indonesia
@incredibleinventions4261
@incredibleinventions4261 6 років тому
A Very good video
@dtn2529
@dtn2529 3 роки тому
Good instructions. It would be useful to attach a reference to the library (). Not everyone has everything installed. To write "nRF24L01.h"
@bernardoalvarado8880
@bernardoalvarado8880 3 роки тому
hello good video, do you have any video with the MQ-135 sensor with this antenna?
@omkarbansode6305
@omkarbansode6305 3 місяці тому
thankyou very much Sir, it was really alot helpful in clearing my some misconceptions.
@charlesklein7232
@charlesklein7232 4 роки тому
THANK YOU VERY MUCH NICE VIDOE HOPE YOU DO MORE.
@fariedardiyanto2705
@fariedardiyanto2705 3 роки тому
Thanks for this excellent video...
@thiagoguitar2406
@thiagoguitar2406 3 роки тому
Se eu tiver esse adaptador não preciso colocar o capacitor entre o VCC e GND?
@garyrussell2724
@garyrussell2724 5 років тому
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?
@gustavoiglesias8591
@gustavoiglesias8591 3 роки тому
Excelente vídeo, muchas gracias por compartir. Me costo un poco, mi ingles es muy malo, pero algo entendí. Saludos cordiales desde Perú.
@jamesanderson5167
@jamesanderson5167 4 роки тому
What is the min distance between the transmitter and reciever to test the units are working?
@cesaraugustobecker3094
@cesaraugustobecker3094 4 роки тому
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.
@jerwinpalabao9043
@jerwinpalabao9043 2 роки тому
Very Clear Tutorial Thanks
@p1nesap
@p1nesap 6 років тому
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
@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).
@moamoa3303
@moamoa3303 5 років тому
your the best ...really good video very clear ,thanks
@renskippen3523
@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
@angelSI2023
@angelSI2023 5 років тому
Thank you nice video. Was very good explained, y had errors before i now why now
@ElectroIoT
@ElectroIoT 4 роки тому
Which capacitor value we use
@Robin-qw2by
@Robin-qw2by 5 років тому
Thanks it is a very useful video, nice 😊😊
@SourMushroom121
@SourMushroom121 5 років тому
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?
@carpjunks6896
@carpjunks6896 3 роки тому
great video, is it possible to send video signal with this system?
@allefherculano4862
@allefherculano4862 2 роки тому
muito bom, vc teria um exemplo bidirecional (tranceiver) ?
@FirstnameLastname-yn5ng
@FirstnameLastname-yn5ng 4 місяці тому
Thank you sir, working fine
@tomciojongi5292
@tomciojongi5292 4 роки тому
Thanks for Your tutorial. For today I had a problem to connect nrf24l01with UNO. ;-)
@malcolmpalmer2437
@malcolmpalmer2437 4 роки тому
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
@TechnoTeerth 29 днів тому
Same with me, someone please help
@AkashBagFEce
@AkashBagFEce 6 місяців тому
I'm designing a yegi antenna for nrf24l01 modules! How much renge will we get? What you think?
@tundeo7675
@tundeo7675 6 років тому
my buzzer doesn't delay, it's just a solid tone. Even when only the receiver is powered . Anyone have any idea why>
@himangshudas25450
@himangshudas25450 6 років тому
Can i transmit video data with these modules ??
@nielsdaemen
@nielsdaemen 6 років тому
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
@juanmontes8905 4 роки тому
I will test it bro, sounds pretty good for my proyect of 10km data sending
@dwieztro6748
@dwieztro6748 5 років тому
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?
@romarpv
@romarpv 4 роки тому
Excelente vídeo
@MD-qz6gk
@MD-qz6gk 3 роки тому
thanks man !!!
@rajashreepriyadarshinijena8236
@rajashreepriyadarshinijena8236 Рік тому
*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 ......
@alainvihumbira8354
@alainvihumbira8354 3 роки тому
Hi, I would like to know if the NRF24L01 with antenna can work without Base Module?
@marcelldavis6426
@marcelldavis6426 3 роки тому
How can you add someting in your transmitted data like 2 float variables ?
@leabernadettebasisao4660
@leabernadettebasisao4660 4 роки тому
Is it possible to have one tx and multiple rx?
@aonjon7529
@aonjon7529 4 місяці тому
Very cool tutorial
@Dannydawson537
@Dannydawson537 3 роки тому
Sir I have a question? Can you pass a 125khz RFID signal with these
@Davide-hi2lk
@Davide-hi2lk 2 роки тому
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?
@maheshpatil9589
@maheshpatil9589 6 років тому
keep it up bro....👌👌👍
@TheOleHermit
@TheOleHermit 3 роки тому
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.🤔
@jumbo999614
@jumbo999614 3 роки тому
Do you still need adapter if you're going to connect NRF to NodeMCU or ESP32 which has 3.3v output?
@nielsdaemen
@nielsdaemen 3 роки тому
How does datarate affect range? 250kbps vs 1Mbps vs 2Mbps
@Nalanaij
@Nalanaij 5 років тому
How did you investigate the data loss?
@saidhamisi6630
@saidhamisi6630 2 роки тому
thanks what is the name of the base module
@fil9625
@fil9625 6 місяців тому
If we put the transmitter inside a house, and put the receiver outside, theoretically how much range can we get?
@nodemnet5984
@nodemnet5984 3 роки тому
good Job gentleman hope your are continue :)
@1abas
@1abas 10 місяців тому
Can Bluetooth signals be detected and a ring is emitted when detected by these electronic parts?
@mabhenagm
@mabhenagm 2 роки тому
Thank you for the video it has helped me on my project. What software did you use to test the range?
@ianhayden2839
@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
@mohamedbousselmi1951
@mohamedbousselmi1951 5 років тому
nice job, what is the maximum frequency we can transmit between tow module NRF24L01
@juanmontes8905
@juanmontes8905 4 роки тому
It has 125 channels with 1Mhz step between each other and starting at 2400Mhz, so it would work up to 2525Mhz
@danhcong5234
@danhcong5234 4 роки тому
Could anyone control D10 in pwm mode when use this rf module?
@maheshpatil9589
@maheshpatil9589 6 років тому
keep it up bro....
@lahirupamodya6188
@lahirupamodya6188 5 років тому
very good video, thank you
@vasilisvasileiadis9349
@vasilisvasileiadis9349 Рік тому
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!
@ginglee4199
@ginglee4199 27 днів тому
What specific base module you are talking about, can't find them online
@luolisave
@luolisave 6 років тому
Like it, very useful.
@zakaFPv
@zakaFPv 4 роки тому
Is it can be multiprotocol?
@irontronics4707
@irontronics4707 6 років тому
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!
@TehnoManik
@TehnoManik 6 років тому
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.
NRF24 Frustration - Radio module doesn't work?
12:46
Electronoobs
Переглядів 82 тис.
Мама забыла взять трубочку для колы
00:25
Даша Боровик
Переглядів 528 тис.
Ultimate nRF24L01 range comparison
38:17
iforce2d
Переглядів 137 тис.
Arduino and nRF24L01. Wiring and wireless control by Arduino
16:33
Заметки Ардуинщика
Переглядів 891 тис.
How to use LoRa Module with Arduino - Range Test - RYLR406 15KM
13:00
Ahmad Logs
Переглядів 315 тис.
nRF24L01 30km challenge!
28:59
iforce2d
Переглядів 99 тис.
How to Two way communication NRF24L01 1km (chat) and Arduino
5:41
Electroni
Переглядів 42 тис.
NRF24L01 Tips and Tricks - Cheap and Easy Wirless
8:37
Robert Cowan
Переглядів 8 тис.
The nRF24L01 - Wireless Joystick for Arduino Robot Car with nRF24L01+
1:03:46
DroneBot Workshop
Переглядів 402 тис.
How to Control a 12V Motor with Arduino: Easy Wiring & Code Examples
44:13
Rachel De Barros
Переглядів 368 тис.
How To Make 6-Channel Radio Control. Range 2000m+
10:43
KendinYap
Переглядів 375 тис.
nRF24L01 range test (arduino)
17:36
iforce2d
Переглядів 137 тис.
ПОЛГОДА строгого режима для Lenovo Legion 5 pro. Чем может обернуться обычный ремонт ноутбука?
31:47
ААНТ КОНТАКТ Сервис по ремонту техники в ЕКБ, СПБ
Переглядів 34 тис.