Docs: power calculator -- solar by month (December first), board battery/panel, I2C sensors

Changelog: -
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
tthandClaude Opus 5.5 committed 2026-12-04 17:29:25 +01:00
1 parent d23beff8ac
commit 6a1d87679d
4 files changed
+216 -29

No files matched your search

+89 -4
View File
@@ -56,6 +56,26 @@
"en": "SX1262 datasheet (Semtech), not measured",
"cs": "datasheet SX1262 (Semtech), neměřeno"
},
"seeed-wiki": {
"url": "https://wiki.seeedstudio.com/meshtastic_solar_node/",
"en": "Seeed wiki, SenseCAP Solar Node: 5 W panel, P1-Pro 4x 18650 NMC 3350 mAh",
"cs": "Seeed wiki, SenseCAP Solar Node: panel 5 W, P1-Pro 4x 18650 NMC 3350 mAh"
},
"pvgis": {
"url": "https://re.jrc.ec.europa.eu/pvg_tools/en/",
"en": "PVGIS, Prague, optimal tilt, monthly mean - estimate",
"cs": "PVGIS, Praha, optimální sklon, měsíční průměr - odhad"
},
"power-flat": {
"url": "power.md#a-mast-that-runs-flat-bootlock-and-cutoff",
"en": "docs/power.md, a mast that runs flat",
"cs": "docs/power.md, stožár, který se vybije"
},
"sensor-code": {
"url": "",
"en": "src/helpers/sensors/EnvironmentSensorManager.cpp + datasheet, not measured",
"cs": "src/helpers/sensors/EnvironmentSensorManager.cpp + datasheet, neměřeno"
},
"estimate": {
"url": "",
"en": "rough estimate, not measured",
@@ -68,14 +88,25 @@
"en": "XIAO nRF52840 + Wio-SX1262 (fed on 3V3)",
"cs": "XIAO nRF52840 + Wio-SX1262 (napájené na 3V3)",
"gps": false,
"defaults": { "ble": "off", "gps": "off" }
"defaults": { "ble": "off", "gps": "off", "mah": 3000, "panel_w": 0 }
},
{
"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" }
"defaults": { "ble": "on", "gps": "duty", "mah": 13400, "panel_w": 5 },
"defaults_source": "seeed-wiki"
},
{
"id": "p1",
"en": "SenseCAP Solar P1 (no GPS, own 4x 18650)",
"cs": "SenseCAP Solar P1 (bez GPS, vlastní 4x 18650)",
"gps": false,
"like": "p1pro",
"_comment": "not measured: the P1-Pro without its GPS receiver, every number borrowed from the P1-Pro (an estimate); ships without cells",
"defaults": { "ble": "on", "gps": "off", "mah": 13400, "panel_w": 5 },
"defaults_source": "seeed-wiki"
}
],
"firmwares": [
@@ -262,8 +293,62 @@
}
},
"battery": {
"_comment": "defaults of the battery and solar inputs; efficiency and voltage are assumptions",
"_comment": "defaults of the battery inputs (a board's defaults win); efficiency and voltage are assumptions",
"mah": 3000, "usable_pct": 80, "voltage": 3.7,
"panel_w": 0, "sun_h": 2, "charge_eff_pct": 70
"panel_w": 0, "charge_eff_pct": 70
},
"solar": {
"_comment": [
"Equivalent full-sun hours per day (kWh/m2/day on the panel), by month, for a fixed",
"panel at the optimal tilt (38 deg, south) in Prague (50.08 N 14.42 E): PVGIS v5.2",
"MRcalc, H(i_opt)_m, mean of 2010-2020, divided by the days of the month (queried",
"4. 12. 2026). An ESTIMATE for a node: irradiation on the plane, before the losses",
"of the charger and cell (charge_eff_pct) and of a worse orientation (orientation).",
"night_h: hours without sun on the 15th of the month at 50 N (rounded), for the",
"check that the cell carries the night. default_month 12 = the worst month."
],
"source": "pvgis", "measured": false, "default_month": 12,
"sun_h": [1.48, 2.57, 3.88, 5.13, 5.14, 5.57, 5.58, 5.29, 4.33, 2.88, 1.72, 1.47],
"night_h": [15.6, 14.2, 12.3, 10.4, 8.7, 7.8, 8.2, 9.7, 11.5, 13.4, 15.1, 16.1],
"orientation": [
{ "id": "south", "en": "south", "cs": "jih", "factor": 1.0 },
{ "id": "eastwest", "en": "east / west", "cs": "východ / západ", "factor": 0.6 },
{ "id": "shade", "en": "heavy shade", "cs": "silný stín", "factor": 0.3 }
],
"orientation_source": "estimate",
"field_note_en": "one of our masts (remote-mast, panel facing east) lost ~50 mV a day from mid-November with consumption unchanged",
"field_note_cs": "jeden z našich stožárů (remote-mast, panel na východ) ztrácel od poloviny listopadu ~50 mV denně při nezměněné spotřebě",
"field_source": "power-flat"
},
"sensors": {
"_comment": [
"I2C sensors this firmware probes (src/helpers/sensors/EnvironmentSensorManager.cpp,",
"only builds with ENV_INCLUDE_*). Telemetry is read only when someone asks, so the",
"average is the chip's current between reads; a read itself (a few ms, rarely) is",
"left out. This fork puts every chip to sleep after init and triggers one",
"conversion per read; upstream (v1.19.0) leaves INA219/INA226/INA260/INA3221",
"converting continuously, BMP280 in normal mode and SHTC3 idle. A row with",
"firmware 'tth' is this fork, '*' every other firmware (MeshCore Czech assumed",
"to be upstream here). All values are datasheet ESTIMATES, nothing measured; the",
"bench measured only an idle I2C bus (TWIM, Wire.end()): +-0.00 mA, 3. 12. 2026.",
"Not listed: VL53L0X, BMP085, RAK12035 (not looked at)."
],
"unit": "mA", "source": "sensor-code", "measured": false,
"list": [
{ "id": "aht20", "name": "AHT10/AHT20", "tth": 0.00025, "*": 0.00025, "how": "sleep 0.25 uA between reads" },
{ "id": "bme280", "name": "BME280", "tth": 0.0001, "*": 0.0001, "how": "forced mode, sleep 0.1 uA" },
{ "id": "bmp280", "name": "BMP280", "tth": 0.0001, "*": 0.65, "how": "here forced (sleep 0.1 uA); upstream normal mode, 1 ms standby: converting almost all the time" },
{ "id": "bmp3xx", "name": "BMP388/390", "tth": 0.002, "*": 0.002, "how": "forced reads, sleep ~2 uA" },
{ "id": "bme680", "name": "BME680", "tth": 0.00015, "*": 0.00015, "how": "performReading per query, sleep 0.15 uA (heater only during a read)" },
{ "id": "bme680bsec", "name": "BME680 + BSEC", "tth": 0.9, "*": 0.9, "how": "BSEC low-power mode: gas heater every 3 s, all the time" },
{ "id": "shtc3", "name": "SHTC3", "tth": 0.0003, "*": 0.045, "how": "here asleep after init (0.3 uA); upstream idle until the first read (45 uA)" },
{ "id": "sht4x", "name": "SHT4x", "tth": 0.0004, "*": 0.0004, "how": "idle 0.4 uA between single-shot reads" },
{ "id": "lps22hb", "name": "LPS22HB", "tth": 0.001, "*": 0.001, "how": "one-shot, power-down 1 uA" },
{ "id": "ina219", "name": "INA219", "tth": 0.006, "*": 0.7, "how": "here power-down 6 uA; upstream continuous ~0.7 mA" },
{ "id": "ina226", "name": "INA226", "tth": 0.002, "*": 0.33, "how": "here shutdown <=2 uA; upstream continuous ~0.33 mA" },
{ "id": "ina260", "name": "INA260", "tth": 0.002, "*": 0.31, "how": "here shutdown <=2 uA; upstream continuous ~0.31 mA" },
{ "id": "ina3221", "name": "INA3221", "tth": 0.002, "*": 0.35, "how": "here power-down ~2 uA; upstream continuous ~0.35 mA" },
{ "id": "mlx90614", "name": "MLX90614", "tth": 1.3, "*": 1.3, "how": "no sleep in the driver, ~1.3 mA" }
]
}
}