Add CLI control to LoRa's fem LNA.#2140
Conversation
|
Solve this problem #2128. |
|
@Quency-D @IoTThinks I flashed the firmware from the pre compiled firmware. I'm not sure why Quency was telling me to run a python script? anyways, yes, thank you @IoTThinks, the cli commands work! I was going to try this first for sure. Powered on 4.3 board, LNA on and repeater working normal. noise floor -103, transmit power +28.3 dbm.....working normally. here we go- "set radio.fem.rxgain off" give me a reply "OK - LoRa FEM RX gain off" now to turn back on LNA- "set radio.fem.rxgain on" give me a reply "OK LoRa FEM RX gain on" Conclusion- Update |
Python scripts can be used for remote control, but it's also fine to control it directly like this. |
It worked great @Quency-D and thats what 99% of people will do. Things are coming along nicely. UPDATE I also found out that the LNA will stay in bypass even if I flash Powersaving 14 (no erase) after loading your test firmware. This way sleep is instant. I've been testing this all day since this morning when you contacted me on the other issue that was closed for this PR. Thank you for all your work on this sir! |
|
@towerviewcams So it will best fit you to have LNA on or off? |
@IoTThinks that depends on the repeater site. Most sites you can have it on, "IF" you have proper filtering and shielding. Having the ability to turn this on or off is SO PERFECT i cannot tell you how this will change everything deploying this board. I'm 60/40 that the LNA should be off. This will pretty much setup people to have a nice working repeater. Then, if they have the expertees on how to check for noise, have the proper equipment or just want to try it, then yes, turn it on. I understanding more of what your saying Kevin, I am. More people will benefit initially with it off, then on for a turn key build default. |
|
@towerviewcams Most of repeaters do not have proper filtering and shielding I guess. |
@IoTThinks I agree with you. I do, look up ^. I just really needed to think about what your saying on a more simplified safe scale for users. This would force more learning for those that don't understand what a LNA can truly do. |
It is currently being tested in heltec-v4.3 and can be configured remotely.
The Python script used is https://github.com/Quency-D/meshcore-cli/tree/lora-lna-cli, which will be further improved later.