Wireless communication between two Arduino using the NRF24L01 2.4GHz module - Tutorial

แชร์
ฝัง
  • เผยแพร่เมื่อ 27 เม.ย. 2024
  • Visit brainy-bits.com/tutorials to download the code, library and get more information about our TH-cam Tutorial.
    Facebook: / brainybits
    Twitter: / brainy_bits
    You can also follow us on Facebook and Twitter to get notified when we post new stuff!
    Let's send information between 2 Arduinos using the NRF24L01 2.4GHz modules!
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 42

  • @brice3011
    @brice3011 7 ปีที่แล้ว

    You make great tutorials. Your talent for explaining complex things in a understandable way is extraordinary. Congratulations!

  • @AndrewB416
    @AndrewB416 4 ปีที่แล้ว

    Hello. Just came across your tutorial while looking for proof of concept ideas for a motorcycle project I am brainstorming. Wanted to say thank you as this was helpful.

  • @hightechgearworks7325
    @hightechgearworks7325 7 ปีที่แล้ว +1

    Thanks for all your videos. Learning new things all the time.

    • @BrainybitsCanada
      @BrainybitsCanada  7 ปีที่แล้ว +1

      No problem, same here, learning new stuff everyday! Thanks for watching!

  • @nicholasstrupp521
    @nicholasstrupp521 4 ปีที่แล้ว

    Excellent, just needed a simple code to look at to see where I needed to go with it. Wish you had a shortcut to the exact video at your page but not a bid deal.

  • @TheWildsourdough
    @TheWildsourdough 7 ปีที่แล้ว

    Excellent Videos!
    High quality instructions, clear and concise.
    Using these with my After School Electronics and Programming Middle School Student Club.
    Thanks!

    • @BrainybitsCanada
      @BrainybitsCanada  7 ปีที่แล้ว

      Always great to hear that the videos are helping others, hopefully I can come up with interesting tutorials and projects in this coming year that you can use also :) Thank you for your comment!

  • @jorgeluiss4096
    @jorgeluiss4096 4 ปีที่แล้ว +1

    I will make one of this! It is great to call my son when the meal is ready! jajajaj He is 15 years old, and he is on line all the time, upstairs, with headphones, playing Call of Duty and that such a thing. We have to call him 45 times to come a have dinner/ lunch.....I will put the leds stick right over the pc screen! Thank you very much for your video and your great work! I have suscribed to your channel!

    • @MechDickel
      @MechDickel 4 ปีที่แล้ว +1

      Hahhah... mine is 4 years old and it goes something like this.

  • @charlesdelv.6049
    @charlesdelv.6049 7 ปีที่แล้ว

    Hello Ivan!!! thanks so much for share it!!!!!
    good job!! and nice T shirt!!!!!

  • @ALTechniques
    @ALTechniques 7 ปีที่แล้ว

    great videos. would these transmitters and receiver be able to handle yr previous servo motor project to make a remote joystick?

  • @frozentaco143
    @frozentaco143 7 ปีที่แล้ว

    Thank you very much! So, I can use this principle to make a wireless car. Right?

  • @joshcincotta1837
    @joshcincotta1837 7 ปีที่แล้ว

    Hello, nice video, it is really informal. I am trying to control a servo with this code, do you have any conversion tips?

  • @elricho72
    @elricho72 7 ปีที่แล้ว

    Excelent tutorial thanks for share!

  • @WideVisionMetalFab
    @WideVisionMetalFab 7 ปีที่แล้ว

    Another great video! Producing a video a week sounds a bit ambitious to me, but as a viewer, it would be awesome! :)

    • @BrainybitsCanada
      @BrainybitsCanada  7 ปีที่แล้ว

      Trying to do more videos, but like I said it does take time to produce the video and the tutorial webpage. Like most of us still need to pay the bills so time is limited. Looking into maybe setting a Patreon page to help and have more time to dedicate to making videos. Thanks again for watching!

  • @veyselaksoy6558
    @veyselaksoy6558 6 ปีที่แล้ว +1

    Can you use these to inform them each other? Means that use a button for one side and if you push this button , other nrf24l01 side which has a LED will get information to switch on its LED.After that if we use a button which is in other Nrf24l01 , this will cause to inform nrf24l01 to do something.I hope you understand .d

  • @maxiduran8532
    @maxiduran8532 5 ปีที่แล้ว +1

    Great tutorial, very helpful! Just a comment about the video: You seem a man without a head moving arms and I think it's not a good idea always like this video, just try to see what you make. Just a small comment. Go ahead and continue with this great tutorials.

    • @BrainybitsCanada
      @BrainybitsCanada  5 ปีที่แล้ว

      Thanks for the comment Maxi, will keep it in mind for my next video. Thanks for watching btw :)

  • @RahulKumar-zs2wv
    @RahulKumar-zs2wv 6 ปีที่แล้ว

    Hi ,how can i use nrf24l01 for many to one communication i.e i want multiple nrf24l01(node side) data will comes to one nrf24l01(gateway side)?

  • @paperwelder
    @paperwelder 2 ปีที่แล้ว

    I like this. Can you make it that use can make it to track the reciever like if u we’re playing hide and seek and you use it to find the other player?

  • @DirtPoorWargamer
    @DirtPoorWargamer 4 ปีที่แล้ว

    Could someone please tell me if the method in this video would produce acceptable results for what I'm wanting to do:
    I've recently gotten it into my head to replace my Razer Tartarus, Logitech G502 and Thrustmaster T.Flight HOTAS X with custom built Arduino based controlers, and adding a set of rudder pedals, driving wheel, pedals, stick-shift and handbrake while I'm at it. Here's the thing though: I'd like to make them all wireless, reason being that my USB ports are limited and at capacity. At first I had considered connecting them all directly to my PC using Bluetooth, but with 8 devices, I'm under the impression that wouldn't be feasible, and I'd like to have room for expansion with button boxes and the like should I want them in the future. Now I'm considering putting an RF transmitter in each device and having a single receiver box connected via USB.
    Would this work? Can the receiver determine which transmitter is sending data? Would input lag be an issue for gaming? Would any issues arise from multiple inputs on different devices simultaneously?

  • @mikem5655
    @mikem5655 5 ปีที่แล้ว +1

    What is the range?

  • @learnings...1448
    @learnings...1448 6 ปีที่แล้ว

    can you help me control 4 servo motors wirelessly using....4 10k potentiometer || two arduino ||and NRF24l01
    code please and schemetic

  • @seanrodden6151
    @seanrodden6151 7 ปีที่แล้ว

    IIRC the neo pixels run on about 400hz. Does this method have the bandwidth and speed to controls them remotely , rather than the simple switching that you demonstrated here?

    • @BrainybitsCanada
      @BrainybitsCanada  7 ปีที่แล้ว

      The RGB stick is connected to the receiver, an UNO in this case, so it's the one doing all the work once it received a signal from the transmitter. The NRF24L01 transmit speed is rated at 2 megabits per seconds, but in real life it's probably closer to 1Mbps. Hope that helps... Thanks for watching.

  • @vishwanathnaik7063
    @vishwanathnaik7063 5 ปีที่แล้ว

    How to make with nrf24l01+arduino nano transmitter & recever

  • @xz86
    @xz86 4 ปีที่แล้ว

    can it only communicate two arduinos? can it communicate 4?

  • @billfield8300
    @billfield8300 7 ปีที่แล้ว

    maybe you could invite a few subscribers to a table hockey tourney...?? haha.
    Nice video as always.

    • @BrainybitsCanada
      @BrainybitsCanada  7 ปีที่แล้ว

      Thanks for watching Bill... can't wait to start working on the Table hockey project, like I said in the video, always wanted on of those Chexx table hockey games like the one you see in Arcade, but those things are so expensive $2,000+... The main thing I want is to have the auto puck dropper that was in those machines, so it will be fun to try to make something like that! Stay tuned...

  • @swarajsrimanray4020
    @swarajsrimanray4020 4 ปีที่แล้ว

    How we can do this for more than two arduino ? In my project I need to connect 4 slave nodes with one master node . Please guide me to do this.

    • @gazzaoftok
      @gazzaoftok 4 ปีที่แล้ว

      Hi th-cam.com/video/9IxsJY5e4YY/w-d-xo.html this may help you. I think Brainy bits has gone to sleep he is not responding to comments here or on his website

  • @thednemu3495
    @thednemu3495 7 ปีที่แล้ว

    Can you have multiple receivers with on transmitter?

    • @Tetramorium
      @Tetramorium 7 ปีที่แล้ว +2

      Yes. You can open a "ReadingPipe" for up to 6 devices with this library at the same time. Each device needs an unique adress (first character has to be unique). Pipes go from 0-5. "Pipe 0 is also used by the writing pipe. So if you open pipe 0 for reading, and then startListening(), it will overwrite the writing pipe. Ergo, do an openWritingPipe() again before write()." From documentation. tmrh20.github.io/RF24/classRF24.html

    • @BrainybitsCanada
      @BrainybitsCanada  7 ปีที่แล้ว

      Great explanation about using multiple NRF modules, thanks for posting this I'm sure it will help others! Thanks for watching as well :)

  •  7 ปีที่แล้ว

    why cant your project code be on its own page i cant find this on your site :/

    • @BrainybitsCanada
      @BrainybitsCanada  7 ปีที่แล้ว +1

      It's right here my friend :)
      brainy-bits.com/tutorials/how-to-use-the-nrf24l01-2-4ghz-wireless-module/
      Hope that helps! Thanks for watching!

  • @wj5340
    @wj5340 7 ปีที่แล้ว +1

    Is it the same if I use Uno for both transmitter and receiver?

  • @sickvic3909
    @sickvic3909 7 ปีที่แล้ว

    If you're bored and have a board show us how to get a nodemcu and temp/humidity sensor to work with Blynk. I couldn't do it, might have been bad temp module or me:)))

    • @BrainybitsCanada
      @BrainybitsCanada  7 ปีที่แล้ว

      Thanks for the suggestions. Haven't tried Blink yet but will take a look. Thanks for watching!

  • @vishwanathnaik7063
    @vishwanathnaik7063 5 ปีที่แล้ว

    For rc plane