On 01 Jan 2022, acn said the following...
Very nice experiment!
I don't have any LoRa hardware on hand, so I cannot participate right now, but it sounds quite interesting.
It would be very nice if you would keep us informed on how it turns
out :)
I ended up doing a small range test today. I set up the Pi 3 in my office on the second floor and hooked the Pi2 up to a battery back and took a walk around the block.
I was able to get about 325 meters south (the end of our street) and 165
meters north (the other end of our street). As soon as I go around the corner and there were too many houses in the way the signal was blocked.
https://ibb.co/XJXTMpL
I'm sure if I were to get the antenna higher and mount it right-side-up (instead of just laying flat on a desk) I'd get some better distance. I may try going on the rail trail tomorrow where I can get a long distance with lots of open space and see what kind of distance I can get there.
I found some other example code that uses a "reliable datagram" where each packet is addressed to a specific radio node and acknowledged by the receiver.
https://bit.ly/3ziJqlp
It sends a "ping" every 10 seconds from node 1 (Pi 3) to node 2 (Pi 2), I modified the code slightly to display the results on the onboard OLED screen so I could see the results in real-time as I walked.
https://ibb.co/9GTPd2W
So for sure if I want to get up to 10km away to my father-in-law's house I'll need to get the antenna higher and probably have to use a directional antenna.
Jay
... Pros are those who do their jobs well, even when they don't feel like it.
--- Mystic BBS v1.12 A47 2021/12/24 (Raspberry Pi/32)
* Origin: Northern Realms (21:3/110)