Oh my, it's been a while since I was able (or remembered?) to touch this project. There's definitely a lot less rain now, but it'll come back! So, before it does, I need to get it done. Or at least, try to get it done.
Yesterday, I was testing an importance assumption. The original assumption was that I'd be able to send telemetry over LoRa from my mailbox (perhaps about 100 meters away) to my house. Would it actually hold true?
So I wrote a simple program that regularly increments a counter and transmits it over LoRa and it will also receive LoRa packets with another device's counter and display it alongside the first counter on the OLED.
This way, the moment either device stops "hearing" the other one, the corresponding counter will stop.
So I kept one of the devices in my office in the basement and walked to the mailbox and put the other device into the slot. It was still receiving counter updates from the other device. Woohoo!
Side note -- guard working with the LoRa chip (SX127x) with a mutex if you have two tasks (sender & receiver) :)
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.