RAK4631 / RAK13302 1W repeater won't restart after battery discharge — persists in v1.18.0
維護者通常 2 天內回覆
還沒有人認領這個 Issue。
評估
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 新手友好度
- 49/100
- Issue 類型
- 缺陷
- 描述清晰度
- 基本清楚
- 活躍度
- 活躍
- 技術堆疊
- c
- 領域
- embedded-iot
研究方向
Start by reading the nRF52 low-voltage boot protection changes mentioned for v1.18.0 and compare them with the earlier reports linked in the issue, especially #1629 and #2301. The report gives a reproducible battery discharge and recharge scenario on RAK4631/RAK13302 hardware, but does not identify relevant source files or tests. Done means the repeater restarts after battery voltage recovers without a manual reset.
由索引模型根據 Issue 內容生成。
描述
I'm having a problem with a solar-powered RAK 1W MeshCore repeater that I built for installation in Boston. When the batteries run down, the repeater stops operating, which isn't surprising. The problem is that it doesn't restart when the batteries recharge, even when their voltage returns to 4.0 V.
Pressing RESET once brings it back to life immediately.
I've reproduced this twice, first with MeshCore 1.17.1 and then with 1.18.0.
Hardware
- RAK19007 baseboard
- RAK3400/RAK4631 module
- RAK13302 1W amplifier
- CN3065 solar Li-ion charger
- Two protected Li-ion cells in parallel (1S2P), approximately 6600 mAh measured capacity
- CN3065 SYS OUT connected to the RAK19007 battery connector
- RAK13302 jumper set to IN_5V
The battery pack uses two new cells that I individually capacity-tested. I mention this because an earlier battery pack had much less capacity than advertised, and I initially suspected that was responsible for the problem.
First test — MeshCore v1.17.1-d929643
I disconnected the solar panel and let the repeater run on battery power until it stopped responding.
The last telemetry I received showed 3.50 V. The following morning, the batteries measured 3.160 V with my DVM, and I couldn't communicate with the repeater.
I reconnected the solar panel and let the batteries recharge without touching the RAK, connecting USB, or disconnecting the batteries.
Here are the measurements:
| Time | Battery voltage |
|---|---|
| 7:00 AM | 3.160 V |
| 9:31 AM | 3.489 V |
| 11:47 AM | 3.658 V |
| 1:50 PM | 3.760 V |
| 4:16 PM | 3.922 V |
The repeater remained unresponsive throughout, including at 3.922 V.
I then pressed RESET once. The repeater immediately started working again.
After restarting, the CLI reported:
get pwrmgt.bootmv: 3820 mVget pwrmgt.bootreason:Reset: Reset Pin; Shutdown: Unknown
Second test — MeshCore v1.18.0-81dbae5
I learned that v1.18.0 included changes to the low-voltage boot protection for nRF52 devices, so I updated the repeater using the official RAK WisMesh 1W Booster firmware.
The update went smoothly, and I verified that the repeater was sending and receiving packets normally.
I then repeated the experiment, disconnecting the solar input and allowing the batteries to discharge.
When I checked, the repeater was no longer responding, and the battery voltage was 3.234 V.
I reconnected the solar panel and let the batteries recharge.
At 3.855 V, there was still no response.
At 4.015 V, there was still no response.
I pressed RESET once, and the repeater started working immediately.
So the behavior was essentially identical with both firmware versions.
Battery voltage measurements
I also checked whether the battery voltage reported by MeshCore was reasonably accurate. With the repeater operating, I measured:
- 3.929 V directly at the battery terminals
- 3.920 V at the RAK19007 board
- 3.88 V reported by MeshCore
The firmware reading was about 40 mV below the voltage measured at the board, which seems reasonable.
During the recharge tests, I didn't observe any activity from the RAK LEDs, although the CN3065 charging indicator was working.
I checked radio communication using two different MeshCore companions. Both could communicate with another nearby RAK repeater, so I'm confident the lack of response wasn't a companion problem.
Similar reports
In looking into this, I found several reports that sound very much like what I'm experiencing:
- MeshCore issue #1629 — XIAO nRF brownout recovery
- MeshCore issue #2301 — Heltec T114 not restarting after battery depletion
- RAKwireless forum — RAK4631 solar charging and wake-up after cloudy weather
- EasySkyMesh discussion — Automatic Low-Battery Protection Mode for Repeaters
Questions
Is this a known problem with MeshCore on the RAK4631?
I understand that the low-voltage boot-lockout behavior was changed in v1.18.0, but that update hasn't made any difference in my tests.
I'm wondering whether the processor is entering a state during battery discharge that it can't recover from simply by restoring battery voltage. I haven't tried to determine what's happening internally.
Is there a firmware fix for this, or is one being worked on?
The repeater is intended for an unattended solar installation in Boston. If several cloudy days cause the batteries to run down, I need the repeater to restart when the sun comes back out. Having to visit the site to press RESET isn't a practical solution.
I'd appreciate any suggestions or information about whether this is being addressed.
Thanks. Mitch NK3H
- 主要語言
- C
- 星號
- 3.9k
- 分支
- 1.5k
- 平均合併
- 2 天 19 小時
- 30 天內合併 PR
- 61
環境準備
這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
meshcore-dev/MeshCore 的其他 Issue
-
難度 2/5 1-3 小時 新手友好度 70/100
meshcore-dev/MeshCore#4015 ·
維護者通常 2 天內回覆
-
CMD_SET_DEFAULT_FLOOD_SCOPE leaves an older, longer name's tail after the new name可能已有人在做 關聯的 PR 仍在進行中或已合併。 未關閉
難度 1/5 1 小時以內 新手友好度 88/100
meshcore-dev/MeshCore#3891 · 1 則留言 ·
維護者通常 2 天內回覆
-
難度 2/5 1-3 小時 新手友好度 64/100
meshcore-dev/MeshCore#3826 ·
維護者通常 2 天內回覆
-
難度 2/5 1-3 小時 新手友好度 68/100
meshcore-dev/MeshCore#3825 ·
維護者通常 2 天內回覆
-
難度 2/5 1-3 小時 新手友好度 78/100
meshcore-dev/MeshCore#3781 ·
維護者通常 2 天內回覆
查看 meshcore-dev/MeshCore 的全部 Issue
相似的 Issue
-
CF_CFDP_S_SendFileData computes the file checksum from the SB buffer after CFE_SB_TransmitBuffer未關閉
難度 2/5 1-3 小時 新手友好度 78/100
-
needs triage
難度 2/5 1-3 小時 新手友好度 72/100
389ds/389-ds-base#8251 ·
維護者通常 1 天內回覆
-
bug data-types
難度 2/5 1-3 小時 新手友好度 76/100
ClickHouse/clickhouse-cpp#645 ·
維護者通常 1 天內回覆
-
bug
難度 2/5 1-3 小時 新手友好度 85/100
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 68/100
ROCm/hrx-system#3628 ·
維護者通常 1 天內回覆