Getting Started with the nRF24L01 Transceiver

แชร์
ฝัง
  • เผยแพร่เมื่อ 15 ก.พ. 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/

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

  • @prashantchaudhari7199
    @prashantchaudhari7199 8 ปีที่แล้ว +4

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

  • @paulroach5118
    @paulroach5118 8 ปีที่แล้ว +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!

  • @dustinburd1940
    @dustinburd1940 8 ปีที่แล้ว +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!

  • @KishoreKumar-uz8ir
    @KishoreKumar-uz8ir 3 ปีที่แล้ว +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 9 ปีที่แล้ว

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

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

    Hi
    You are a fantastic instructor.

  • @nebe01
    @nebe01 9 ปีที่แล้ว +1

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

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

    EXCELLENT videos! Please more of that!!!

  • @AvinashRavi
    @AvinashRavi 9 ปีที่แล้ว

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

  • @SteveBrayley
    @SteveBrayley 9 ปีที่แล้ว

    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.

  • @wellyntongbreton8227
    @wellyntongbreton8227 8 ปีที่แล้ว

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

  • @maranatha84
    @maranatha84 8 ปีที่แล้ว +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  8 ปีที่แล้ว

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

  • @DefuserDesigns
    @DefuserDesigns 8 ปีที่แล้ว

    Very good video - Thank you

  • @beehive808
    @beehive808 9 ปีที่แล้ว

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

  • @MPElectronique
    @MPElectronique 8 ปีที่แล้ว

    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.

  • @kolban1
    @kolban1 9 ปีที่แล้ว +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.

  • @OzInFl
    @OzInFl 8 ปีที่แล้ว +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)

    • @DieBastler1234
      @DieBastler1234 8 ปีที่แล้ว +3

      Glad I'm not the only one haha :D
      lg, couka

  • @mamessner
    @mamessner 9 ปีที่แล้ว +2

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

  • @zoefeng5894
    @zoefeng5894 9 ปีที่แล้ว

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

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

    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 6 ปีที่แล้ว +1

    thanks a looooooooot :)

  • @Gummientenkillass
    @Gummientenkillass 8 ปีที่แล้ว

    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  8 ปีที่แล้ว

      +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 8 ปีที่แล้ว

      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!

  • @chetanbais
    @chetanbais 8 ปีที่แล้ว

    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 8 ปีที่แล้ว +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!

  • @MrMidouCa
    @MrMidouCa 8 ปีที่แล้ว

    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  8 ปีที่แล้ว

      +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 8 ปีที่แล้ว

      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

  • @sesethumhlana4543
    @sesethumhlana4543 6 ปีที่แล้ว

    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  6 ปีที่แล้ว

      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 6 ปีที่แล้ว

      Cool, thanks. I'll have a look.

    • @sesethumhlana4543
      @sesethumhlana4543 6 ปีที่แล้ว

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

    • @ForceTronics
      @ForceTronics  6 ปีที่แล้ว

      Not that I know of

  • @myildirim
    @myildirim 8 ปีที่แล้ว

    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  8 ปีที่แล้ว +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

  • @terraria103
    @terraria103 8 ปีที่แล้ว

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

    • @ForceTronics
      @ForceTronics  8 ปีที่แล้ว

      +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 ปีที่แล้ว

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

    • @ForceTronics
      @ForceTronics  ปีที่แล้ว

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

  • @grk608
    @grk608 3 หลายเดือนก่อน

    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  3 หลายเดือนก่อน

      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.

  • @palakgandhi1900
    @palakgandhi1900 6 ปีที่แล้ว

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

    • @ForceTronics
      @ForceTronics  6 ปีที่แล้ว +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 6 ปีที่แล้ว

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

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

    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  7 ปีที่แล้ว

      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.

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

    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  7 ปีที่แล้ว

      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 7 ปีที่แล้ว

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

  • @ipro0Tube
    @ipro0Tube 8 ปีที่แล้ว

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

    • @ForceTronics
      @ForceTronics  8 ปีที่แล้ว

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

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

    The radio pipe address at 8:19 spells boobie5000

  • @AvinashRavi
    @AvinashRavi 9 ปีที่แล้ว

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

    • @AvinashRavi
      @AvinashRavi 9 ปีที่แล้ว

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

  • @kolban1
    @kolban1 9 ปีที่แล้ว +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 2 ปีที่แล้ว

      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.

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

    How can i extend the range without the antannae veraion

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

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

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

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

  • @Aryan-hd2fl
    @Aryan-hd2fl 3 ปีที่แล้ว

    10:37

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

    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  7 ปีที่แล้ว

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

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

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

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

      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  7 ปีที่แล้ว

      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 7 ปีที่แล้ว

      +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 3 ปีที่แล้ว +1

    Nice pipe addr hahahahaha.B00B1E5. Awesome video!

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

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

    • @jimcline2795
      @jimcline2795 3 ปีที่แล้ว

      FYI - Here's a video featuring a very nice pair of boobies. th-cam.com/video/hgE6GwnzQMU/w-d-xo.html

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

    Needlessly complex. I just wanted to push a switch and see an led light on another board. Too many loose ends here for a newbie tutorial.