-
Notifications
You must be signed in to change notification settings - Fork 485
Fix heltec-v4 power consumption #1570
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
base: dev
Are you sure you want to change the base?
Conversation
This is the issue of OLED failed to off even at turnOff. Users reported power issues in powersaving on because the extra 26mA is too huge compared to expected 13mA total power consumption in low power mode.
So the last sensor does "claim", even after plus 1, the "claims" number is still negative and the vExt is still off? https://github.com/meshcore-dev/MeshCore/blob/dev/src/helpers/RefCountedDigitalPin.h#L23 |
#ifndef PIN_OLED_RESET
#define PIN_OLED_RESET 21 // Reset pin # (or -1 if sharing Arduino reset pin)
#endif
|
|
@IoTThinks If you have removed the OLED does this still cause more powerdraw? I would think if the oled is removed then it can't draw the additional power. Can this be confirmed? |
@mavericm1 A friend with no-oled heltec v4 has reported no issue. |
|
@Quency-D 1. Why OLED RESET need to pull LOW before release?
|
You don't need to physically remove the OLED to confirm. You can just build with DISPLAY_CLASS flag commented out, and power consumption will go back down to 11mA like in firmware v1.11.0 |
|
@Socalix Yah, true. I will test in free time. Thanks a lot. :) For now, I believe just fix the release() to avoid negative "claims" will fix this on/off issue of OLED. |
|
Yeah, I thought @mavericm1 was trying to confirm that the new OLED/TFT code was causing the extra power consumption. I agree your PR is nice and clean and a generic fix for other use cases. |
|
I was just confirming as I have a v4 deployed without the oled that was upgraded ota and it has a small battery and is not a easily accessible repeater
|



In this commit #1486, some users reported high power consumption during sleep mode. This commit optimizes power consumption during sleep mode.