richonguzman / LoRa_APRS_iGate

LoRa APRS iGATE for ESP32 Based Board with Rx + Tx capabilities
MIT License
239 stars 72 forks source link

Heltec Lora 32 V3 Display problem #171

Closed pdevlin13 closed 2 months ago

pdevlin13 commented 2 months ago

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 commented 2 months ago

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

richonguzman commented 2 months ago

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 commented 2 months ago

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 commented 2 months ago

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 commented 2 months ago

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 commented 2 months ago

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 commented 2 months ago

@g3cwi, check my pull request #159

kecsa commented 2 months ago

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 commented 2 months ago

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

pdevlin13 commented 2 months ago

@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 commented 2 months ago

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 commented 2 months ago

Tested. Working, thanks.

richonguzman commented 2 months ago

great!