rxps: measured on the bench, documented, built into the public releases

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
tthandClaude Opus 5.5 committed 2026-11-12 16:53:44 +01:00
1 parent b06fd957b9
commit 0d3cb6051d
4 files changed
+95 -1

No files matched your search

+34 -1
View File
@@ -13,7 +13,7 @@ figures are.
| **GPS running continuously** | **46.0 mA** (spread 43.7-47.5) | `gps duty` recovers 42-45 of it |
| BLE advertising + Bluefruit's blinking LED | see below | defaults changed, LED off, 1 s interval |
| `powersaving on` (MCU light sleep) | **~1 mA, not separable from zero** | keep it on (free), but it is not a lever |
| RX duty cycle (EasySkyMesh "rxps") | ~2 mA on our SF7 preset | **not worth pre-release code** whose failure mode is a deaf repeater |
| RX duty cycle (`set radio.rxps`, from EasySkyMesh) | **~2.3 mA** at `max` (XIAO, 12. 11. 2026) | opt-in, off by default: worth it on a small panel, see below |
| `radio.rxgain off` | ~0.7 mA | **no** — 1-3 dB of sensitivity is what a mast node is for |
| FEM LNA control | n/a | SenseCap has no FEM, only an RXEN switch |
@@ -89,6 +89,39 @@ Bench boards keep both upstream behaviours (`-D RPT_BLE_CONN_LED=1`,
stands: ship with BLE **on**, verify the node on site, and only then turn it off
over the mesh — otherwise a node that does not come up has no way in.
## RX duty cycle (rxps)
Ported from EasySkyMesh PowerSaving v18 behind `-D WITH_RX_POWERSAVING` (the
public releases have it), SX1262 only, **off until set**. The radio listens in
short windows and sleeps between them, staying awake through a packet once it
hears a preamble; after three failed arms it falls back to continuous RX by
itself. Commands: `docs/cli_commands.md`, `radio.rxps`.
Measured 12. 11. 2026 on a XIAO nRF52840 + Wio-SX1262 (not the SenseCAP of
the rest of this page), bench preset 866.5 MHz / SF8 / BW62.5, fed at 5 V
through an INA226 (10 mOhm) read every 5 s; the only other load was a UC96 on
the XIAO's USB port. A/B/A/B, 15 min cells, the first 2 min of each dropped:
| cell | rxps | mean | median |
|---|---|---|---|
| 1 | off | 33.84 mA | 32.2 mA |
| 2 | max | 31.31 mA | 30.5 mA |
| 3 | off | 33.53 mA | 32.5 mA |
| 4 | max | 31.36 mA | 30.3 mA |
`max` (level 8) against the mean of its neighbours: **-2.4 / -2.2 mA**, pooled
-2.35 mA (medians -1.95 mA); off vs off differs by 0.3 mA, max vs max by
0.05 mA. That is the radio's share, so it carries over to other SX1262 boards
in absolute terms; the 33 mA base is this bench (meter, BLE advertising), not
a node. Behind the XIAO's linear regulator the battery sees the same current:
~7-8 mW at 3.3 V.
Reception: a 3-board zero-hop matrix (20 rounds, each link witnessed by
another board) lost 0/120 with rxps off, 1/120 at `on` (level 3) and 0/120 at
`max`; rxps stayed armed with no error counts. One loss in 120 is not
distinguishable from chance. Not measured: mixed SF/preamble senders, a busy
live mesh. On a mast, where 2 mA of ~24 is not the problem, leave it off.
## MCU sleep
`powersaving on` makes the nRF52 wait in WFE between events (it wakes on any