-
-
Notifications
You must be signed in to change notification settings - Fork 618
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
Range problems #484
Comments
You have a bad antenna, or antenna is not connected. |
Also, make sure you are setting the module to the 915MHz band. |
The module is set to 868Mhz, I forgot to mention that. Is the antenna fit for 868Mhz? I will try it out without the antenna today. |
I just tried it out without the antenna and the situation is not improving. If I remove the antenna from the sender it does not make a difference at all. If I remove the antenna from the reciever, it is not even recieven when the modules are lying next to each other. This situation is the same for 868Mhz as well as 915Mhz. I now used the spreading factor 7 |
Ok, I found the solution. Turns out I was using the wrong antenna. Now I changed it to antennas fit for 869Mhz and it works so much better now. Thanks for the hint! |
Ok, I celebrated too soon. Turns out that even though the situation improved from the initial 3m I stop recieving after ~100m. I even went back to the default settings to make sure I did not ruin anything: -Frequency at 868E6 I am using the correct Antenna for the frequency I use (see picture). I decreased the payload to a simple "hello" and was able to get 10m more but that is way too less for me. I read in various posts, that people are able to send across several km even within a city, yet I am unable to achieve the same performance. What is wrong with my setup? |
To add to this. My RSSI ist most of the time around -110 the SNR starts usually at ~4 and then drops to ~ -7 |
Try to use external 3.3v power for LoRa. Just leave AGC auto. Most of the time, AGC works fine. |
Your SNR and RSSI imply either wrong antenna or not enough power. To check if any jumper for the antenna |
Ok, I have checked the following things now:
|
Check if you mix up between the SMA and RP-SMA antenna? One of the connector should be male and the other is female. |
If I were you, I would make my own antenna, using the correct length wire. Unless you have access to a VNA or Spectrum Analyzer, there's no way to know if the antennas are any good, unless you make your own. |
One thing to mention is that I am in Europe and that I am using the SX1276 mbedh shield "MB1MAS". I just stumbled upon this link: https://os.mbed.com/users/dudmuck/code/chat_sx127x/wiki/Homepage were it is written that the European version does not have this PA_BOOST pin option to devliever more than 14 dBm. Could this be my problem? If so, should I not be able to reach further with up to 14 dbm? |
LoRa.setTxPower(txPower, PA_OUTPUT_RFO_PIN);
923Mhz 433Mhz 868Mhz |
Thx for the hint: LoRa.setTxPower(txPower, PA_OUTPUT_RFO_PIN). I am sorry that I missed that, now I could improve again the range. I was able to reach up to 380m with 14dbm (maximum without PA BOOST). This also means, that I will for now continue to use the antenna that was send with the kit and save the option of building my own antenna for later (if everything else is not working T_T) My RSSI and SNR are still bad (-130 and -12.50) but I assume that this is because I am trying this out in the city. However, I have access to two rooftops that are 800m apart and was not able to recieve at this distance. |
No need to stay too far. Sometimes, it takes a lot of effort to climb up the roof top. If within 3-5 meters with no obstacle and you can not get RSSI around -60 to -80 / SNR around +10, then it is likely antenna and antenna related issues. |
at 0.5m I have RSSI = -65 and SNR=10 |
If no obstacle in 3m, and the RSSI is around -80, I think the antenna is badly tuned. It should be around -60. 20 RSSI is a lot. |
I had the same issue with the SX1276MB1MAS until I figured out that the TXRX_SW is by default not connected to the RXTX/RFMOD pin on the transceiver. This means that the actual antenna never gets connected to the rest of the circuit when transmitting which results in the issues you and I have experienced. You can fix this in two ways:
I used option nr. 1 and my RSSI increased from -90 dBm at ~1m to -15 dBm at the same distance. I realize this is probably too late for helping you @CKtrac but I'm leaving this solution for anyone else arriving here after struggling like me. Good luck! |
Hello, I am trying to send between 2 LoRa modules connected with an Arduino Mega 2560 each. I tinkered around with various settings and currently I am using:
-setTxPower(20)
-LNA gain 0x01
-auto AGC to 0x00 (so that manual LNA gain is used)
-signalbandwidth(125E3)
-spreadingfactor(6) and I also tried spreadingfactor(12)
my Problem is that at the moment the sending and recieving only works within 3m or so and if I move further away I do not recieve anything. From an older post I found (#432) it could be a hardware problem which is why I attached my setup to this post.
The recieved RSSI value is always ~ -109
The recieved SNR is at 1.75 at close distance and decreases to up to -20 when far aways (setup with 25 bytes payload and Spreadingfactor 12 and distance ~10m)
How can I increase the range? What is the problem with my setup?
The text was updated successfully, but these errors were encountered: