Building a Wireless Network with nRF24L01 Transceivers

Поділитися
Вставка
  • Опубліковано 17 лис 2024

КОМЕНТАРІ • 45

  • @tanelhelmik
    @tanelhelmik 7 років тому +3

    Awesome addresses for the transcievers

  • @clarkso65
    @clarkso65 4 роки тому +1

    you got yourself a subscriber, Great video man :)

  • @nali1511
    @nali1511 8 років тому +2

    Great Tutorial! Thank you!

  • @leorusnac
    @leorusnac 9 років тому

    Hi, nice video, just a thought, do you know that nrf24l01+ receiver send back an acknowledge to the transmitter? It is possible to set some data in the acknowledge packet, this basically has no dead times when the receiver is not answering. (this will work in your example and is not a 2-way communication, but just the to answer if the transmitter guessed the number or not)

  • @Sa3dawisurf
    @Sa3dawisurf 9 років тому +1

    Great detailed video!

  • @Willy_LGM
    @Willy_LGM 9 років тому +1

    Great Video! Thanks, I'm gonna try making something awesome :)

  • @Tradeoptionlikeapro
    @Tradeoptionlikeapro 3 роки тому

    Plz explain multilevel tree structure NRF use....

  • @electronicsengineer2874
    @electronicsengineer2874 9 років тому

    can we priotize the a specific transreciever to be at higher prioprity or lower priority

    • @ForceTronics
      @ForceTronics  9 років тому

      +electronics engineer I don't think so or at least there is no way to do it from the open source Arduino library that I use. It is possible that the manufacturer Nordic provided this capability but it was not included in the Arduino library. You would have to dig around in the data sheet to see if that is the case. If you go that route please share what you find.

  • @kikueyam
    @kikueyam 4 роки тому

    Nice tutorial...
    1 question...
    Is the address random hex digits?, or it needs order?
    Can you help me for 5 address?

  • @azevedonik
    @azevedonik 8 років тому

    What's the maximum bitrate of transmission and reception ?

    • @ForceTronics
      @ForceTronics  8 років тому

      They have three bit rate settings: 250kbps, 1Mbps, and 2Mbps

  • @jonnybird5850
    @jonnybird5850 6 років тому +1

    Hi, thanks for the video, it's a really clear explanation! I used the code on your website to test it on my set-up (Arduino Uno x2 as the 'transmitters', and an Arduino Mega 2560 as the 'receiver'). The transmitter codes upload to the Unos but when trying to upload the HUB code to the Mega I got the following error message:
    Arduino: 1.8.5 (Windows 8.1), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"
    In file included from C:\Users\User\Documents\Arduino\Arduino Learning\ForceTroics_HUB_Example\ForceTroics_HUB_Example.ino:6:0:
    C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src/SPI.h:72:1: error: expected unqualified-id before 'class'
    class SPISettings {
    ^
    C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src/SPI.h:72:1: error: expected constructor, destructor, or type conversion before 'class'
    exit status 1
    Error compiling for board Arduino/Genuino Mega or Mega 2560.
    This report would have more information with
    "Show verbose output during compilation"
    option enabled in File -> Preferences.
    You're help would be greatly appreciated!
    Thanks.

    • @ForceTronics
      @ForceTronics  6 років тому

      Looks like there is an issue with the Mega working with the Arduino SPI library. Beyond that I can't really comment because I don't own a Mega

    • @jonnybird5850
      @jonnybird5850 6 років тому

      Thank you, I will grab another Uno an work with that!

    • @jonnybird5850
      @jonnybird5850 6 років тому

      The other thing is, if I were to expand the system with more nodes and therefore need more addresses, how would these new addresses be created? Thanks again!

    • @ForceTronics
      @ForceTronics  6 років тому

      You just make up the address in your code. If you are interested in larger networks you may be interested in this video series ua-cam.com/video/RrmpN1_Py_4/v-deo.html
      Note that I no longer sell the flex node at my site but you can access the design files from GitHub to build it yourself

    • @jonnybird5850
      @jonnybird5850 6 років тому

      Great, thanks for your help! Really useful :)

  • @MinhLe-rd1xt
    @MinhLe-rd1xt 5 років тому

    If i have node00 node01(router) node011
    So i want to send to node00 in node011 i just use
    Network.header header(node00) then it ưill automatically send to node00 ?
    And in system payload will sendto node01 then node00 . Am i correct

  • @ZainuriHasan
    @ZainuriHasan 8 років тому

    how to multceiver with bluetooth module like hc 05/06 or mh 10/11m??

    • @ForceTronics
      @ForceTronics  8 років тому +1

      +Zainuri Hasan there is no way to easily create networks of more than two devices with classic Bluetooth devices like the hc 05/6. You need a master device that would need to connect to a node, exchange data, disconnect, and then repeat with the next node. It's a very tedious way to do it and that is why Bluetooth is not typically used for one to many type networks.

    • @ForceTronics
      @ForceTronics  8 років тому

      +Zainuri Hasan there is no way to easily create networks of more than two devices with classic Bluetooth devices like the hc 05/6. You need a master device that would need to connect to a node, exchange data, disconnect, and then repeat with the next node. It's a very tedious way to do it and that is why Bluetooth is not typically used for one to many type networks.

  • @soorajjp1847
    @soorajjp1847 8 років тому

    Guys can i have more than 6 NRF24L01 modules to communicate with each other. I know that it has 6 pipes and it can receive data from 6 pipes. But in my case i want all of them to transmit and receive in same pipe because the communication will happen at random and i cant specify when i will receive data from which transmiter. All the deveices will act as both transmiter and receiver. So Is it possible.

  • @tuanphammanh6513
    @tuanphammanh6513 6 років тому

    i try to make it (2xArduino Nano as to the "transmitters" and 1xArduino Nano as to the "receiver") but when one of two "transmitters" send correct, the "receiver" will stop receive and 2x"transmitters" continue to send because the function "sendCorrectNumber" not work. HELP ME PLZ !!!!

  • @danielpspersonal
    @danielpspersonal 9 років тому +1

    thank for the informative video. I will ask for a little help though.
    What I'm trying to do is to control 2 servos wirelessly with one potentiometer.
    so, its one Tx with the potentiometer and 2 servos in different locations that must move together.
    I tried using HC-05 for it but failed since I couldnt find any tutorials that used arduino-to-arduino BT communication. it is always arduino-to-android or arduino-to-pc.
    I'm thinking about using nRF24L01s so I can broadcast the potentiometer signal to both locations that of course are not far away from each other, but must not have wires between them.
    I figured is way simpler than what you did in this video, but wanted to make sure it really is possible.
    thank you.

    • @ForceTronics
      @ForceTronics  9 років тому

      Daniel Souza The nRF24L01 has built in capability to network one receiver with multiple transmit modules. In your configuration you want one transmitter and 2 receivers. There is two ways to do that: the first is you manage the connections in the arduino code you have the transmitter just connect to one receiver communicate and then you open a pipe to the other receiver communicate and then switch again. Another way to do it is to have the receiver at the potentiometer and have the two transmitters at the servos. Then just use the receiver capability to return data in an acknowledge packet (I showed this in my getting started video with one receiver and one transmitter). You could also do it with Bluetooth whether it is the HC05 modules or the RN42 modules. In my video "Building a Bluetooth Remote Control Car" I show two arduinos communicating across bluetooth

    • @danielpspersonal
      @danielpspersonal 9 років тому

      yeah, I've been trying to make the HC-05 to communicate, but I failed. I get to the part where they pair via MAC address using the AT bind command, but when it get to actually sending data I couldnt do it. I've seen other people suffering with these modules.
      I've ordered nRF24L01 and will try to make it work. Will this pipe switching thing be reliable? And how fast can it switch for the RN42 as well.
      I'm using arduino Nano at MEGA 328.
      if I can't make this switching thing work, I will probably go with 2 arduinos as Tx, one for each receiver and just connect the potentiometer to both arduinos or make the first arduino send the signal to the second. btw will this work?

    • @ForceTronics
      @ForceTronics  9 років тому

      Daniel Souza I don't know for either since I have never tried. I have only used nRF24L01 modules with one reciever and multiple trainsmitters so I didn't have to switch. In general the nRF24L01 modules seem to easily and quickly connect and Bluetooth tends to take longer and be more flaky. Zigbee easily supports large networks (XBee modules are pretty popular).

    • @danielpspersonal
      @danielpspersonal 9 років тому

      thank you. as soon as I have something working I will post here.

    • @danielpspersonal
      @danielpspersonal 9 років тому

      ***** I did something not very elegant. I just put 1 set of TX-RX and other set of TX-RX. So, 4 arduinos and 4 nRF24L01. the joystick is wired to both Tx. It just seems like the stupid solution, but will do for now as I need these ready this week. after the maker faire I will tweak it to be better and maybe even go back to bluetooth.

  • @Dharmendrasavaliya012
    @Dharmendrasavaliya012 7 років тому

    Hello sir,
    Can we use NRF24L01 for Commercial Home automation system network?

    • @ForceTronics
      @ForceTronics  7 років тому +1

      Yes you could. But really to decide if the nRF24L01 is the right wireless comm module for your design you would need to define the requirements of the system and then investigate what wireless module best meets the needs of the design based on things like power consumption, data rate, security, cost , etc.

    • @Dharmendrasavaliya012
      @Dharmendrasavaliya012 7 років тому

      Sir,
      Thank you for guiding. If i put nrf in counsil switch board in wall will it effect i Range Of NRF?
      & One more Que Can we communicate via NRF with NRF + Module.
      Thank you
      Switch Board Like :
      3.imimg.com/data3/LT/LA/MY-526690/main-switch-board-250x250.jpg

    • @ForceTronics
      @ForceTronics  7 років тому

      It depends on how much metal plating there is in that box, if there is too much metal it could attenuate the wireless signal. If there is no metal then it should work. The best thing to do is test it. I don't understand your second question.

    • @Dharmendrasavaliya012
      @Dharmendrasavaliya012 7 років тому

      My question is can we communicate with different NRF product by Nordic as in figure
      arduino-info.wikispaces.com/file/view/nRF-Amp-Kit-1-1024.jpg/572865599/800x314/nRF-Amp-Kit-1-1024.jpg

    • @ForceTronics
      @ForceTronics  7 років тому +1

      Yes, I have done communication setups with those two different modules.

  • @andreacarrara
    @andreacarrara 5 років тому +1

    See also this library github.com/andrea1388/ReliableRadioNetwork
    It manages ack, retransmission, nodes cooperation for packet delivery

  • @nuwantharaka305
    @nuwantharaka305 9 років тому

    i have made this and the serial monitor shows only the guessed number and nothing happens after that. PLEASE HELP ME. ... i'm new to arduino

    • @ForceTronics
      @ForceTronics  9 років тому

      +Nuwan Tharaka Hello, since you are new I would suggest first trying the nRF24L01 example in my video "Gettting Started with the nRF24L01 Transceiver."
      WATCHED14:06
      Getting Started with the nRF24L01 Transceiver

    • @nuwantharaka305
      @nuwantharaka305 9 років тому

      Thank you