RAK4631 / RAK13302 1W repeater won't restart after battery discharge — persists in v1.18.0
I maintainer di solito rispondono entro 2 giorni
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 49/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- c
- Ambito
- embedded-iot
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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
- Lingua principale
- C
- Stelle
- 3.9k
- Fork
- 1.5k
- Merge medio
- 2g 7h
- PR unite (30g)
- 56
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di meshcore-dev/MeshCore
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
meshcore-dev/MeshCore#4015 ·
I maintainer di solito rispondono entro 2 giorni
-
CMD_SET_DEFAULT_FLOOD_SCOPE leaves an older, longer name's tail after the new nameForse già presa Una pull request collegata a questa issue è aperta o già unita. Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
meshcore-dev/MeshCore#3891 · 1 commento ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 64/100
meshcore-dev/MeshCore#3826 ·
I maintainer di solito rispondono entro 2 giorni
-
App Preset Australia: NTAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
meshcore-dev/MeshCore#3825 ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
meshcore-dev/MeshCore#3781 ·
I maintainer di solito rispondono entro 2 giorni
Tutte le issue di meshcore-dev/MeshCore
Issue simili
-
CF_CFDP_S_SendFileData computes the file checksum from the SB buffer after CFE_SB_TransmitBufferAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
needs triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
389ds/389-ds-base#8251 ·
I maintainer di solito rispondono entro 1 giorno
-
bug data-types
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
ClickHouse/clickhouse-cpp#645 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
ROCm/hrx-system#3628 ·
I maintainer di solito rispondono entro 1 giorno