Skip to content
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

Heltec Lora 32 V3 Display problem #171

Closed
pdevlin13 opened this issue Sep 3, 2024 · 13 comments
Closed

Heltec Lora 32 V3 Display problem #171

pdevlin13 opened this issue Sep 3, 2024 · 13 comments

Comments

@pdevlin13
Copy link

Hi Ricardo
If I use the web installer to flash a board, the display on the Heltec Lora 32 V3 works ok.
If I use Visual Studio Code with the latest software/firmware from Github the display does not show. All other functions and serial messages work fine. Just wanted to raise this now to prevent any potential problem carrying through to the next release.

Thanks
Paul.

@g3cwi
Copy link

g3cwi commented Sep 6, 2024

I found that too today. I finally got my unit going with the web installer.

@richonguzman
Copy link
Owner

the truth is that I dont know what happened with HELTEC v3 as they have been faulty with latest updates, but I presume its something with the controller of it in platformio, will try to analyze this soon

@pdevlin13
Copy link
Author

Hi Ricardo, I did have a go to try and work out what was going on. Strangely it seems to be calling the display class functions. I added some serial text, see below. I have added line numbers to the text to make it a bit clearer See lines highlighted in yellow.

Screenshot 2024-09-06 153707

@pdevlin13
Copy link
Author

I found that too today. I finally got my unit going with the web installer.

Hi Richard, although the display doesn't work, everything else seems to work fine. I just used APRS.fi to check my digipeater was up and running.
Paul

@pdevlin13
Copy link
Author

pdevlin13 commented Sep 6, 2024

Found a workaround :-)

, After a bit of Googling on HeItec V3,I realised that the board SCL, SDA pins were being used to initialise the OLED. Changed the code below, in Display.cpp, adding or HETLEC_V3 and also changed pins to OLED_SDA, OLED_SCL instead of BOARD_I2C_SDA, BOARD_I2C_SCL
The display now works for Heltec V3 but may break something else

Screenshot 2024-09-06 165200

@g3cwi
Copy link

g3cwi commented Sep 6, 2024

If we can turn off the display and the wifi AP after a delay, that should reduce the average current and make battery/solar operation, a lot easier.

@S57PNX
Copy link
Contributor

S57PNX commented Sep 6, 2024

@g3cwi, check my pull request #159

@kecsa
Copy link

kecsa commented Sep 9, 2024

Hi,
In the new version (09.02), the display became dark.
I2C initialization was missing in Display.cpp.
After
#ifdef OLED_DISPLAY_HAS_RST_PIN .......... #endif
I typed:
Wire.begin(OLED_SDA, OLED, SCL);
and that solved the problem.
Csaba

@richonguzman
Copy link
Owner

@pdevlin13 , @kecsa , @S57PNX , @g3cwi please test latest update (MAIN BRANCH) which should correct the issue (versionDate = 2024.09.10)

@pdevlin13
Copy link
Author

@pdevlin13 , @kecsa , @S57PNX , @g3cwi please test latest update (MAIN BRANCH) which should correct the issue (versionDate = 2024.09.10)

Thanks for the update Ricardo, unfortunately I am on vacation in Ireland for a couple of weeks and so I won’t be able to test until I get home
Thanks
Paul
MW0PDV

@kecsa
Copy link

kecsa commented Sep 11, 2024

Hi Ricardo,
I tested the 09.10. version.
It works great without any changes.
Thanks for the update and thanks for the great work.
Csaba.

@g3cwi
Copy link

g3cwi commented Sep 12, 2024

Tested. Working, thanks.

@richonguzman
Copy link
Owner

great!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants