Difference between NRF24L01 & LORA SX1278

srnet:
However your conclusion is not correct, LoRa has been in use for a while for very long distance remote control of RC models in flight, for one example see here;

Thanks for that.

Do you know how they achieve low latency?

And I presume the RC model control system has a certain amount of autonomy - like a drone does - so that it can survive without instructions for a reasonable period. If you can’t see the model you won’t be trying to fly it between the branches of trees.

…R

Robin2:
Thanks for that.

Do you know how they achieve low latency?

And I presume the RC model control system has a certain amount of autonomy - like a drone does - so that it can survive without instructions for a reasonable period. If you can't see the model you won't be trying to fly it between the branches of trees.

No idea how they acheive the low latency and I have no particular interest in long range RC model control, since its not legal to fly models beyond visual line of sight and standard 2.4ghz systems are fine for that.

You often dont need two way comms as long as the packet rate is high enough. The worse that will happen is that the receiver misses a packet and the servo\motors stay where they are until the next packet arrives.

I have thought of doing a long range remote control setup myself to allow you to control relays, lights and servos over a long range LoRa link, and feedback would be useful in that case.

srnet:
No idea how they acheive the low latency

I am inclined to think that they don't :slight_smile:

...R

Both systems are "by themselves" CAPABLE of reaching long distances and there's a lot involved in the type of antenna you use. I tried nRF24 modules some years ago with the builtin board antenna and they could barely talk to each other beyond a dozen inches. Seriously.
Next step is a vertical monopole antenna. Next...a homemade butterfly biquad antenna if you will. Or a yagi. If things get bad, a parabolic antenna would be the best fit, but a basic directional antenna will probably get what you need, provided you place them high enough (look up fresnel effect in antennas)

Good luck and keep us posted

edugimeno:
I tried nRF24 modules some years ago with the builtin board antenna and they could barely talk to each other beyond a dozen inches.

I have had a pair of them working at 110 metres outdoors.

...R

Robin2:
I have had a pair of them working at 110 metres outdoors.

I was indoor, with >10 Wifi networks around and walls everywhere. I know I should try the ones with PA and ext antenna

edugimeno:
I was indoor, with >10 Wifi networks around and walls everywhere.

Did you try different channels?

...R

I am not able to connect my Lora SX1278 module to Arduino Mega, it is working good with Arduino Uno. Can anybody help?

(Problem with Mega only)

I am using the simple example given in Lora library and dedicated ICSP pins for communication, I have connected NSS to pin no 53, connected DIO0(pin 2) and DIO1(pin 3) and already tried connecting DIO0(pin 21) and DIO1(pin 20).

I am not sure whether we should initiate interrupt pins for Arduino Mega (and really don't know how to initiate it), tired trying for two days....need help.

Problem solved I connected Lora sx1278 Ra-01 to Arduino Mega,

BY defining pin...

#define SS 53
//#define RST 14
#define DI0 2
#define BAND 433E6 //915E6

and

LoRa.setPins(SS,DI0);

now it is communicating between...

So your using the RadioHead Library ?

I was wondering which LoRa Library you were using as they do all work a bit different.

quoted below the trail code, by which I started communication between two Lora …
and <LoRa.h> is there which should be a Lora library…

#include <SPI.h>
#include <LoRa.h>

#define SS 53
//#define RST 14
#define DI0 2
#define BAND 433E6 //915E6
int counter = 0;

void setup() {
Serial.begin(9600);
while (!Serial);
LoRa.setPins(SS,DI0);
Serial.println(“LoRa Receiver”);

if (!LoRa.begin(433E6)) {
Serial.println(“Starting LoRa failed!”);
while (1);
}
}

void loop() {
// try to parse packet
int packetSize = LoRa.parsePacket();
if (packetSize) {
// received a packet
Serial.print(“Received packet '”);

// read packet
while (LoRa.available()) {
Serial.print((char)LoRa.read());
}

// print RSSI of packet
Serial.print("’ with RSSI ");
Serial.println(LoRa.packetRssi());
}
}

darison01:
quoted below the trail code, by which I started communication between two Lora …
and <LoRa.h> is there which should be a Lora library…

Yes, saw that, but you did not say which of the available LoRa libraries you were using.

From here "arduino-LoRa/API.md at master · sandeepmistry/arduino-LoRa · GitHub"

:slight_smile: