nRF24L01 14km challenge!

Поделиться
HTML-код
  • Опубликовано: 21 июл 2024
  • Antenna: goo.gl/EIKyeZ
    nRF module: goo.gl/61adro (I'm using 10uf + 0.1uf ceramic caps on the GND and VCC pins)
    Sketches: www.iforce2d.net/sketches/nRF...
  • РазвлеченияРазвлечения

Комментарии • 96

  • @SatyajitRoy2048
    @SatyajitRoy2048 7 лет назад +26

    what a beautiful place you are living in. it's amazing that this little nRF24L01 RF module can throw the signal more than 14 kilometre. please share more details about the RF setup

  • @Friendroid
    @Friendroid 7 лет назад +52

    what a beautiful place

    • @Friendroid
      @Friendroid 7 лет назад +2

      Trees attract radio controlled models and would block the view anyway.

    • @stuartpatterson1617
      @stuartpatterson1617 7 лет назад +1

      Britain was covered in trees as well but we prefer shrubs these days.

  • @danskifpv
    @danskifpv 7 лет назад +2

    Both myself and my young son enjoyed watching this video together. Well done on the results thus far

  • @thebrigbri5708
    @thebrigbri5708 7 лет назад +3

    Excellent work. Im trying to do something similar to relay ambient temperature and humidity over about 2km. i have similar antennas this gives me hope. Im looking forward to seeing how far you can push this......

  • @Bruder_chill
    @Bruder_chill 7 лет назад +1

    keep up doing these nrf24l01 projects nice

  • @thomasvnl
    @thomasvnl 7 лет назад

    Super nice test result you got there!

  • @TheDefpom
    @TheDefpom 7 лет назад +5

    Antenna polarization is important, as you discovered.

  • @Len02013
    @Len02013 7 лет назад

    Nice range :) keep up the good work. I would be really interested to see how far the non pa/lna goes (got a few battery powered sensors with them around the house) and/or home made yagi's :).. I got a feeling you're current setup will go a fair bit further ;)

  • @rodrigo_dm
    @rodrigo_dm 7 лет назад +1

    Hey man i've been watching your videos for long now, really enjoying it, and i have a request. Could you test the HC-12 module as well? instead of SPI is a UART so that would be very interesting. Thanks for the videos they are great!

  • @elesjuan
    @elesjuan 7 лет назад

    Holy crap man. This is VERY impressive!! I'm familiar with yagi antenna polarization via voice communication and have seen it affect the receive signal but have never messed with data. Crazy!
    So the xmitter says it's rated at 100mW and the antenna is a +25dbi. My math says this EIRP is 3.89 watts, approximately. There will be some loss with the coax at these frequencies, but close enough. Very cool!! Keep the challenge going. I'd love to see this at 20 or 30km!

  • @CutterSlade001
    @CutterSlade001 7 лет назад

    I love your nRF24 videos! I have a suggestion though. Can you demonstrate what kind of data one could send with this setup? Like the temp at the location of the transmitter? Or controlling a robotic arm. Or sending a still image from time to time.

  • @CCourts
    @CCourts 7 лет назад +1

    Great video!! I would be very interested to see what you would receive from a weather balloon at 30km on a cloudless day. You could almost communicate with it the whole way if it sends back constant data stream from a gps module and altitude sensor.

  • @Mafish1995
    @Mafish1995 6 лет назад

    Hey, interesting vids.
    Maybe you could try putting some kind of a dish (from aluminum foil?) around the small antenna (on a reciver side) and check what range can in get? This kind of aluminum foil dish on a stiff frame would be very light and might give you quite nice results

  • @davschall
    @davschall 6 лет назад

    I just got 3 of the long range modules because this looks awesome. I have a radio trackeresque project in mind. But what are some other practical uses of transmitting data at these extreme of ranges? Just sensor networks and the like?

  • @nawabusamabhatti9703
    @nawabusamabhatti9703 2 месяца назад

    Mind Blowing Results

  • @travisPiru
    @travisPiru 7 лет назад +6

    Great video, i'm enjoying this nrf24 challenge so far!
    How did you do to point the two antennas towards each other? did you calculate the angle with respect to ground or just used the rule of thumb? how big it is the "beam" as your experience?
    Thanks
    P.S it would be interesting also to try these modules against LoRa ones. ;)

    • @iforce2d
      @iforce2d  7 лет назад +1

      I used this acscdg.com/
      The azimuth number is the compass bearing. I compared that with what the compass on my phone told me. It was very close for the first location which I could check visually, so I just trusted it for the second location which I could not check visually.

    • @WX4CB
      @WX4CB 7 лет назад +1

      beamwidth at that distance is going to be pretty wide.

  • @dominik8040
    @dominik8040 7 лет назад

    Great work. Does You antenna have a impedance matching balun? I cannot see on the picture and video :) Maybe You can improve setup little bit more :)

  • @handleymachine4421
    @handleymachine4421 7 лет назад

    When are you putting that 'lil' antenna on a tiny whoop? Lol. Very interesting video. 👍

  • @HowToDIYRc
    @HowToDIYRc 7 лет назад

    nice job whats next? mate

  • @superdau
    @superdau 7 лет назад +3

    Do you have ACK enabled or is that a purely one-way transmission? With ACK the lower packet rate could be due to the longer travel time of the signal. The 5+5 additional km would add about 33µs to a bidirectional exchange.

    • @iforce2d
      @iforce2d  7 лет назад +1

      Astute as always :) No ACK for this one though, just one way.

  • @shaun9054
    @shaun9054 7 лет назад

    8:05 if I turn it that way it 'works better', sarcasm is one of the highest displays of intellect.

  • @peaps
    @peaps 7 лет назад

    That is mental. The gain on those Yagi's must be pretty respectable considering a rubber duck would get zero, I imagine.

  • @cliftonbrown911
    @cliftonbrown911 6 лет назад

    Could it be the electric fence was causing any interference?

  • @blancsteve4819
    @blancsteve4819 7 лет назад

    Radio is magic mate.
    Or at least it seems like it with all the 1940's advances being kept secret for so long.
    Nice sunset.

  • @tropicaljantie
    @tropicaljantie 7 лет назад

    user laser for accurate pointing?

  • @dronefix9830
    @dronefix9830 7 лет назад +1

    I like your NRF24 protocol, I use it in all my RC and game devices. Have you experience in porting it on STM32?

    • @dronefix9830
      @dronefix9830 7 лет назад

      After last crash flased iNav to my Naze and found many interesting about NRF24 on its Git.

  • @vivektodmal1
    @vivektodmal1 6 лет назад

    hello how did u find the range?
    what is the meaning of PPM?

  • @123yarr
    @123yarr 7 лет назад

    but what if you point it upwards?

  • @yokonunz
    @yokonunz 7 лет назад

    :) Seems like polarization matters in same way :D You should had put the antenna to 45 degrees and wrote down the numbers you get so we can check the ratio between 45 mismatch and perfect match :D :D :D (btw LOL).
    Your NRF modules seems like of very high qualities. I've troubles with mine ones even on short distance, like touching the module while trasmitting it more than double the packet ratio. So my modules are very sad :(
    Another curiosity, what's the payload size of the packets? 32bytes ? Edit. Figured out from code I didn't see before :) 32byte as default _:)

  • @Bruder_chill
    @Bruder_chill 7 лет назад +1

    maybe you should start using LNA amplifier for receiver and power amplifier for transmitter

    • @iforce2d
      @iforce2d  7 лет назад

      they both have LNA and PA

  • @rocborges
    @rocborges 2 года назад

    This challenge is very cool. In your code there is no way you could measure the lost packages (drops). Could you show how you did it?

    • @iforce2d
      @iforce2d  2 года назад

      The 'drops' value is not used in this test. It's just there from something else I was doing another time.

  • @Seba112PL
    @Seba112PL 6 лет назад

    Can you explain how to calculate PPS faster than once per second ? I would like to use it to calculate RPS of my motor to control it via PID loop but with updating RPS once per second I cant obviously control it smooth. Thanks :)

    • @iforce2d
      @iforce2d  6 лет назад

      How about counting the number of packets you receive in half a second, and doubling it, etc.

  • @waytoscience8452
    @waytoscience8452 3 года назад

    place is awesome

  • @WX4CB
    @WX4CB 7 лет назад

    how are you doing with the RF Hash from the electric fences etc. especially that close to them. Also. Nice to see how you realised about antenna polarisation. Just as a point of interest, you'll lose around 20 DBi at cross polarisation depending on the antenna. And don't forget, you're running 100mW into a 25DBi antenna so you're effective radiated output power (EIRP) is around 60-100 watts. Which is potentially illegal unless you're a ham operator, using the amateur radio 2.4Ghz allocation and you're sending your callsign in the packet as a means of identification :D
    what data rate are you using and what packet length?

    • @iforce2d
      @iforce2d  7 лет назад +1

      12 byte packets, the program is set to 250kpbs rate.

    • @WX4CB
      @WX4CB 7 лет назад

      that's what i thought it was something around 250kbps. as you get further away, you're going to get more issues with the fresnel zone (curvature of the earth). in fact in a uhf link i had that goes about 35 miles, we actually had to angle the antennae up, only by a couple of degrees but the difference was amazing.. bear in mind, one antenna was 18 floors up, the other about 6

  • @jameslamb4573
    @jameslamb4573 7 лет назад

    I know yagi antennae do not rely on a ground plane to work efficiently but I wonder if you noticed any effect of having the antenna on the roof of your car?

    • @iforce2d
      @iforce2d  7 лет назад

      No, can't say I did.

  • @andrewwaters2354
    @andrewwaters2354 7 лет назад

    30 km challenge!! I wonder if you know how to send an integer value over these, because you an only send 1 byte at a time its giving me a real hasrd time,how would you go about it (knowing so much arduino stuff!)

    • @iforce2d
      @iforce2d  7 лет назад +1

      ? If you look at the source code I'm sending three integer values in this packet, three longs and a uint32 which comes to 12 bytes total.

  • @sptrader6316
    @sptrader6316 7 лет назад

    Did you do this experiment with the intention of putting a "miniature" version of the big ass Yagi antenna on a drone ? That would also be a fun long range experiment.. Great video - beautiful location..

    • @iforce2d
      @iforce2d  7 лет назад

      No, I'm just curious about how far this cheap stuff can be taken.

    • @Len02013
      @Len02013 7 лет назад

      Eric Wertz bit of wire and wood can go a long way :) rcgroups have a diy yagi, that's what I made. Don't know how it compares to bought one though

  • @e1Pr0f3ss0r
    @e1Pr0f3ss0r 3 года назад

    Can i use this antenna in Nrlf based RC plane/car transcivers?

  • @goofypettiger
    @goofypettiger 6 лет назад

    Thank you for posting this. Extremely useful field data.

  • @davidlondon3111
    @davidlondon3111 7 лет назад

    So the real problem will be how to get an antenna like that on a copter or fixed wing. Thanks for sharing

    • @TheKetsa
      @TheKetsa 7 лет назад

      with auto tracking.

  • @jvianneyjr
    @jvianneyjr 3 года назад

    Hi that transmissor have no external antenna?

  • @bayusmith9660
    @bayusmith9660 6 лет назад

    is it possible to share the internet connection using this nRF24L01?

    • @iforce2d
      @iforce2d  6 лет назад

      Not without a lot of hard work, and the result would be pretty bad.

  • @alexei9821
    @alexei9821 6 лет назад

    What cam you are use for the video recording? Nice picture.

    • @iforce2d
      @iforce2d  6 лет назад

      Panasonic HC-W850M

    • @alexei9821
      @alexei9821 6 лет назад

      Thanx dude for answer ;-)

  • @robertomartin8731
    @robertomartin8731 7 лет назад +1

    I envy that large space :/

  • @WagonLoads
    @WagonLoads 3 года назад

    Which library do I use for the nRF24L01.h from the Arduino IDE

    • @iforce2d
      @iforce2d  3 года назад

      This is the one I've been using for a long time. I think it was originally the 'Greg Copeland' fork of maniacbug, but I'm not totally sure. www.iforce2d.net/sketches/RF24-library.zip

    • @WagonLoads
      @WagonLoads 3 года назад

      @@iforce2d Opps. Now I see the link in the sketch..Thanks..
      OK, tried compiling it and it seems like it likes Arduino nano, but not any of the esp boards.
      Have you tried mounting your antenna on a tripod or pistil grip handle with the Arduino on the back end of the antenna, so you can see the response as you are pointing?
      Thanks for the video. I have always been interested in long distance communication..

  • @Migueldeservantes
    @Migueldeservantes 5 лет назад

    You need to put on your title "14Km using 2.4Ghz..... you can probably get a few million views!! I mean that is really awesome... seriously!!!

    • @iforce2d
      @iforce2d  5 лет назад

      30km here
      ruclips.net/video/4XRp7pkZgPM/видео.html

  • @Dakshina
    @Dakshina 7 лет назад +1

    Are you using the nRF24L01 modules which have the PA+LNA?

  • @mohammedshariffshariff2440
    @mohammedshariffshariff2440 5 лет назад

    How to connect it can I make re plane with it

    • @iforce2d
      @iforce2d  5 лет назад

      Yes. See part 12 here: ruclips.net/p/PLzidsatoEzeieT03YQ6-LpO0bR1yfEZpx
      See also ruclips.net/video/eVnyPSAefxU/видео.html
      See also arduino-info.wikispaces.com/Nrf24L01-2.4GHz-HowTo

  • @alhazan
    @alhazan 7 лет назад

    That's pretty cool! What's next, stick it on a plane?

  • @sisco6943
    @sisco6943 7 лет назад

    Did you have to modify the sketch at all to get it working with pa+lna nrf's? I tried to use some regular nrf24's and they worked great. However when i used a pa lna one it wouldnt connect to a regular nrf.

    • @iforce2d
      @iforce2d  7 лет назад

      No, their usage is exactly the same. Maybe it's a power issue, the PA version would likely require more power. Do you have any caps on the GND/VCC pins? Try 0.1uf to 10uf caps, or even both (which is what I have on these).

    • @Dakshina
      @Dakshina 7 лет назад

      Some units with PA+LNA have an unpopulated jumper on the PCB to enable the LNA. so they might not work straight out of the box. I have one such unit bought from ebay.

    • @sisco6943
      @sisco6943 7 лет назад

      i havent had time to do that yet. I did that on the original nrf to get it working. Since then all my regular nrf's have worked without one. Thanks for the info!

    • @iforce2d
      @iforce2d  7 лет назад

      Yeah I also had many that worked ok without the caps. I'm pretty sure it can't hurt to add them though.

    • @sisco6943
      @sisco6943 7 лет назад

      Ended up being a power issue. The arduino that im using couldnt supply enough current. I put a cap on there along with a 3.3v regulator. giving the regulator is giving it enough current to drive it.

  • @shubhamsirvi482
    @shubhamsirvi482 3 года назад +1

    Which cable used between antenna and nrf24l01

    • @shubhamsirvi482
      @shubhamsirvi482 3 года назад

      Please reply

    • @iforce2d
      @iforce2d  3 года назад

      The cable comes with the antenna

    • @shubhamsirvi482
      @shubhamsirvi482 3 года назад

      @@iforce2d I want only 5meter cable please reply

    • @iforce2d
      @iforce2d  3 года назад

      Please reply about what? This is the listing, just read it.
      www.banggood.com/RP-SMA-2_4GHz-25dBi-Directional-Outdoor-WiFi-Antenna-Wireless-Yagi-Antenna-with-Cable-for-Extending-WiFi-Coverage-p-1679563.html

  • @G-REV_CHUCK
    @G-REV_CHUCK Месяц назад

    Your sketches link is not working. idk if its just my pc or what but it wont open. please leave a link to where i can find the sketch.

    • @iforce2d
      @iforce2d  Месяц назад +1

      Try again, it just needed https instead of http. RUclips broke hundreds of my links like this a while ago, I have yet to find all the ones that need updating.

    • @G-REV_CHUCK
      @G-REV_CHUCK Месяц назад

      @@iforce2d thank you so much!

  • @neerajtenthouse-gosaipurse1190
    @neerajtenthouse-gosaipurse1190 5 лет назад

    Hii sir,
    sir, i am Sending a data from ( NRF24L01 transmitter) to ( NRF24L01 Receiver ) .
    but i want to put its Nodes ADDRESS in DECIMAL format
    like - ( this_Node = 12345 , Other_Node = 31296 ) .
    but the problem is.... , in Decimal format addressing , Data is unable to Send in my code . ( i think there is Addressing problem in my Code ) .
    I Had mail you my codes on your email
    i had also attached my code below , Sir please Help me to Correct the Code .
    i will be too much thankful for your Help & Suggestions
    ....................................................................
    TRANSMITTER CODE
    ....................................................................
    #include
    #include
    #include
    #define button 2
    RF24 radio(10,A1);
    int buttonState = 0;
    RF24Network network(radio);
    const uint16_t this_node = 12345;
    const uint16_t other_node = 31296;
    void setup()
    {
    Serial.begin(500000);
    SPI.begin();
    radio.begin();
    network.begin(90,this_node);
    pinMode(button,INPUT);
    }
    void loop(){
    network.update();
    //---------TRANSMITTING----------//
    RF24NetworkHeader header(other_node,DEC);
    unsigned long buttonState = 311;
    bool ok = network.write(header,&buttonState, sizeof(buttonState));
    Serial.println(buttonState);
    }
    ............................................................................................
    RECEIVER CODE
    .............................................................................................
    #include
    #include
    #include
    #define led 3
    #define led2 4
    RF24 radio(10,9);
    byte guest=0;
    //#define buttonState1 8
    const int buttonState1 = 311;
    RF24Network network(radio);
    const uint16_t this_node = 31296;
    const uint16_t other_node = 12345;
    void setup()
    {
    Serial.begin(500000);
    SPI.begin();
    radio.begin();
    network.begin(90,this_node);
    pinMode(led,OUTPUT);
    pinMode(led2,OUTPUT);
    }
    void loop(){
    network.update();
    //---------RECEIVING 1 ----------//
    while( network.available() ) {
    RF24NetworkHeader header;
    unsigned long buttonState;
    network.read(header,&buttonState, sizeof(buttonState));
    Serial.println(buttonState);
    if(buttonState1==buttonState)
    {
    digitalWrite(led,HIGH);
    digitalWrite(led2,LOW);
    }
    else
    {
    digitalWrite(led2,HIGH);
    digitalWrite(led,LOW);
    }
    }
    }

    • @iforce2d
      @iforce2d  5 лет назад

      I have never used the 'network' feature of this transmitter, no idea sorry.

    • @neerajtenthouse-gosaipurse1190
      @neerajtenthouse-gosaipurse1190 5 лет назад

      Its okk, no problem
      But thanks, for your reply😊

    • @neerajtenthouse-gosaipurse1190
      @neerajtenthouse-gosaipurse1190 5 лет назад

      You can suggest me to concern with your friend , who can solve my problem
      Please suggest if you can
      its very important, my project is going on

  • @DoRC
    @DoRC 7 лет назад +1

    5km on flat ground sounds about right as the Earth's curvature is going to come into play

  • @Adamcz95
    @Adamcz95 7 лет назад

    Can't focus at all on the point of this video. The kiwi scenery keeps distracting me ...