-
Notifications
You must be signed in to change notification settings - Fork 485
Add heltec v4-tft code. #1486
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
Add heltec v4-tft code. #1486
Conversation
|
@Quency-D Do you know if this PR could be impacting power consumption of the board? This line specifically is different from all other boards (variants/heltec_v4/target.cpp - Line 27): Could it be that the display keeps drawing power with this PR? |
In theory, it shouldn't affect power consumption, but just in case, you could explain how you specifically tested the power consumption so we can test it ourselves, or you could measure the state of the power control pin PIN_VEXT_EN=36 at low power consumption to see if it's correct. |
|
@Quency-D For Heltec v4, VEXT needs to be HIGH or LOW to power on the OLED and pepherials?
So this should be -D PIN_VEXT_EN_ACTIVE=HIGH instead of LOW. You may use a power meter or usb power meter to test. |
|
HI @IoTThinks , According to the schematic of v4.2, the control pin needs to be pulled low to enable the LDO and power the subsequent devices. |
|
@Socalix sent me a test firm on the 1.12 firmware with the v4 display PR fixed and it works. back to 11.2mA I'll let him share the firm when ready. |
|
This hot fix works. |
My quick fix for confirming this display PR is the cause for higher power consumption was simply turning off the DISPLAY_CLASS flag. I figured since it's for a repeater, @towerviewcams wouldn't mind it being off anyway. 😄 I think @IoTThinks is on the right path for a more global fix. |
|
@Socalix yes it worked and I dont mind the display off. We only use the display basal for the wifi antenna for OTA. All is working well until @IoTThinks has the professional fix. Thanks again for doing that, its playing so nicely at a high level repeater site. |





The previous commit #1118 for V4-tft enabled macros related to the env sensor, causing the OLED version to freeze at startup. Testing revealed this was due to issues with I2C usage, which has been fixed in #1456. Therefore, the v4-tft code has been resubmitted.