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

  • @quxowniq3593
    @quxowniq35934 жыл бұрын

    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

  • @TehnoManik
    @TehnoManik6 жыл бұрын

    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

  • @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
    @shyamramnani63136 жыл бұрын

    very good video with clear cut explaination. Good job, keep it up.

  • @robginsburg6413
    @robginsburg64136 жыл бұрын

    Thank you! An excellent and logically presented tutorial. Has inspired me to start my own experiments.

  • @JoaoF_CS
    @JoaoF_CS4 жыл бұрын

    Great video man! Good and fast introduction to these modules. New sub!

  • @user-dg1lf2nb4h
    @user-dg1lf2nb4h5 жыл бұрын

    Man, thank you very much! From Kazakhstan) in russian youtube i haven't find so clear and clean video

  • @tristanmargot1193
    @tristanmargot11932 жыл бұрын

    Couldn't be better, thank you. Excellent tutorial and explanation.

  • @miketony2069
    @miketony20696 жыл бұрын

    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

  • @rasheedmalik6594
    @rasheedmalik65945 жыл бұрын

    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
    @HarshaJSM5 жыл бұрын

    thanks, bro, I finally got a smile on my face. keep making these videoes, all the best for monetization.

  • @bagavathi9428

    @bagavathi9428

    3 жыл бұрын

    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

  • @dakodaspencershmacked181
    @dakodaspencershmacked1812 жыл бұрын

    Have watched this video several times now, referencing the information. Great video!

  • @juanmontes8905
    @juanmontes89054 жыл бұрын

    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

  • @gerhardtmeyer3704
    @gerhardtmeyer37046 жыл бұрын

    Very well presented. Thank you!

  • @explorerx4313
    @explorerx43135 жыл бұрын

    EXCELENT BRO.. YOU ARE VERY SMART.. THANK YOU VERY MUCH AND CONGRATULATION...

  • @3rd_Millennium_Engineering
    @3rd_Millennium_Engineering2 жыл бұрын

    Hello Tehno Manik, Thank you for a great video.

  • @matyasfiedor1802
    @matyasfiedor18022 жыл бұрын

    Very good tutorial. Well explained code unlike in other tutorials on youtube

  • @TehnoManik

    @TehnoManik

    2 жыл бұрын

    Thank you for your comment and support. Cheers!

  • @farooqpatel6773
    @farooqpatel67735 жыл бұрын

    Thank you so much sir. I absolutely understand and I tried it with the help of your vedio. Thanks a lots sir.

  • @JoseEnriquePerezAfonso
    @JoseEnriquePerezAfonso6 жыл бұрын

    Excellent tutorial, i learn a lot. Thank you

  • @mcracing2517
    @mcracing25174 жыл бұрын

    Top Video and easy to follow you! Well done!

  • @shaunsomaru4524
    @shaunsomaru45245 жыл бұрын

    Great video. Good explanation.. Keep the videos coming. You have a new sub

  • @mythorganizer4222
    @mythorganizer42225 жыл бұрын

    Thanks a lot man. It has really been a big help.

  • @robert574
    @robert5742 жыл бұрын

    Thanks for the video. It was quite informative and well done.

  • @Injudiciously
    @Injudiciously2 жыл бұрын

    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.

  • @MrMarkatgrc
    @MrMarkatgrc3 жыл бұрын

    Super Helpful Tutorial!! Thank you very much! 👍👍👍

  • @karun427
    @karun4276 жыл бұрын

    Good video ...it was clear and neat . thanks for the video

  • @moazzamsalman8496
    @moazzamsalman84965 жыл бұрын

    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

  • @lavitaebella6561
    @lavitaebella65613 жыл бұрын

    this is the best tutorial about NRF24l01

  • @casperlehmann
    @casperlehmann2 жыл бұрын

    This is a really good video. Good job, and thank you.

  • @NotSpllit1
    @NotSpllit1 Жыл бұрын

    Thanks alot! You are very good at explaining. Subscribed! 👍

  • @arletpaz8010
    @arletpaz80103 жыл бұрын

    this worked great thanks for your contributions sir!

  • @theengineer7265
    @theengineer72654 жыл бұрын

    Perfekt video and explanation. Thank you very much

  • @jussiahola9548
    @jussiahola95485 жыл бұрын

    Very good video, thanks man!

  • @WorkFromHome-th2eq
    @WorkFromHome-th2eq2 жыл бұрын

    Well presented. Thanks from Indonesia

  • @MrJefferson105
    @MrJefferson1056 жыл бұрын

    Mega useful thanks buddy new subscriber.

  • @internetgiest
    @internetgiest4 жыл бұрын

    Very concise, I like the this makes it work here you go, run with it.

  • @MD-qz6gk
    @MD-qz6gk3 жыл бұрын

    Best tutorial ever !

  • @omkarbansode6305
    @omkarbansode63055 ай бұрын

    thankyou very much Sir, it was really alot helpful in clearing my some misconceptions.

  • @davidabraham3873
    @davidabraham38734 жыл бұрын

    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

  • @lantonyj
    @lantonyj6 жыл бұрын

    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?

  • @lantonyj
    @lantonyj6 жыл бұрын

    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!!

  • @cesaraugustobecker3094
    @cesaraugustobecker30944 жыл бұрын

    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.

  • @ivancordoba1320
    @ivancordoba13206 жыл бұрын

    Thank you very much, you helped me a lot

  • @dwayneament4592
    @dwayneament45924 жыл бұрын

    Kudos - Very well done.

  • @rajashreepriyadarshinijena8236
    @rajashreepriyadarshinijena82362 жыл бұрын

    *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 ......

  • @incredibleinventions4261
    @incredibleinventions42616 жыл бұрын

    A Very good video

  • @p1nesap
    @p1nesap6 жыл бұрын

    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).

  • @bernardoalvarado8880
    @bernardoalvarado88803 жыл бұрын

    hello good video, do you have any video with the MQ-135 sensor with this antenna?

  • @jerwinpalabao9043
    @jerwinpalabao90432 жыл бұрын

    Very Clear Tutorial Thanks

  • @Robin-qw2by
    @Robin-qw2by5 жыл бұрын

    Thanks it is a very useful video, nice 😊😊

  • @fariedardiyanto2705
    @fariedardiyanto27053 жыл бұрын

    Thanks for this excellent video...

  • @carpjunks6896
    @carpjunks68964 жыл бұрын

    great video, is it possible to send video signal with this system?

  • @atimullp_u
    @atimullp_u3 жыл бұрын

    Excelente vídeo, muchas gracias por compartir. Me costo un poco, mi ingles es muy malo, pero algo entendí. Saludos cordiales desde Perú.

  • @aonjon7529
    @aonjon75296 ай бұрын

    Very cool tutorial

  • @moamoa3303
    @moamoa33035 жыл бұрын

    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

  • @tomciojongi5292
    @tomciojongi52924 жыл бұрын

    Thanks for Your tutorial. For today I had a problem to connect nrf24l01with UNO. ;-)

  • @himangshudas25450
    @himangshudas254506 жыл бұрын

    Can i transmit video data with these modules ??

  • @malaysiatruth5494
    @malaysiatruth54942 жыл бұрын

    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 .

  • @angelSI2023
    @angelSI20235 жыл бұрын

    Thank you nice video. Was very good explained, y had errors before i now why now

  • @garyrussell2724
    @garyrussell27245 жыл бұрын

    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?

  • @dtn2529
    @dtn25293 жыл бұрын

    Good instructions. It would be useful to attach a reference to the library (). Not everyone has everything installed. To write "nRF24L01.h"

  • @SourMushroom121
    @SourMushroom1215 жыл бұрын

    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?

  • @alainvihumbira8354
    @alainvihumbira83544 жыл бұрын

    Hi, I would like to know if the NRF24L01 with antenna can work without Base Module?

  • @jamesanderson5167
    @jamesanderson51674 жыл бұрын

    What is the min distance between the transmitter and reciever to test the units are working?

  • @AkashBagFEce
    @AkashBagFEce7 ай бұрын

    I'm designing a yegi antenna for nrf24l01 modules! How much renge will we get? What you think?

  • @FirstnameLastname-yn5ng
    @FirstnameLastname-yn5ng6 ай бұрын

    Thank you sir, working fine

  • @malcolmpalmer2437
    @malcolmpalmer24374 жыл бұрын

    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

    2 ай бұрын

    Same with me, someone please help

  • @ElectroIoT
    @ElectroIoT4 жыл бұрын

    Which capacitor value we use

  • @thiagoguitar2406
    @thiagoguitar24064 жыл бұрын

    Se eu tiver esse adaptador não preciso colocar o capacitor entre o VCC e GND?

  • @mabhenagm
    @mabhenagm2 жыл бұрын

    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

  • @allefherculano4862
    @allefherculano48622 жыл бұрын

    muito bom, vc teria um exemplo bidirecional (tranceiver) ?

  • @jumbo999614
    @jumbo9996143 жыл бұрын

    Do you still need adapter if you're going to connect NRF to NodeMCU or ESP32 which has 3.3v output?

  • @tundeo7675
    @tundeo76756 жыл бұрын

    my buzzer doesn't delay, it's just a solid tone. Even when only the receiver is powered . Anyone have any idea why>

  • @charlesklein7232
    @charlesklein72324 жыл бұрын

    THANK YOU VERY MUCH NICE VIDOE HOPE YOU DO MORE.

  • @nodemnet5984
    @nodemnet59843 жыл бұрын

    good Job gentleman hope your are continue :)

  • @Davide-hi2lk
    @Davide-hi2lk2 жыл бұрын

    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?

  • @ginglee4199
    @ginglee41992 ай бұрын

    What specific base module you are talking about, can't find them online

  • @dwieztro6748
    @dwieztro67485 жыл бұрын

    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?

  • @lahirupamodya6188
    @lahirupamodya61885 жыл бұрын

    very good video, thank you

  • @TheMrgagan09
    @TheMrgagan093 жыл бұрын

    nice range test good

  • @BertHeideveld
    @BertHeideveld2 жыл бұрын

    Thank you.

  • @nielsdaemen
    @nielsdaemen6 жыл бұрын

    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

  • @zgeee4148
    @zgeee41484 жыл бұрын

    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.

  • @Nalanaij
    @Nalanaij5 жыл бұрын

    How did you investigate the data loss?

  • @luolisave
    @luolisave6 жыл бұрын

    Like it, very useful.

  • @marcelldavis6426
    @marcelldavis64263 жыл бұрын

    How can you add someting in your transmitted data like 2 float variables ?

  • @TheOleHermit
    @TheOleHermit4 жыл бұрын

    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.🤔

  • @mohamedbousselmi1951
    @mohamedbousselmi19516 жыл бұрын

    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

  • @leabernadettebasisao4660
    @leabernadettebasisao46604 жыл бұрын

    Is it possible to have one tx and multiple rx?

  • @romarpv
    @romarpv4 жыл бұрын

    Excelente vídeo

  • @Ruchino90
    @Ruchino904 жыл бұрын

    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.

  • @MD-qz6gk
    @MD-qz6gk3 жыл бұрын

    thanks man !!!

  • @abdulr5320
    @abdulr53206 жыл бұрын

    Thanks a LOT

  • @maheshpatil9589
    @maheshpatil95896 жыл бұрын

    keep it up bro....👌👌👍

  • @fil9625
    @fil96258 ай бұрын

    If we put the transmitter inside a house, and put the receiver outside, theoretically how much range can we get?

  • @1abas
    @1abas Жыл бұрын

    Can Bluetooth signals be detected and a ring is emitted when detected by these electronic parts?

  • @ilhamagungwicaksono2775
    @ilhamagungwicaksono27755 жыл бұрын

    What are the method that you used while you measure the range of nRF, are you use GPS Module?, Thank You

  • @victornavarro3454

    @victornavarro3454

    5 жыл бұрын

    Google maps.

  • @nielsdaemen
    @nielsdaemen3 жыл бұрын

    How does datarate affect range? 250kbps vs 1Mbps vs 2Mbps

  • @danhcong5234
    @danhcong52344 жыл бұрын

    Could anyone control D10 in pwm mode when use this rf module?

Келесі