RAK4631 / RAK13302 1W repeater won't restart after battery discharge — persists in v1.18.0
Maintainer thường phản hồi trong vòng 2 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 49/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- c
- Lĩnh vực
- embedded-iot
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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
- Ngôn ngữ chính
- C
- Star
- 3.9k
- Fork
- 1.5k
- Merge trung bình
- 2 ngày 7 giờ
- Pull request đã merge (30 ngày)
- 56
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của meshcore-dev/MeshCore
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
meshcore-dev/MeshCore#4015 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
CMD_SET_DEFAULT_FLOOD_SCOPE leaves an older, longer name's tail after the new nameCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
meshcore-dev/MeshCore#3891 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
meshcore-dev/MeshCore#3826 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
App Preset Australia: NTĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
meshcore-dev/MeshCore#3825 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
meshcore-dev/MeshCore#3781 ·
Maintainer thường phản hồi trong vòng 2 ngày
Tất cả issue của meshcore-dev/MeshCore
Issue tương tự
-
CF_CFDP_S_SendFileData computes the file checksum from the SB buffer after CFE_SB_TransmitBufferĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
needs triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
389ds/389-ds-base#8251 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug data-types
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
ClickHouse/clickhouse-cpp#645 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
ROCm/hrx-system#3628 ·
Maintainer thường phản hồi trong vòng 1 ngày