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...
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
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......
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 ;)
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!
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!
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.
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.
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
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?
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. ;)
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.
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.
:) 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 _:)
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 :)
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?
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
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?
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!)
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..
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
@@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..
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
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.
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).
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.
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!
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.
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
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.
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); } } }
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
what a beautiful place
Trees attract radio controlled models and would block the view anyway.
Britain was covered in trees as well but we prefer shrubs these days.
Both myself and my young son enjoyed watching this video together. Well done on the results thus far
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......
keep up doing these nrf24l01 projects nice
Super nice test result you got there!
Antenna polarization is important, as you discovered.
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 ;)
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!
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!
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.
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.
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
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?
Mind Blowing Results
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. ;)
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.
beamwidth at that distance is going to be pretty wide.
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 :)
When are you putting that 'lil' antenna on a tiny whoop? Lol. Very interesting video. 👍
nice job whats next? mate
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.
Astute as always :) No ACK for this one though, just one way.
8:05 if I turn it that way it 'works better', sarcasm is one of the highest displays of intellect.
That is mental. The gain on those Yagi's must be pretty respectable considering a rubber duck would get zero, I imagine.
Could it be the electric fence was causing any interference?
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.
user laser for accurate pointing?
I like your NRF24 protocol, I use it in all my RC and game devices. Have you experience in porting it on STM32?
After last crash flased iNav to my Naze and found many interesting about NRF24 on its Git.
hello how did u find the range?
what is the meaning of PPM?
but what if you point it upwards?
:) 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 _:)
maybe you should start using LNA amplifier for receiver and power amplifier for transmitter
they both have LNA and PA
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?
The 'drops' value is not used in this test. It's just there from something else I was doing another time.
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 :)
How about counting the number of packets you receive in half a second, and doubling it, etc.
place is awesome
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?
12 byte packets, the program is set to 250kpbs rate.
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
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?
No, can't say I did.
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!)
? 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.
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..
No, I'm just curious about how far this cheap stuff can be taken.
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
Can i use this antenna in Nrlf based RC plane/car transcivers?
Thank you for posting this. Extremely useful field data.
So the real problem will be how to get an antenna like that on a copter or fixed wing. Thanks for sharing
with auto tracking.
Hi that transmissor have no external antenna?
is it possible to share the internet connection using this nRF24L01?
Not without a lot of hard work, and the result would be pretty bad.
What cam you are use for the video recording? Nice picture.
Panasonic HC-W850M
Thanx dude for answer ;-)
I envy that large space :/
Which library do I use for the nRF24L01.h from the Arduino IDE
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
@@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..
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!!!
30km here
ruclips.net/video/4XRp7pkZgPM/видео.html
Are you using the nRF24L01 modules which have the PA+LNA?
yes
Thanks.
How to connect it can I make re plane with it
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
That's pretty cool! What's next, stick it on a plane?
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.
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).
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.
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!
Yeah I also had many that worked ok without the caps. I'm pretty sure it can't hurt to add them though.
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.
Which cable used between antenna and nrf24l01
Please reply
The cable comes with the antenna
@@iforce2d I want only 5meter cable please reply
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
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.
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.
@@iforce2d thank you so much!
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);
}
}
}
I have never used the 'network' feature of this transmitter, no idea sorry.
Its okk, no problem
But thanks, for your reply😊
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
5km on flat ground sounds about right as the Earth's curvature is going to come into play
Can't focus at all on the point of this video. The kiwi scenery keeps distracting me ...