Files
meshcore-tth/docs/power-calculator.md
T
2026-12-04 17:50:04 +01:00

4.2 KiB
Raw Blame History

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). The chemistry sets the usable share (Li-ion/NMC 80 %, LiFePO4 90 %), and the month's mean temperature (Czech uplands) takes off what the cold costs (~20 % at 0 °C, ~40 % at −20 °C after EastMesh; estimates).
  • Days without sun: whether the battery, full at the start, carries that many dark days (default 4; Voltaic recommends at least 4, EastMesh 3-5), and how many days of the month's surplus it takes to refill it afterwards.
  • Solar: W × equivalent full-sun hours of the chosen month × orientation × charging efficiency / battery voltage. The efficiency comes from the charger type (D-Central's presets: MPPT 70 %, PWM 55 %, linear 50 %; the SenseCAP Solar and the XIAO charge linearly). 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 %, a flat panel that snow covers 20-30 % in winter (estimates).

rxps: saves about 2 mA and hears fewer weak packets (13-28 % below 0 dB SNR, details). With other repeaters around that cover the same area it hardly matters; it does where the node is the only path.

Other calculators and guides / Jiné kalkulačky a návody

What this one adds: the per-option deltas measured on our bench, firmware against firmware, and what an option costs in reception. Co přidává tahle: rozdíly jednotlivých voleb změřené na naší lavici, srovnání firmwarů a cenu voleb v příjmu.

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.