-
Notifications
You must be signed in to change notification settings - Fork 300
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Receiving only 1/3 of LoRa transmission #138
Comments
When you say: "I have edited it only so the datarate is SF10 and bandwidth 125KHZ", what did you do exactly ? So by default, when using test_loragw_hal_rx, you don't need to change anything to receive SF10/BW125. When using the option "-m 0", I would recommend launching the app with: On the sx1262 side, could you try with coding rate 1 (4/5) ? |
Oh I see, well then I have recloned the repo and only edited the And after trying some of the frequencies, with either the antennas 1m from each other or right next to each other, I recieve one, then I don't, then I do again... like 40% reception rate. Most of the times like this:
But sometimes "corrupted" like this on wrong frequency:
Cheap RTLSDR screenshot: (the 0.02 shift can but doesnt have to be due to the rtlsdr) |
Hello, I've never used the RAK2287 module for the gateway, but I think that your gateway configuration is fine.
If your end-device is close to the gateway, you definitely don't need to set the output power to 20dBm. 0dBm is more than enough. If it doesn't receive it means that there is a configuration issue somewhere, but not linked to the power. If you receive packets on the wrong frequency, it could be due to the high ouput power creating RF images that can be detected as a packet but with CRC error. With RadioLib, there are some examples for LoRaWAN, maybe you can test those examples, because the configuration should be aligned with the gateway. Just ensure that the syncword used is 0x34 (public). Best regards, |
I have a RAK7391 board with RPi CM4 and a RAK2287 (SPI SX1302) as a basestation and then Heltec ESP32 LoRa v3 (SX1262) as a node.
On the RPi I'm running the loragw_hal_rx with this command:
./test_loragw_hal_rx -r 1250 -a 868.4 -b 868.5 -k 0 -m 0
and I have edited it only so the datarate is SF10 and bandwidth 125KHZ.The SX1262 has same sf,bw, frequency at 868.5, coding rate 6, public sync word and power at 20.. nearly the max (overpowers FM station on RTLSDR) using RadioLib.
The problem I'm having is that only like 1/3 of the transmissions/packets get recieved (with rssi 150+), if I change on both the sf to 6 and bw to 250, then I get none... Where there can be a problem?
The text was updated successfully, but these errors were encountered: