Beta testing in progress
- Do NOT use for production or hard to reach devices
- You are welcome to test in your test devices and feedback to us the result
Down to 1mA with extra 50% less power consumption for coming winters
- Developed by IoTThinks and tested by our supportive MeshCore friends.
- Contribution to MeshCore: By IoTThinks.
- Source code: https://github.com/IoTThinks/MeshCore/tree/PowerSaving-v16
Credits
- Mr. Dom4n: More details at Added RX duty-cycle power saving support
- PowerSaving friends: For comprehensive testings.
Notices:
- GPS is not working in MeshCore mainline for RAK3401. Pending fix in PowerSaving 17.
Support Us
Instruction:
- Scroll down to bottom to download uf2 / upgrade.bin to upgrade or freshInstall-merged.bin for new devices.
- Heltec v4 bin files is for both Heltec v4.2 and v4.3. Heltec v4.3 bin files is for Heltec v4.3 only
- Heltec v4.3 and T096 have two options FEM RXgain on and FEM Rxgain off.
- Flash Custom Firmware as in INSTRUCTION.
- If your board is not at the bottom section, please request us at GITHUB
- Fast support: Discord
PowerSaving Features
[NEW] RX PowerSaving
- [NEW] RX PowerSaving (LoRa RX sleep) to keep power consumption of repeater down to 1mA. All other features would work as normal.
- [NEW] Better resistance to interferences from cell towers due to RX Sleep. During LoRa RX Sleep, LoRa will be waken up by preambles which are much likely from LoRa not other interferences. You may not need to do AGC reset
set radio.agc.reset 4any more. - TODO: To set
set radio.rxps balancedautomatically whenpowersaving on
PowerSaving and GPS PowerSaving
LoRa will sleep during RX, wake up on coming preambles and proccess LoRa packets:
- PowerSaving: [Repeater] CLI
powersaving on/offandpowersaving. [BLE Companion] Enabled by default. - GPS PowerSaving: [Repeater] CLI
powersaving on,gps onandgps. [BLE Companion] Enabled by default when enabling Position in MeshCore app.
Main CLIs:
- powersaving on
- gps off
- set radio.fem.rxgain off (for Heltec v4.3 and T096 only)
- powersaving on => set radio.rxps balanced (Recommended)=> set radio.rxps level 10 preamble 16 (Maximum sleep for best compability)
- set radio.rxps level 10 preamble 32 (Maximum sleep for MeshCore 1.16 devices only)
All CLIs
Adds RX power-saving configuration:
- set radio.rxps off
- set radio.rxps on
- set radio.rxps conservative: This is level 1 preamble 16
- set radio.rxps balanced: this is level 5 preamble 16
- set radio.rxps <1-10> or set radio.rxps level <1-10>: From least RX PowerSaving to maximum RX PowerSaving. Preample is either 16 (SF >8) or 32 (SF<=8)
- set radio.rxps level <1-10> preamble <16|32>: Preample 32 will only work with devices from MeshCore 1.16 / PowerSaving 16.
- set radio.rxps <rx_us> <sleep_us>
Adds status and diagnostic commands:
- get radio.rxps
- get rxps.wd: To know if any error / reset of LoRa radio due to RX PowerSaving.
Test Results
Test results are measured by Uni-T 890C 6000 counts:
- Heltec T096, 4.2 and 4.3 have external TX amplifier and comsume more power.
- In RX PowerSaving, the power current will fluctuate in the range. Estimated to save 30-50% of the power consumption compared to PowerSaving 16.
| Board | powersaving off set radio.rxps off | powersaving on set radio.rxps off | powersaving on set radio.rxps balanced | powersaving on set radio.rxps level 10 preamble 16 | Tested by |
|---|---|---|---|---|---|
| Heltec T096 repeater | 15.3mA | 9.1 mA | 4.6-8.8mA | 2.8-8.4mA | IoTThinks |
| Heltec T114 repeater | 14mA | 7.9mA | 3.4-7.5mA | 1.6-7.3mA | IoTThinks |
| Heltec v4.2 repeater (FEM always on) | 50mA | 14.5mA | 9.9-13.9mA | 8.0-13.4mA | IoTThinks |
| Heltec v4.3 repeater | - | - | - | - | IoTThinks |
| RAK4631 repeater | 8.8mA | 6.0mA | 2.4-5.8mA | 0.9-6.0mA | IoTThinks |
| ProMicro NRF52840 + SX1262 | 14mA | 7.9mA | 4.7-6.2mA | 2.6-4.7mA | user784213 |
| T-Echo Lite BLE companion | - | 9.6-13.4mA | 4.7-13.4mA | - | IoTThinks |
| T1000e BLE companion | - | 15-17mA via USB | 13-14mA via USB | - | IoTThinks |
- RAK4631, T114, T096 repeaters
- Heltec v4.2 repeaters
- Xiao NRF52 repeaters
Enjoy.