Jakub
7ff1b7c86b
fix(wio-tracker-l1): battery voltage reads high/jittery — divider always on
...
The per-read VBAT_ENABLE gating from 4d46abb2 (energy optimizations)
powered the battery voltage divider HIGH for only 10ms before each ADC
read, then LOW. 10ms is too short for the high-impedance divider node
to settle before the nRF52 SAADC samples it, so readings came out high
and inconsistent (e.g. 4.6-5.0V on a LiPo that maxes ~4.2V).
Hold VBAT_ENABLE HIGH continuously again (as before 4d46abb2 ) so the
node is always settled at sample time, and drop the toggle + delay(10)
from getBattMilliVolts(). Standby cost is ~2uA on the 2x1M divider,
negligible next to the device's mA-level draw.
The CPU-sleep and LED-off energy optimizations from 4d46abb2 are left
untouched — those are the real savings; only the VBAT gating is reverted.
2026-07-03 09:51:32 +02:00
..
2026-05-01 14:47:07 +10:00
2026-06-25 19:04:21 +02:00
2026-05-01 14:47:07 +10:00
2026-05-01 14:47:07 +10:00
2026-06-10 00:39:46 +02:00
2026-05-01 14:47:07 +10:00
2026-05-01 14:47:07 +10:00
2026-05-01 14:47:07 +10:00
2026-05-01 14:47:07 +10:00
2026-05-15 13:09:59 +02:00
2026-05-01 14:47:07 +10:00
2026-05-11 15:11:07 +08:00
2026-05-17 16:17:05 +08:00
2026-05-01 14:47:07 +10:00
2026-05-01 14:47:07 +10:00
2026-05-01 14:47:07 +10:00
2026-05-01 14:47:07 +10:00
2026-05-28 15:13:14 +07:00
2026-05-01 14:47:07 +10:00
2026-05-01 14:47:07 +10:00
2026-05-01 14:47:07 +10:00
2026-05-20 08:33:48 +02:00
2026-05-20 08:33:48 +02:00
2026-05-20 08:33:48 +02:00
2026-05-01 14:47:07 +10:00
2026-05-01 14:47:07 +10:00
2026-05-28 15:13:14 +07:00
2026-05-12 10:36:19 +12:00
2026-05-01 14:47:07 +10:00
2026-05-28 15:13:14 +07:00
2026-05-28 15:13:14 +07:00
2026-05-28 15:13:14 +07:00
2026-05-01 14:47:07 +10:00
2026-05-01 14:47:07 +10:00
2026-06-04 19:05:58 +10:00
2026-05-10 22:40:12 +10:00
2026-04-24 10:16:19 -07:00
2026-05-01 14:47:07 +10:00
2026-05-28 15:13:14 +07:00
2026-05-01 14:47:07 +10:00
2026-05-01 14:47:07 +10:00
2026-05-08 00:40:33 +10:00
2026-05-01 14:47:07 +10:00
2026-05-01 14:47:07 +10:00
2026-05-01 14:47:07 +10:00
2026-05-01 14:47:07 +10:00
2026-06-05 00:55:02 +10:00
2026-05-01 14:47:07 +10:00
2026-05-01 14:47:07 +10:00
2026-05-01 14:47:07 +10:00
2026-05-12 15:56:28 +02:00
2026-05-27 15:33:48 -06:00
2026-06-04 23:36:51 +10:00
2026-06-02 16:17:08 +10:00
2026-06-04 23:36:51 +10:00
2026-05-01 14:47:07 +10:00
2026-05-01 14:47:07 +10:00
2026-05-01 14:47:07 +10:00
2026-05-09 13:53:20 -07:00
2026-05-24 11:56:23 +02:00
2026-05-01 14:47:07 +10:00
2026-05-01 14:47:07 +10:00
2026-06-05 00:55:02 +10:00
2026-05-01 14:47:07 +10:00
2026-05-01 14:47:07 +10:00
2026-05-01 14:47:07 +10:00
2026-05-01 14:47:07 +10:00
2026-06-04 23:36:51 +10:00
2026-05-01 14:47:07 +10:00
2026-05-01 14:47:07 +10:00
2026-06-01 08:39:09 +02:00
2026-07-03 09:51:32 +02:00
2026-06-25 23:56:08 +02:00
2026-05-01 14:47:07 +10:00
2026-05-01 14:47:07 +10:00
2026-05-01 14:47:07 +10:00
2026-06-04 23:36:51 +10:00
2026-05-24 14:03:28 -07:00
2026-05-01 14:47:07 +10:00