Heltec V4 charging issue
Maintainers usually reply within 2 days
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 45/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- c
- Domain
- embedded-iot
Research direction
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.
Written by the indexing model from the issue text.
Description
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).
- Dominant language
- C
- Stars
- 3.9k
- Forks
- 1.5k
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 56
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from meshcore-dev/MeshCore
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
meshcore-dev/MeshCore#4015 ·
Maintainers usually reply within 2 days
-
CMD_SET_DEFAULT_FLOOD_SCOPE leaves an older, longer name's tail after the new namePossibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 1/5 Under an hour Newbie friendliness 88/100
meshcore-dev/MeshCore#3891 · 1 comment ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
meshcore-dev/MeshCore#3826 ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
meshcore-dev/MeshCore#3825 ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
meshcore-dev/MeshCore#3781 ·
Maintainers usually reply within 2 days
All issues in meshcore-dev/MeshCore
Similar issues
-
CF_CFDP_S_SendFileData computes the file checksum from the SB buffer after CFE_SB_TransmitBufferOpen
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
389ds/389-ds-base#8251 ·
Maintainers usually reply within 1 day
-
bug data-types
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
ClickHouse/clickhouse-cpp#645 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
ROCm/hrx-system#3628 ·
Maintainers usually reply within 1 day