Changelog: - Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
270 lines
12 KiB
JSON
270 lines
12 KiB
JSON
{
|
|
"_comment": [
|
|
"Data of the power calculator (docs/power-calculator.md). The ONE place for",
|
|
"its numbers: the page reads this file, the JS holds no value. Every row of",
|
|
"`values` carries board, value, unit, date, source and measured; a new",
|
|
"measurement is a new row (or an edited one), no code change.",
|
|
"kind baseline: whole-node current of a board + firmware with the given",
|
|
"settings, no traffic. kind delta: change of current when `option` goes",
|
|
"from `from` to `to` on that board/firmware ('*' = not tied to a firmware);",
|
|
"value is a number or [min, max]. kind reception: what an option costs in",
|
|
"reception, shown next to it (short_*: the one-line warning). kind info: shown in the table only.",
|
|
"Settings start at the board's defaults, then the firmware's (as shipped).",
|
|
"The calculator picks the baseline whose settings are closest to the chosen",
|
|
"ones and adds the deltas of the rest; a delta borrowed from another board",
|
|
"or firmware is shown as an estimate."
|
|
],
|
|
"schema": 1,
|
|
"sources": {
|
|
"protocol-2026-12-04": {
|
|
"url": "measurements/2026-12-04-stock-vs-tth/protocol.md",
|
|
"en": "measurement protocol 4. 12. 2026 (stock vs this fork, k = 2)",
|
|
"cs": "protokol měření 4. 12. 2026 (upstream vs tento fork, k = 2)"
|
|
},
|
|
"bench-2026-12-04-czech": {
|
|
"url": "measurements/2026-12-04-stock-vs-tth/protocol.md",
|
|
"en": "bench 4. 12. 2026 (cells C and C2), protocol update pending",
|
|
"cs": "lavice 4. 12. 2026 (buňky C a C2), doplnění protokolu čeká"
|
|
},
|
|
"power-summary": {
|
|
"url": "power.md#summary-every-option-against-stock-firmware",
|
|
"en": "docs/power.md, summary table",
|
|
"cs": "docs/power.md, souhrnná tabulka"
|
|
},
|
|
"power-rxps": {
|
|
"url": "power.md#rx-duty-cycle-rxps",
|
|
"en": "docs/power.md, RX duty cycle (bench 4. 12. 2026, #46)",
|
|
"cs": "docs/power.md, RX duty cycle (lavice 4. 12. 2026, #46)"
|
|
},
|
|
"power-gps": {
|
|
"url": "power.md#gps-is-the-whole-game",
|
|
"en": "docs/power.md, GPS",
|
|
"cs": "docs/power.md, GPS"
|
|
},
|
|
"power-ble": {
|
|
"url": "power.md#ble-two-defaults-that-were-quietly-expensive",
|
|
"en": "docs/power.md, BLE",
|
|
"cs": "docs/power.md, BLE"
|
|
},
|
|
"power-nrf52": {
|
|
"url": "power.md#nrf52-sleep-and-peripheral-fixes",
|
|
"en": "docs/power.md, nRF52 fixes",
|
|
"cs": "docs/power.md, opravy nRF52"
|
|
},
|
|
"sx1262-datasheet": {
|
|
"url": "",
|
|
"en": "SX1262 datasheet (Semtech), not measured",
|
|
"cs": "datasheet SX1262 (Semtech), neměřeno"
|
|
},
|
|
"estimate": {
|
|
"url": "",
|
|
"en": "rough estimate, not measured",
|
|
"cs": "hrubý odhad, neměřeno"
|
|
}
|
|
},
|
|
"boards": [
|
|
{
|
|
"id": "xiao",
|
|
"en": "XIAO nRF52840 + Wio-SX1262 (fed on 3V3)",
|
|
"cs": "XIAO nRF52840 + Wio-SX1262 (napájené na 3V3)",
|
|
"gps": false,
|
|
"defaults": { "ble": "off", "gps": "off" }
|
|
},
|
|
{
|
|
"id": "p1pro",
|
|
"en": "SenseCAP Solar P1-Pro (nRF52840 + SX1262 + L76K GPS)",
|
|
"cs": "SenseCAP Solar P1-Pro (nRF52840 + SX1262 + GPS L76K)",
|
|
"gps": true,
|
|
"defaults": { "ble": "on", "gps": "duty" }
|
|
}
|
|
],
|
|
"firmwares": [
|
|
{
|
|
"id": "tth",
|
|
"en": "this fork (meshcore-tth public release)",
|
|
"cs": "tento fork (veřejný release meshcore-tth)",
|
|
"options": ["powersaving", "rxps", "rxgain", "ble", "gps"],
|
|
"defaults": { "powersaving": "on", "rxps": "off", "rxgain": "on" }
|
|
},
|
|
{
|
|
"id": "stock",
|
|
"en": "upstream MeshCore v1.19.0",
|
|
"cs": "upstream MeshCore v1.19.0",
|
|
"options": ["powersaving", "rxgain", "ble", "gps"],
|
|
"defaults": { "powersaving": "off", "rxps": "off", "rxgain": "on" }
|
|
},
|
|
{
|
|
"id": "czech",
|
|
"en": "MeshCore Czech v1.19.0.01",
|
|
"cs": "MeshCore Czech v1.19.0.01",
|
|
"options": ["powersaving", "rxps", "rxgain", "ble", "gps"],
|
|
"defaults": { "powersaving": "on", "rxps": "balanced", "rxgain": "on" }
|
|
}
|
|
],
|
|
"settings": {
|
|
"powersaving": ["on", "off"],
|
|
"rxps": ["off", "balanced", "max"],
|
|
"rxgain": ["on", "off"],
|
|
"ble": ["off", "on"],
|
|
"gps": ["off", "duty", "on"]
|
|
},
|
|
"values": [
|
|
{
|
|
"kind": "baseline", "board": "xiao", "firmware": "tth",
|
|
"settings": { "powersaving": "on", "rxps": "off", "rxgain": "on", "ble": "off", "gps": "off" },
|
|
"value": 6.87, "uncertainty": 0.08, "unit": "mA", "voltage": 3.26,
|
|
"date": "2026-12-04", "source": "protocol-2026-12-04", "measured": true
|
|
},
|
|
{
|
|
"kind": "baseline", "board": "xiao", "firmware": "stock",
|
|
"settings": { "powersaving": "on", "rxps": "off", "rxgain": "on", "ble": "off", "gps": "off" },
|
|
"value": 7.27, "uncertainty": 0.09, "unit": "mA", "voltage": 3.26,
|
|
"date": "2026-12-04", "source": "protocol-2026-12-04", "measured": true
|
|
},
|
|
{
|
|
"kind": "baseline", "board": "xiao", "firmware": "stock",
|
|
"settings": { "powersaving": "off", "rxps": "off", "rxgain": "on", "ble": "off", "gps": "off" },
|
|
"value": 10.13, "uncertainty": 0.12, "unit": "mA", "voltage": 3.26,
|
|
"date": "2026-12-04", "source": "protocol-2026-12-04", "measured": true
|
|
},
|
|
{
|
|
"kind": "baseline", "board": "xiao", "firmware": "czech",
|
|
"settings": { "powersaving": "on", "rxps": "off", "rxgain": "on", "ble": "off", "gps": "off" },
|
|
"value": 7.35, "unit": "mA", "voltage": 3.26,
|
|
"date": "2026-12-04", "source": "bench-2026-12-04-czech", "measured": true
|
|
},
|
|
{
|
|
"kind": "baseline", "board": "xiao", "firmware": "czech",
|
|
"settings": { "powersaving": "on", "rxps": "balanced", "rxgain": "on", "ble": "off", "gps": "off" },
|
|
"value": 5.45, "approx": true, "unit": "mA", "voltage": 3.26,
|
|
"date": "2026-12-04", "source": "bench-2026-12-04-czech", "measured": true
|
|
},
|
|
{
|
|
"kind": "baseline", "board": "p1pro", "firmware": "tth",
|
|
"settings": { "powersaving": "on", "rxps": "off", "rxgain": "on", "ble": "on", "gps": "duty" },
|
|
"value": 24, "approx": true, "unit": "mA", "voltage": 5.0,
|
|
"note_en": "mast configuration, 5 V USB side, charged cell",
|
|
"note_cs": "konfigurace stožáru, strana 5 V USB, nabitý článek",
|
|
"date": "2026-08", "source": "power-summary", "measured": true
|
|
},
|
|
|
|
{
|
|
"kind": "delta", "option": "powersaving", "from": "off", "to": "on",
|
|
"board": "xiao", "firmware": "stock",
|
|
"value": -2.86, "unit": "mA", "date": "2026-12-04",
|
|
"source": "protocol-2026-12-04", "measured": true
|
|
},
|
|
{
|
|
"kind": "delta", "option": "powersaving", "from": "off", "to": "on",
|
|
"board": "xiao", "firmware": "tth",
|
|
"value": -2.7, "unit": "mA", "date": "2026-11",
|
|
"source": "power-summary", "measured": true
|
|
},
|
|
{
|
|
"kind": "delta", "option": "rxps", "from": "off", "to": "balanced",
|
|
"board": "xiao", "firmware": "tth",
|
|
"value": [-2.0, -1.8], "unit": "mA", "date": "2026-11",
|
|
"source": "power-rxps", "measured": true
|
|
},
|
|
{
|
|
"kind": "delta", "option": "rxps", "from": "off", "to": "max",
|
|
"board": "xiao", "firmware": "tth",
|
|
"value": [-2.5, -2.3], "unit": "mA", "date": "2026-11",
|
|
"source": "power-rxps", "measured": true
|
|
},
|
|
{
|
|
"kind": "delta", "option": "rxgain", "from": "on", "to": "off",
|
|
"board": "xiao", "firmware": "tth",
|
|
"value": [-0.51, -0.45], "unit": "mA", "date": "2026-11",
|
|
"source": "power-nrf52", "measured": true
|
|
},
|
|
{
|
|
"kind": "delta", "option": "ble", "from": "on", "to": "off",
|
|
"board": "p1pro", "firmware": "tth",
|
|
"value": -1, "approx": true, "unit": "mA", "date": "2026-08",
|
|
"source": "power-ble", "measured": true
|
|
},
|
|
{
|
|
"kind": "delta", "option": "gps", "from": "duty", "to": "on",
|
|
"board": "p1pro", "firmware": "*",
|
|
"value": [42, 45], "unit": "mA", "date": "2026-08",
|
|
"note_en": "receiver 46 mA continuous; gps duty saves 42-45 mA of it",
|
|
"note_cs": "přijímač 46 mA trvale; gps duty z toho ušetří 42-45 mA",
|
|
"source": "power-gps", "measured": true
|
|
},
|
|
{
|
|
"kind": "delta", "option": "gps", "from": "duty", "to": "off",
|
|
"board": "p1pro", "firmware": "*",
|
|
"value": [-4, -1], "unit": "mA", "date": "2026-08",
|
|
"note_en": "derived: 46 mA minus the 42-45 mA duty saves",
|
|
"note_cs": "dopočteno: 46 mA minus 42-45 mA, které ušetří duty",
|
|
"source": "power-gps", "measured": false
|
|
},
|
|
|
|
{
|
|
"kind": "reception", "option": "rxps", "to": "balanced",
|
|
"short_en": "loses 13-28 % of weak packets; not for a mast",
|
|
"short_cs": "ztratí 13-28 % slabých paketů; ne na stožár",
|
|
"en": "loses 13-28 % of weak packets (SNR -2..-8) against 0 % without rxps; strong signal 0 lost. Not for a mast.",
|
|
"cs": "ztratí 13-28 % slabých paketů (SNR -2..-8) proti 0 % bez rxps; silný signál 0 ztrát. Ne na stožár.",
|
|
"date": "2026-12-04", "source": "power-rxps", "measured": true
|
|
},
|
|
{
|
|
"kind": "reception", "option": "rxps", "to": "max",
|
|
"short_en": "loses 13-28 % of weak packets or more; not for a mast",
|
|
"short_cs": "ztratí 13-28 % slabých paketů i víc; ne na stožár",
|
|
"en": "as balanced or worse: 13-28 % of weak packets lost; on a live mast -16 % received. Not for a mast.",
|
|
"cs": "jako balanced nebo hůř: ztráta 13-28 % slabých paketů; na ostrém stožáru -16 % přijatých. Ne na stožár.",
|
|
"date": "2026-12-04", "source": "power-rxps", "measured": true
|
|
},
|
|
{
|
|
"kind": "reception", "option": "rxgain", "to": "off",
|
|
"short_en": "~1-3 dB less sensitive (datasheet, not measured)",
|
|
"short_cs": "citlivost o ~1-3 dB horší (datasheet, neměřeno)",
|
|
"en": "costs ~1-3 dB of sensitivity (datasheet, not measured).",
|
|
"cs": "stojí ~1-3 dB citlivosti (datasheet, neměřeno).",
|
|
"source": "sx1262-datasheet", "measured": false
|
|
},
|
|
|
|
{
|
|
"kind": "info", "option": "dcdc", "board": "xiao", "firmware": "tth",
|
|
"en": "DC/DC regulator off (all firmwares have it on)",
|
|
"cs": "DC/DC regulátor vypnutý (všechny firmwary ho mají zapnutý)",
|
|
"value": 0.6, "unit": "mA", "voltage": 3.3, "date": "2026-11",
|
|
"source": "power-nrf52", "measured": true
|
|
}
|
|
],
|
|
"traffic": {
|
|
"_comment": "Defaults of the traffic inputs and the current the radio adds while it transmits/receives. All of it is an ESTIMATE the reader can overwrite on the page.",
|
|
"presets": [
|
|
{ "id": "quiet", "en": "quiet node", "cs": "klidný uzel", "rx_per_h": 30, "tx_per_h": 10 },
|
|
{ "id": "normal", "en": "normal node", "cs": "běžný uzel", "rx_per_h": 120, "tx_per_h": 60 },
|
|
{ "id": "busy", "en": "busy node", "cs": "rušný uzel", "rx_per_h": 600, "tx_per_h": 300 }
|
|
],
|
|
"defaults": {
|
|
"preset": "normal", "payload": 60,
|
|
"sf": 7, "bw": 62.5, "cr": 5, "preamble": 16, "tx_dbm": 22
|
|
},
|
|
"rx_extra": {
|
|
"value": 3, "unit": "mA", "measured": false, "source": "estimate",
|
|
"en": "extra current while a packet is being received (radio held in RX, MCU awake)",
|
|
"cs": "proud navíc po dobu příjmu paketu (rádio drženo v RX, MCU vzhůru)"
|
|
},
|
|
"tx_current": {
|
|
"_comment": "radio current in TX by output power; the page interpolates linearly in dBm. 14 and 22 dBm are datasheet figures, the rest a guess.",
|
|
"unit": "mA", "voltage": 3.3,
|
|
"points": [
|
|
{ "dbm": -9, "value": 15, "measured": false, "source": "estimate" },
|
|
{ "dbm": 0, "value": 20, "measured": false, "source": "estimate" },
|
|
{ "dbm": 14, "value": 45, "measured": false, "source": "sx1262-datasheet" },
|
|
{ "dbm": 22, "value": 118, "measured": false, "source": "sx1262-datasheet" }
|
|
]
|
|
}
|
|
},
|
|
"battery": {
|
|
"_comment": "defaults of the battery and solar inputs; efficiency and voltage are assumptions",
|
|
"mah": 3000, "usable_pct": 80, "voltage": 3.7,
|
|
"panel_w": 0, "sun_h": 2, "charge_eff_pct": 70
|
|
}
|
|
}
|