Forum Replies Created
-
AuthorPosts
-
NewGuardParticipant
Hi Peter,
Mate, you’re a champion. I had looked at the code snippets you had provided before and checked and rechecked my own settings, and couldn’t find a difference. But I figured I’ve had nothing to lose and a working setup to gain, so I grabbed the header file with your variable settings and used that in place of the lorawan_app and lora.h #defines/variables and it instantly started working (heltecv3 tx –> hoperf rx). I’ve gone back and tried to find settings that were different and the only thing I can see is that my lora.h settings didn’t include the enableCrc() function. So far so good. I’ve tried both enableCrc() and disableCrc() using the lora.h on the esp32 with the hoperf board being the receiver and it works with either setting so that doesn’t really make sense to me –so there must be something I’m missing (I’m leaving crc on as the heltecv3 has crc true as per your txconfig settings). The hoperf boards talk to each other with no worries, so I think the wayward settings must have been in the heltec factory test sketch. Disappointingly, the heltec documentation is pretty minimal and not very helpful. Anyhow, with a spreading factor of 12 I’m getting an rssi of -30dbm and a snr of 10.5db with the antennas about a meter apart. I’m so chuffed. I’ll make sure the radio traffic can go the other way this morning and then head out to the bush and see what my line of sight range might be in real world conditions. Thanks again for the help and advice, it did the trick. Cheers
NewGuardParticipantThanks Peter. I’m currently experimenting with RadioLib.h by jgromes to see if that works. I might also try the lora.h on the V3 at some point too. I’m looking to use these Lora modules as security/ notification devices in rural Australia, so I know that tens of kilometers of range will be needed at some point. If I have successes with these other libraries I’ll let you know. Cheers, Bryan
-
AuthorPosts