Video není dostupné.
Omlouváme se.

Getting Started with the nRF24L01 Transceiver

Sdílet
Vložit
  • čas přidán 15. 02. 2015
  • In this video we look at how to get up and running with the low cost nRF24L01 transceiver module from Nordic. To access the code from the video go to: forcetronic.blogspot.com/

Komentáře • 84

  • @dustinburd1940
    @dustinburd1940 Před 8 lety +2

    Awesome. I have no real experience with communication programming and have yet to do more with the Arduino than alter simple code After spending several hours watching videos and taking notes on the nrf24l0 I was ready to abandon any kind of attempt to understand SPI communication , but then I found your video. Your ability explain the code without relying on jargon has given me a great starting point for my rf24 projects. Thanks!

  • @paulroach5118
    @paulroach5118 Před 9 lety +2

    Thank you so much! I have been working on this all day and until now (4:30 PM) I have been really frustrated with the software. Thanks!

  • @AvinashRavi
    @AvinashRavi Před 9 lety

    Wow! this is very simple to use.... and your Explanations are simple and very clear.... no one taught the code like this!!

  • @prashantchaudhari7199
    @prashantchaudhari7199 Před 8 lety +4

    Worked with sample code and suggested connections first time itself. Thanks.

  • @KishoreKumar-uz8ir
    @KishoreKumar-uz8ir Před 4 lety +1

    Thank you so much. I tried all other codes from other channels and they didn't work despite the connections being correct. I felt so bad and wanted to give up. Thankfully I found your code.

  • @jamescaperelliiii4620
    @jamescaperelliiii4620 Před 9 lety

    Thank you for the video. Cannot wait to try this today!

  • @nebe01
    @nebe01 Před 9 lety +1

    These modules are great! I'm thinking of using these between two ATtiny4313s.

  • @renaldsurpris115
    @renaldsurpris115 Před 8 lety +2

    Hi
    You are a fantastic instructor.

  • @konturgestalter
    @konturgestalter Před 6 lety +1

    EXCELLENT videos! Please more of that!!!

  • @SteveBrayley
    @SteveBrayley Před 9 lety

    1:44 - Been working with these modules for a month or so, well at least trying (still fresh meat lol) Kept getting frequent packet losses with a 10uF cap, stepped this upto a 47uF packet loss decreased but was still present so I added a 100uF cap it cleared up completely.

  • @DefuserDesigns
    @DefuserDesigns Před 9 lety

    Very good video - Thank you

  • @beehive808
    @beehive808 Před 9 lety

    WOW, what a nice blogspot.com, one of the better ones out there, Thanks

  • @maranatha84
    @maranatha84 Před 9 lety +1

    Thanks for the video. It works good. It would be nice if you could share us something you have done with the wireless communication than just sending and receiving packets

    • @ForceTronics
      @ForceTronics  Před 9 lety

      maranatha84 If you check out my video "nRF24L01 / Accelerometer RC Car" you can see an example project where I use it.

  • @wellyntongbreton8227
    @wellyntongbreton8227 Před 9 lety

    Thank you for your instructive videos.
    Can I bind my old (2.4GH) RC toy remote controls with one of these?. How?

  • @OzInFl
    @OzInFl Před 9 lety +4

    haha yeah, love the pipe address too. I noticed that right away..Wondered if it was on purpose then I saw the comment in the video.. (Great minds think alike)

  • @mamessner
    @mamessner Před 9 lety +2

    Where do you save the printf.h file? Can you just save the text in a text editor and name it printf.h?

  • @kolban1
    @kolban1 Před 9 lety +1

    At 3:48, we see the descriptions of CE and CSN... I think you may have them reversed? I think CE controls TX vs RX while CSN is the SPI Chip Select.

  • @MPElectronique
    @MPElectronique Před 9 lety

    Hi nice tutorial. What is the range of these nRF24L01 ? I can't get it outside, they only communicate short distance 10-20 m in the house... is it normal?
    thank you!
    Marc.

  • @zoefeng5894
    @zoefeng5894 Před 9 lety

    What is the connector you used between Pro mini and transceiver?

  • @veyselaksoy6558
    @veyselaksoy6558 Před 6 lety

    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

  • @abdulr5320
    @abdulr5320 Před 6 lety +1

    thanks a looooooooot :)

  • @chetanbais
    @chetanbais Před 9 lety

    Thank you for such an informative video.
    I used the code Tx code from your blog on my Uno R3. When I check on the Serial Monitor, I see gibberish. Maybe I am not properly setting up Printf.h
    Could you please list out steps to setup Printf.h ?

    • @chetanbais
      @chetanbais Před 9 lety +1

      Chetan Bais Figured it out from maniacbug.wordpress.com/2011/11/02/getting-started-rf24/#more-229
      I had the baudrate set to a wrong value on my serial monitor. I set it to 57600 and voila!

  • @Gummientenkillass
    @Gummientenkillass Před 9 lety

    Love your video.. its awesome :) Wouldn't soldering a bigger antenna to it increase the range? And also I'd like to amplify the signal without distortion,noise and packet loss... but I haven't got a clue how. I'd be pleased if you answer and thank you for the video! subscribed. greetings from germany :)

    • @ForceTronics
      @ForceTronics  Před 9 lety

      +Peter Lustich Glad you liked the video and thanks for subscribing. It depends what you mean by soldering a bigger antenna. You don't want to change the PCB antenna because that is properly tuned to the wavelength of the frequency range it is sending and receiving (~2.4GHz). There are nRF24L01 boards out there with an SMA connector that allow you to add an external antenna, which would probably yield a longer range than the PCB antenna type. I also came across this version of the nRF24L01 (see link below) which has a stronger power amplifier so it should provide a longer range. I have not tried this version of the nRF24L01 out myself so I can't comment on the quality. Hope this helps and I will be in Stuttgart in November enjoying Swabian food!
      www.icstation.com/22dbm-100mw-nrf24l01ppalna-wireless-transmission-module-p-4677.html

    • @Gummientenkillass
      @Gummientenkillass Před 9 lety

      Thanks for your answer. With bigger antenna I just mean keeping the wavelength but increasing antenna gain. Oh and I wish you a nice stay in Stuttgart!

  • @myildirim
    @myildirim Před 9 lety

    Can you give more info about 10uf capacitator, when i write it to ebay i see lots of items. They have different volts etc.

    • @ForceTronics
      @ForceTronics  Před 9 lety +2

      +M. Yıldırım You will need a 10uF electrolytic capacitor. The voltage rating just has to be higher than the voltage you plan to use it at so 25V, 50V, or 100V will all work. Here is one example: www.ebay.com/itm/100PCS-10uF-25V-105c-Electrolytic-Capacitors-5x11mm-/291539780847?hash=item43e12004ef

  • @MrMidouCa
    @MrMidouCa Před 8 lety

    great explanation ,I have this question for you, let's say I have the nRF24L01 Transceiver connected to my arduino, and I want to send radio signal...but wait ! not to annother arduino but to a device that uses radio frequency, for example I want to command a wireless light socket, how can I do that? : )

    • @ForceTronics
      @ForceTronics  Před 8 lety

      +med garouche Well it depends on the wireless communication standard the light socket uses. The nRF24L01 is a proprietary communication standard developed by Nordic so my guess is it would not work with many wireless light sockets on the market. It the light socket uses bluetooth or WiFi than you would need a bluetooth or WiFi module to communicate with it.

    • @MrMidouCa
      @MrMidouCa Před 8 lety

      ah ok, thanks for the reply
      check this tutorial, the guy used a different RF module to store the RF signals and then reproduce them using the emitter, very cool project
      blog.rogiervandenberg.nl/2013/03/control-lights-with-arduino-remotely.html

  • @terraria103
    @terraria103 Před 8 lety

    Do these cause any issues for 2.4GHz WiFi networks in the same environment?

    • @ForceTronics
      @ForceTronics  Před 8 lety

      +SOFAR Not in my experience. You can also select the exact frequency to use it at in 1MHz intervals and you can select a frequency outside of the WiFi band.

  • @shingabiss
    @shingabiss Před rokem

    Can't find the code on the link specified above. No search on the website that I can find.

    • @ForceTronics
      @ForceTronics  Před rokem

      Go to the search bar on the website and search using the title of the video

  • @sesethumhlana4543
    @sesethumhlana4543 Před 7 lety

    I would like to know if it is possible to implement an ad-hoc network using the RF24 modules.
    I am developing a proof of concept for vehicle to vehicle communications using toy cars. My first option was Wifi but the ESP modules do not support ad-hoc networking.

    • @ForceTronics
      @ForceTronics  Před 7 lety

      Yes. If you look at some more of the videos on my channel there is a series that sets up a mesh network using the nRF24L01. You can also find open source libraries on Github that help setup advance networks with the nRF24L01

    • @sesethumhlana4543
      @sesethumhlana4543 Před 7 lety

      Cool, thanks. I'll have a look.

    • @sesethumhlana4543
      @sesethumhlana4543 Před 7 lety

      Is there a software that I can use to simulate the nRF24L01+? I've been looking around and can't find any.

    • @ForceTronics
      @ForceTronics  Před 7 lety

      Not that I know of

  • @abdullahsaif4859
    @abdullahsaif4859 Před 8 lety

    Hello, i have tried the two arduinoes so, when i open serial monitor for sender and reciever i dont see any thing, ichecked the connections and codes until I am blind :(

    • @ForceTronics
      @ForceTronics  Před 8 lety

      When you open the serial monitor does it print out any information, such as the settings of the transceivers? If not have you verified that the arduino is able to communicate with the serial monitor (without the transceivers)? If not I would suggest writing some simple code from the Arduino to communicate with the serial monitor. If that does not work you have an issue between the arduino and serial monitor.

  • @palakgandhi1900
    @palakgandhi1900 Před 7 lety

    Could you code for the AES Encryption using two arduinos connected wirelessly

    • @ForceTronics
      @ForceTronics  Před 7 lety +1

      I have not researched using AES encryption with this setup so I can't say for sure, but I would think it is possible.

    • @palakgandhi1900
      @palakgandhi1900 Před 7 lety

      okay.. if you do that ever please post it on your page .

  • @spacenerd7463
    @spacenerd7463 Před 8 lety

    can these transmit and recieve data at the same time?like in phone both device can transmit and recieve at the same time..?if not then how can i make this happen with arduino and nrf24l01?help please.

    • @ForceTronics
      @ForceTronics  Před 8 lety

      No these cannot transmit and receive at the same time since the transmit block and receive block both share the same antenna.Do you really need to transmit and receive at the exact same time? The Arduino is a single core MCU (most versions at least) so it can't send data out on a digital line and read data in on a different digital line at the same time.

    • @katkothaza
      @katkothaza Před 7 lety

      and that's where he needs an RTOS like FreeRtos. Right?

  • @ipro0Tube
    @ipro0Tube Před 8 lety

    i cant find the code on your site, can you link me it please? thanks!

    • @ForceTronics
      @ForceTronics  Před 8 lety

      forcetronic.blogspot.com/2015/02/getting-started-with-nrf24l01.html

  • @_Junkers
    @_Junkers Před 8 lety +2

    The radio pipe address at 8:19 spells boobie5000

  • @grk608
    @grk608 Před 6 měsíci

    Hello sir, I have several questions I would like to ask you about some code that I wrote that I'm trying to put into place. You said I could email you but I do not see an email address, would you please provide it? Thank you for the video truly appreciated.

    • @ForceTronics
      @ForceTronics  Před 6 měsíci

      Thanks for your interest in ForceTronics. That video was made many years ago and I no longer share my email or debug code. Too many requests and just helping one person turns into hours of work and follow up questions that do not end. I only address questions related to content in the video. I would suggest turning to a forum for help. Hope you figure it out.

  • @skillradius9867
    @skillradius9867 Před 5 lety

    How can i extend the range without the antannae veraion

    • @ForceTronics
      @ForceTronics  Před 5 lety

      You can turn up the transmit power to it's Max level and make sure the antenna has no metal around it

  • @AvinashRavi
    @AvinashRavi Před 9 lety

    Sorry... Your code is not working work my nRF24L01+ MODULE.... is there any other way?

    • @AvinashRavi
      @AvinashRavi Před 9 lety

      ***** sure... I will tell it for sure

  • @joeljoseph3251
    @joeljoseph3251 Před 6 lety +1

    I see what u did there with the pipe address😂😂

  • @kolban1
    @kolban1 Před 9 lety +2

    Ive been wanting to connect the nRF24 to a breadboard and found the following solution:
    neilkolban.com/tech/attaching-an-nrf24-to-a-breadboard/

    • @rajnishkumar9078
      @rajnishkumar9078 Před 3 lety

      Thanks! You are basically creating a DIY breadboard adapter. I had decided to buy one for making connections easier when I saw your comment. Right thing at the right time ... I must say.

  • @Aryan-hd2fl
    @Aryan-hd2fl Před 3 lety

    10:37

  • @ashishbansal9
    @ashishbansal9 Před 8 lety

    I uploaded the transmitter code and receiver code to their respective nodes.
    This is what I am getting at transmitter module's serial monitor
    Now send packet: 1
    packet delivery failed
    Now send packet: 1
    packet delivery failed
    Now send packet: 1
    packet delivery failed
    Now send packet: 1
    packet delivery failed
    What should I do ?
    Is my module working fine?

    • @ForceTronics
      @ForceTronics  Před 8 lety

      it means they are not communicating. I don't know enough about your setup to know why it is not working.

    • @DavidHudman
      @DavidHudman Před 7 lety

      I got the same error. Not sure what the problem is yet.

    • @DavidHudman
      @DavidHudman Před 7 lety

      I'm using an Arduino Micro. When I select my board, I've chosen "Arduino/Genuino Micro" and "Arduino Leonardo". Neither has worked.

    • @ForceTronics
      @ForceTronics  Před 7 lety

      If you are getting that error it means that your transmitter sent or tried to send data but your receiver never replied that it got it. Some areas to check: Is the receiver setup correctly with the receiver code loaded on the Arduino? Do you have a capacitor right at the transmitter VCC input to ensure it is getting enough fast current to transmit? Try with the transmit power set on Low and see if that works. What does the serial printout from the receiver say? Does the receiver print out its current state? Do the addresses of the receiver and transmitter match?

    • @DavidHudman
      @DavidHudman Před 7 lety

      +ForceTronics I did notice that the receiver didn't have any serial output at all. I thought I programmed it correctly, but I can try again. If by address matching, you mean the "boobies" pipe name, then yes they match lol

  • @shinevisionsv
    @shinevisionsv Před 3 lety +1

    Nice pipe addr hahahahaha.B00B1E5. Awesome video!

  • @_APOGEE
    @_APOGEE Před 5 lety +1

    Why is the pipe address "boobies." Am i the only one noticing that?

    • @jimcline2795
      @jimcline2795 Před 3 lety

      FYI - Here's a video featuring a very nice pair of boobies. czcams.com/video/hgE6GwnzQMU/video.html