Changelog: - Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2.6 KiB
2.6 KiB
Power calculator / Kalkulačka spotřeby
Pick your board, firmware and settings; the calculator shows the expected average current and how long a battery lasts. Česky: přepínač „CZ" v kartě.
Note
The page is interactive on the docs site, https://tth-pub.pages.rfa.cz/meshcore-tth/power-calculator/ (a repository browser shows only this text).
How it computes
- Node: the measured whole-node current of the board and firmware closest to your settings, plus the measured delta of each setting that differs. A number borrowed from another board or firmware counts as an estimate; the result says how much of the total is measured.
- Traffic: packets × LoRa time on air (Semtech formula) × radio current. The presets are 30/10, 120/60 and 600/300 received/transmitted packets per hour; exact numbers, packet length, modulation and the (estimated) TX and RX currents are under Advanced.
- I2C sensors: what the chip draws between reads (telemetry is read only when asked), from its datasheet. This fork puts every sensor to sleep between reads; upstream leaves the INA219/226/260/3221 converting (0.3-0.7 mA each) and a BMP280 in normal mode. Estimates; only the idle bus itself was measured.
- Battery: usable mAh / (mA × 24 h). A board's choice fills in what it ships with (SenseCAP Solar P1-Pro: 4× 18650, 13 400 mAh, 5 W panel).
- Solar: W × equivalent full-sun hours of the chosen month × orientation × charging efficiency / battery voltage. Sun hours are PVGIS monthly means for Prague at the optimal tilt (December 1.5 h, June 5.6 h a day); the calculator opens on December, the worst month, and shows the balance of all twelve. East/west is taken as 60 %, heavy shade 30 % (estimates). How much that matters: one of our masts (remote-mast, panel facing east) lost ~50 mV a day from mid-November with consumption unchanged (details).
rxps is not free: it saves about 2 mA but loses 13-28 % of weak packets (details). Never on a mast.
Data
All numbers live in one file,
power-data.json,
each with board, date, source and whether it was measured; new measurements
are new rows there.