RAK4631 / RAK13302 1W repeater won't restart after battery discharge — persists in v1.18.0
Los mantenedores suelen responder en 2 días
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 49/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- c
- Área
- embedded-iot
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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
- Lenguaje dominante
- C
- Estrellas
- 3.9k
- Forks
- 1.5k
- Merge medio
- 2 d 7 h
- PR fusionados (30 d)
- 56
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de meshcore-dev/MeshCore
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
meshcore-dev/MeshCore#4015 ·
Los mantenedores suelen responder en 2 días
-
CMD_SET_DEFAULT_FLOOD_SCOPE leaves an older, longer name's tail after the new namePosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
meshcore-dev/MeshCore#3891 · 1 comentario ·
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 64/100
meshcore-dev/MeshCore#3826 ·
Los mantenedores suelen responder en 2 días
-
App Preset Australia: NTAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
meshcore-dev/MeshCore#3825 ·
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
meshcore-dev/MeshCore#3781 ·
Los mantenedores suelen responder en 2 días
Todos los issues de meshcore-dev/MeshCore
Issues similares
-
CF_CFDP_S_SendFileData computes the file checksum from the SB buffer after CFE_SB_TransmitBufferAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
-
needs triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
389ds/389-ds-base#8251 ·
Los mantenedores suelen responder en 1 día
-
bug data-types
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
ClickHouse/clickhouse-cpp#645 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
ROCm/hrx-system#3628 ·
Los mantenedores suelen responder en 1 día