RAK4631 / RAK13302 1W repeater won't restart after battery discharge — persists in v1.18.0

オープン
#3,883 コメント 7 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 2 日以内に返信

まだ誰も着手していません。

評価

難易度
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 mV
  • get 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:

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日 7時間
マージ済み PR(30日)
56

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

meshcore-dev/MeshCore のほかの issue

meshcore-dev/MeshCore の issue をすべて見る

似ている issue

C の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。