Heltec V4 charging issue

未關閉
#3,993 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 2 天內回覆

還沒有人認領這個 Issue。

評估

難度
4/5
預估耗時
3-5 天
新手友好度
45/100
Issue 類型
缺陷
描述清晰度
基本清楚
活躍度
活躍
技術堆疊
c
領域
embedded-iot

研究方向

Start with the firmware paths that initialize Heltec V4 charging and read the battery state, then compare the board's power-switch behavior with the working Meshtastic setup. Reproduce the failure with USB connected, a depleted battery, and the switch moved from off to on. The work is done when the charging indicator and reported battery state behave correctly and the device does not enter sleep or shut down solely because USB power is present.

由索引模型根據 Issue 內容生成。

描述

Discovered this issue and not sure if there is a way I can fix it as I am no programmer.

I have a switch between the physical battery and the battery plug on the heltec v4 board.

Here are the symptoms:

  • switch off and usb plugged in - Meshcore runs fine
  • changing switch from off to on while usbc is plugged in (if battery is low, meshcore says dead battery and turns off or goes to super sleep mode). If battery is full enough, meshcore just states the battery percentage and doesn't charge (have tested while plugged in for several hours).
  • white light charging indicator doesn't flash for meshcore when battery and usb are plugged into the board.

I only know it is an issue because the same exact hardware with meshtastic charges fine.
In Meshtastic, the white light will flash occasionally, showing me the battery is charging (which is also shown on the screen and in the app).
Also in Meshtastic, if I have a dead battery and the usb is plugged in, it won't go to sleep mode or turn off like meshcore does.
This makes me believe it is a meshcore firmware issue and not a board or wiring or some other charging issue.

Thanks for looking into this or confirming this issue in advance (so I know I am not missing something).

主要語言
C
星號
3.9k
分支
1.5k
平均合併
2 天 19 小時
30 天內合併 PR
61

環境準備

這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

meshcore-dev/MeshCore 的其他 Issue

查看 meshcore-dev/MeshCore 的全部 Issue

相似的 Issue

更多 C Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。