-
Notifications
You must be signed in to change notification settings - Fork 992
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No battery detection in heltec devices #769
Comments
This issue has been mentioned on Meshtastic. There might be relevant details there: https://meshtastic.discourse.group/t/heltec-board-is-deep-discharging-batteries/1349/15 |
Closed as duplicate of #442 |
This issue has been mentioned on Meshtastic. There might be relevant details there: https://meshtastic.discourse.group/t/heltec-lora-32-usb-power-sensing-fixed/3237/11 |
This issue has been mentioned on Meshtastic. There might be relevant details there: https://meshtastic.discourse.group/t/meshtastic-device-1-2-49-5354c49-alpha/4502/5 |
Here is some output from
Note that there is no battery connected to the Heltec, but it shows a batteryLevel of 47. |
Additional Details here: #1025 |
This is a collection of all the assorted reports of wildly inconsistent behavior with the Heltec power detection. Now that Heltec devices have a variant file if someone wants to try and improve this it may be a good first step to replicate the battery detection logic from our RAK firmwares for Heltec and TLora boards. |
Describe the bug
Due to lack of battery recognition and voltage reading heltec devices does not use light sleep or any other power saving modes
To Reproduce
Steps to reproduce the behavior:
After uploading sketch battery level and power saving modes not available
Expected behavior
Read battery voltage and use power saving modes
Device info:
Additional context
Manufacturer did not documented battery recognition mechanism. After search and test here what we have:
battery_pin = GPIO37
ratio of voltage divider = 3.20 (R1=100k, R2=220k)
working sketch for battery level measurement:
[Link to thread on discourse] (https://meshtastic.discourse.group/t/heltec-board-is-deep-discharging-batteries/1349/13 )
The text was updated successfully, but these errors were encountered: