Heltec V4 charging issue

Abierto
#3,993 1 comentario 0 reacciones 0 asignados Ver en GitHub

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
45/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
c
Área
embedded-iot

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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).

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

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de meshcore-dev/MeshCore

Todos los issues de meshcore-dev/MeshCore

Issues similares

Más issues de C

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.