LoRa: Field Testing Antennas
sparkfun.com
sparkfun.com
After a bit of research I discovered LoRa and I’m in the process of swapping out the WiFi network. While the bandwidth isn’t great, I really don’t need it. So far I’ve found a couple test boards can communicate virtually uninterrupted over the same distance that the WiFi boards typically fail. They also consume way less energy doing so! The code footprint is smaller, the boards will survive on battery power much longer, and expanding the network will be way less hassle.
If you need high bandwidth then I guess it’s not a viable solution, but if you don’t it seems incredible to me. I’m still in mild disbelief that something so cool and useful is so cheap and easy to use.
I briefly dug into it but had the sense that it might be a bit over my head. I’m not great with hardware — I just goof around with it a bit and make fun stuff for hobbies. Making WiFi work better would be really useful for some things, though.
The downside to LoRaWAN is the implementation of mesh. It, generally, requires far more planning currently - but I'll be curious to see how it evolves with more mainstream applications.
I was totally content to accept that once I saw how well it solved my problem. WiFi has a clear cut path to getting what you want accomplished which seems great from the outset, but is totally useless if it’s not reliable. I’ve found that WiFi-based projects generally need to be really, really close to an access point to be properly reliable.
As another comment mentioned though there are probably plenty of ways I could mitigate these problems, so it’s as much an issue with me trying to use a technology wrong as it is a hard limitation of WiFi.
I've found the AT modem command[3] based modules[1][2] to be fairly drop-in and usable, I was even able to pair via BT on my phone and use the BT serial TTY to send/recv without any specific software. It's pretty hard to beat ~$20 modules that you can just drop in and run over UART.
Keep in mind these are mostly for point-to-point although if I remember correctly you can also configure them for a standard LoRA deployment through that command interface as well.
[1] https://store.rakwireless.com/products/rak4200-evaluation-bo...
[2] https://www.seeedstudio.com/LoRa-E5-mini-STM32WLE5JC-p-4869....
[3] https://docs.rakwireless.com/Product-Categories/WisDuo/RAK42...
I'd like to see if two LoRa modules could be used as a transparent bridge for a 9600 bps serial connection over about 5km with good line of sight with a moderate sized whip antenna. It seems like 1-2km at that rate is for sure but determining the bitrate falloff vs distance (as it automatically adjusts the rate for the signal) I haven't found a resource for.
So yeah good for sensors
Having used lora my gut feeling is you’re not going to get more than 3km unless you take advantage of hills or towers. Use the keyword “fresnel zone” for more information.
Also Lora is one-directional. It’s not even half-duplex out of the box. So you either need 2 sets of radios or you need to implement half-duplex communication in software.
From wikipedia article of Hirose U.FL:
Female U.FL connectors are not designed with reconnection in mind, and they are only rated for a few reconnects (approximately 30 mating cycles[5]) before replacement is needed.
Antenna elevation is your friend. At long ranges, be aware of the fresnel zone!!
Long answer: https://www.thethingsnetwork.org/airtime-calculator
https://www.coredump.ch/2017/04/13/lorawan-868mhz-antenna-te...
https://www.coredump.ch/2017/04/30/lorawan-868mhz-antenna-te...
For the final test they went up in elevation and had what appears to be line of sight back to the base station. That alone was probably more impactful than any antenna change.
They could also just be bored with the first path and looking for something different.
>For the final test they went up in elevation and had what appears to be line of sight back to the base station. That alone was probably more impactful than any antenna change.
For the final test, they were 6.4 miles away. If you think the elevation was the only thing that helped, you're just being obtuse. Is it deliberate? I'm asking for my friend Andy Dufresne
My one bit of advice is do it all passive. If you try to start talking back, you could find yourself in a heap of trouble regardless of how benign your intentions.