Heltec Lora 32 V2 LCD not working #147

Closed
opened 2026-10-05 05:42:30 +02:00 by adam · 25 comments
Owner

Hi,
I installed version 2024.11.16 on a board Heltec Lora 32 V2 and the LCD is not working although it is configured.

"display": { "alwaysOn": true, "timeout": 5, "turn180": false },

2024-11-19_09h21_13

Hi, I installed version 2024.11.16 on a board Heltec Lora 32 V2 and the LCD is not working although it is configured. `"display": { "alwaysOn": true, "timeout": 5, "turn180": false },` ![2024-11-19_09h21_13](https://github.com/user-attachments/assets/aedd0205-05a3-470f-b3f5-ec23a4547610) <!-- github-sync-id:2671235145 -->
adam closed this issue 2026-10-05 05:42:30 +02:00
Author
Owner

hi @mprilepok ,

does all else work with you?

there are at least 2 versions which are common and one more not that not so common of this HELTEC v2 board. Heltec can have many versions of the same board.

can you double check which version of the Heltec V2 do you have? maybe it needs a pin correction and that's all

hi @mprilepok , does all else work with you? there are at least 2 versions which are common and one more not that not so common of this HELTEC v2 board. Heltec can have many versions of the same board. can you double check which version of the Heltec V2 do you have? maybe it needs a pin correction and that's all <!-- github-comment-id:2485234514 -->
Author
Owner

This is the board
Heltec WIFI Lora Kit 32 V2 433MHZ ESP32 LoRa SX1278 esp32 0.96 Inch OLED

PLATFORM: Espressif 32 (6.8.1) > Heltec WiFi LoRa 32 (V2)
HARDWARE: ESP32 240MHz, 320KB RAM, 8MB Flash

20241119_114254499_iOS
20241119_114303483_iOS

Wifi working, but lora seems to be broken.

This is the board Heltec WIFI Lora Kit 32 V2 433MHZ ESP32 LoRa SX1278 esp32 0.96 Inch OLED PLATFORM: Espressif 32 (6.8.1) > Heltec WiFi LoRa 32 (V2) HARDWARE: ESP32 240MHz, 320KB RAM, 8MB Flash ![20241119_114254499_iOS](https://github.com/user-attachments/assets/02d5e0d6-3a34-4cf8-832f-9e014634727b) ![20241119_114303483_iOS](https://github.com/user-attachments/assets/fff1ccc9-adb3-4ae8-846c-5cf4a11c5958) Wifi working, but lora seems to be broken. <!-- github-comment-id:2485614086 -->
Author
Owner

here are different versions of the same board: https://resource.heltec.cn/download/WiFi_LoRa_32

which one is the one of yours?

here are different versions of the same board: https://resource.heltec.cn/download/WiFi_LoRa_32 which one is the one of yours? <!-- github-comment-id:2485653544 -->
Author
Owner
this should be the board https://resource.heltec.cn/download/WiFi_LoRa_32/V2/WiFi_LoRa_32_V2(433%2C470-510).PDF <!-- github-comment-id:2485695793 -->
Author
Owner

can you flash it with github repository?

go into /src/display.cpp and change line 24 to look like this:

#if defined(HELTEC_V3) || defined(HELTEC_WS) || defined(HELTEC_V2)

and then just flash the firmware (with the arrow on platformio+vscode) to test?

can you flash it with github repository? go into /src/display.cpp and change line 24 to look like this: #if defined(HELTEC_V3) || defined(HELTEC_WS) || defined(HELTEC_V2) and then just flash the firmware (with the arrow on platformio+vscode) to test? <!-- github-comment-id:2485713802 -->
Author
Owner

It did not helped.

I tried other firmware for lora igate, which I used previously and it usus these settings for platformio.

board = ttgo-lora32-v1
build_flags = 
  ${esp32_base.build_flags} -DTLORA_V1 -DRESET_OLED=16 -DUSE_SX1278
It did not helped. I tried other firmware for lora igate, which I used previously and it usus these settings for platformio. ``` board = ttgo-lora32-v1 build_flags = ${esp32_base.build_flags} -DTLORA_V1 -DRESET_OLED=16 -DUSE_SX1278 ``` <!-- github-comment-id:2486037086 -->
Author
Owner

It did not helped.

I tried other firmware for lora igate, which I used previously and it usus these settings for platformio.

board = ttgo-lora32-v1
build_flags = 
  ${esp32_base.build_flags} -DTLORA_V1 -DRESET_OLED=16 -DUSE_SX1278

those are the same setting im using on this.

this is strange as others have confirmed it worked for them this way too.

you say oled and lora dont work?

can you show the messages it sends over Serial.output when booting after flashing firmware?

> It did not helped. > > I tried other firmware for lora igate, which I used previously and it usus these settings for platformio. > > ``` > board = ttgo-lora32-v1 > build_flags = > ${esp32_base.build_flags} -DTLORA_V1 -DRESET_OLED=16 -DUSE_SX1278 > ``` those are the same setting im using on this. this is strange as others have confirmed it worked for them this way too. you say oled and lora dont work? can you show the messages it sends over Serial.output when booting after flashing firmware? <!-- github-comment-id:2486052433 -->
Author
Owner

Starting Station: OM1PU-12 Version: 2024.11.16
(DigiEcoMode: OFF)
Initializing LoRa Module
init : LoRa Module ... done!

Connecting to WiFi 'RadioLAN_32B3' ...
.Connected as 192.168.1.60 / MAC Address: 78:21:84:99:76:10
Connecting to APRS-IS ... Connected!
(Server: euro.aprs2.net / Port: 14580)
-- Sending Beacon to APRSIS --
-- Sending Beacon to RF --
---> LoRa Packet Tx : OM1PU-12>APLRG1,WIDE1-1:!L6.N9Rk5Ea GLoRa iGATE & Digi
-- Sending Beacon to APRSIS --
-- Sending Beacon to RF --
---> LoRa Packet Tx : OM1PU-12>APLRG1,WIDE1-1:!L6.N9Rk5Ea GLoRa iGATE & Digi
<--- LoRa Packet Rx : OM1PU-11>APLRT1,WIDE1-1::OM1PU-11 :EQNS.0,0.01,0
(RSSI:-53 / SNR:9.50 / FreqErr:-3091)
---> Uploaded to APRS-IS
<--- LoRa Packet Rx : OM1PU-11>APLRT1,WIDE1-1::OM1PU-11 :UNIT.VDC
(RSSI:-53 / SNR:11.75 / FreqErr:-3085)
---> Uploaded to APRS-IS
---> LoRa Packet Tx : OM1PU-11>APLRT1,OM1PU-12*::OM1PU-11 :EQNS.0,0.01,0
---> LoRa Packet Tx : OM1PU-11>APLRT1,OM1PU-12*::OM1PU-11 :UNIT.VDC
Received Object from APRS-IS : OM0ODB-S>APDG01,TCPIP*,qAC,OM0ODB-GS:;OM0ODB B 191600z4810.66ND01702.78EaRNG0001/A=000098 70cm Voice (D-Star) 438.32500MHz -7.6000MHz
---> LoRa Packet Tx : OM1PU-12>APLRG1,WIDE1-1:}OM0ODB-S>APDG01,TCPIP,OM1PU-12
:;OM0ODB B 191600z4810.66ND01702.78EaRNG0001/A=000098 70cm Voice (D-Star) 438.32500MHz -7.6000MHz
<--- LoRa Packet Rx : OM1PU-11>APLRT1,WIDE1-1:>https://github.com/richonguzman/LoRa_APRS_Tracker 2024.09.18
(RSSI:-55 / SNR:10.00 / FreqErr:-3095)
---> Uploaded to APRS-IS
---> LoRa Packet Tx : OM1PU-11>APLRT1,OM1PU-12
:>https://github.com/richonguzman/LoRa_APRS_Tracker 2024.09.18
-- Sending Beacon to APRSIS --
-- Sending Beacon to RF --
---> LoRa Packet Tx : OM1PU-12>APLRG1,WIDE1-1:!L6.N9Rk5Ea GLoRa iGATE & Digi

Starting Station: OM1PU-12 Version: 2024.11.16 (DigiEcoMode: OFF) Initializing LoRa Module init : LoRa Module ... done! Connecting to WiFi 'RadioLAN_32B3' ... .Connected as 192.168.1.60 / MAC Address: 78:21:84:99:76:10 Connecting to APRS-IS ... Connected! (Server: euro.aprs2.net / Port: 14580) -- Sending Beacon to APRSIS -- -- Sending Beacon to RF -- ---> LoRa Packet Tx : OM1PU-12>APLRG1,WIDE1-1:!L6.N9Rk5Ea GLoRa iGATE & Digi -- Sending Beacon to APRSIS -- -- Sending Beacon to RF -- ---> LoRa Packet Tx : OM1PU-12>APLRG1,WIDE1-1:!L6.N9Rk5Ea GLoRa iGATE & Digi <--- LoRa Packet Rx : OM1PU-11>APLRT1,WIDE1-1::OM1PU-11 :EQNS.0,0.01,0 (RSSI:-53 / SNR:9.50 / FreqErr:-3091) ---> Uploaded to APRS-IS <--- LoRa Packet Rx : OM1PU-11>APLRT1,WIDE1-1::OM1PU-11 :UNIT.VDC (RSSI:-53 / SNR:11.75 / FreqErr:-3085) ---> Uploaded to APRS-IS ---> LoRa Packet Tx : OM1PU-11>APLRT1,OM1PU-12*::OM1PU-11 :EQNS.0,0.01,0 ---> LoRa Packet Tx : OM1PU-11>APLRT1,OM1PU-12*::OM1PU-11 :UNIT.VDC Received Object from APRS-IS : OM0ODB-S>APDG01,TCPIP*,qAC,OM0ODB-GS:;OM0ODB B *191600z4810.66ND01702.78EaRNG0001/A=000098 70cm Voice (D-Star) 438.32500MHz -7.6000MHz ---> LoRa Packet Tx : OM1PU-12>APLRG1,WIDE1-1:}OM0ODB-S>APDG01,TCPIP,OM1PU-12*:;OM0ODB B *191600z4810.66ND01702.78EaRNG0001/A=000098 70cm Voice (D-Star) 438.32500MHz -7.6000MHz <--- LoRa Packet Rx : OM1PU-11>APLRT1,WIDE1-1:>https://github.com/richonguzman/LoRa_APRS_Tracker 2024.09.18 (RSSI:-55 / SNR:10.00 / FreqErr:-3095) ---> Uploaded to APRS-IS ---> LoRa Packet Tx : OM1PU-11>APLRT1,OM1PU-12*:>https://github.com/richonguzman/LoRa_APRS_Tracker 2024.09.18 -- Sending Beacon to APRSIS -- -- Sending Beacon to RF -- ---> LoRa Packet Tx : OM1PU-12>APLRG1,WIDE1-1:!L6.N9Rk5Ea GLoRa iGATE & Digi <!-- github-comment-id:2486134840 -->
Author
Owner

now firmware is build with profile ttgo-lora32-v21

now firmware is build with profile ttgo-lora32-v21 <!-- github-comment-id:2486137848 -->
Author
Owner

I am using this settings, parsswords and ssid is removed
{ "callsign": "OM1PU-12", "wifi": { "autoAP": { "password": "1234567890", "timeout": 10 }, "AP": [ { "ssid": "my-ssid", "password": "password" } ] }, "beacon": { "latitude": 48.1631, "longitude": 17.0967, "comment": "LoRa iGATE & Digi", "interval": 15, "overlay": "L", "symbol": "a", "path": "WIDE1-1", "sendViaAPRSIS": true, "sendViaRF": true }, "aprs_is": { "active": true, "passcode": "00000", "server": "euro.aprs2.net", "port": 14580, "filter": "m/20", "messagesToRF": true, "objectsToRF": true }, "digi": { "mode": 3, "ecoMode": false }, "lora": { "txFreq": 433775000, "rxFreq": 433775000, "spreadingFactor": 12, "signalBandwidth": 125000, "codingRate4": 5, "power": 20, "txActive": true, "rxActive": true }, "display": { "alwaysOn": true, "timeout": 5, "turn180": false }, "battery": { "sendInternalVoltage": false, "monitorInternalVoltage": false, "internalSleepVoltage": 2.9, "sendExternalVoltage": false, "externalVoltagePin": 34, "monitorExternalVoltage": false, "externalSleepVoltage": 10.9, "voltageDividerR1": 100, "voltageDividerR2": 27, "sendVoltageAsTelemetry": true }, "wxsensor": { "active": false, "heightCorrection": 0, "temperatureCorrection": 0 }, "syslog": { "active": false, "server": "192.168.0.100", "port": 514 }, "tnc": { "enableServer": false, "enableSerial": false, "acceptOwn": false }, "ota": { "username": "", "password": "" }, "webadmin": { "username": "admin", "password": "" }, "ntp": { "gmtCorrection": 1 }, "other": { "rememberStationTime": 30, "lowPowerMode": false, "lowVoltageCutOff": 0, "backupDigiMode": false, "rebootMode": false, "rebootModeTime": 6 }, "personalNote": "" }

I am using this settings, parsswords and ssid is removed `{ "callsign": "OM1PU-12", "wifi": { "autoAP": { "password": "1234567890", "timeout": 10 }, "AP": [ { "ssid": "my-ssid", "password": "password" } ] }, "beacon": { "latitude": 48.1631, "longitude": 17.0967, "comment": "LoRa iGATE & Digi", "interval": 15, "overlay": "L", "symbol": "a", "path": "WIDE1-1", "sendViaAPRSIS": true, "sendViaRF": true }, "aprs_is": { "active": true, "passcode": "00000", "server": "euro.aprs2.net", "port": 14580, "filter": "m/20", "messagesToRF": true, "objectsToRF": true }, "digi": { "mode": 3, "ecoMode": false }, "lora": { "txFreq": 433775000, "rxFreq": 433775000, "spreadingFactor": 12, "signalBandwidth": 125000, "codingRate4": 5, "power": 20, "txActive": true, "rxActive": true }, "display": { "alwaysOn": true, "timeout": 5, "turn180": false }, "battery": { "sendInternalVoltage": false, "monitorInternalVoltage": false, "internalSleepVoltage": 2.9, "sendExternalVoltage": false, "externalVoltagePin": 34, "monitorExternalVoltage": false, "externalSleepVoltage": 10.9, "voltageDividerR1": 100, "voltageDividerR2": 27, "sendVoltageAsTelemetry": true }, "wxsensor": { "active": false, "heightCorrection": 0, "temperatureCorrection": 0 }, "syslog": { "active": false, "server": "192.168.0.100", "port": 514 }, "tnc": { "enableServer": false, "enableSerial": false, "acceptOwn": false }, "ota": { "username": "", "password": "" }, "webadmin": { "username": "admin", "password": "" }, "ntp": { "gmtCorrection": 1 }, "other": { "rememberStationTime": 30, "lowPowerMode": false, "lowVoltageCutOff": 0, "backupDigiMode": false, "rebootMode": false, "rebootModeTime": 6 }, "personalNote": "" }` <!-- github-comment-id:2486144789 -->
Author
Owner

so it is working with firmware and lora and wifi... only the oled is the problem?

so it is working with firmware and lora and wifi... only the oled is the problem? <!-- github-comment-id:2486152848 -->
Author
Owner

Yes, the oled is not working and i do not see igated trafic.

this id igate https://aprs.fi/info/OM1PU-12
and this is tracer https://aprs.fi/info/OM1PU-11

both devices are in rage.

Yes, the oled is not working and i do not see igated trafic. this id igate https://aprs.fi/info/OM1PU-12 and this is tracer https://aprs.fi/info/OM1PU-11 both devices are in rage. <!-- github-comment-id:2486176955 -->
Author
Owner

OM1PU-11 is tracker
OM1PU-12 is igate

what station is your heltec-v2 ?

OM1PU-11 is tracker OM1PU-12 is igate what station is your heltec-v2 ? <!-- github-comment-id:2486432863 -->
Author
Owner

OM1PU-12 is igate is running on heltec-v2

OM1PU-12 is igate is running on heltec-v2 <!-- github-comment-id:2486519332 -->
Author
Owner

OM1PU-12 is igate is running on heltec-v2

pass_code = 22783 ?

all the messages you got from serial output are only available because it got connected to aprs-is. servers

so now this is more strange

> OM1PU-12 is igate is running on heltec-v2 pass_code = 22783 ? all the messages you got from serial output are only available because it got connected to aprs-is. servers so now this is more strange <!-- github-comment-id:2486543665 -->
Author
Owner

yes, in the passcode there was an invisible char, now wifi and lora is working. Trafic is gated from rf to inet and visevera.

the one thing is broken, OLED is not working.

yes, in the passcode there was an invisible char, now wifi and lora is working. Trafic is gated from rf to inet and visevera. the one thing is broken, OLED is not working. <!-- github-comment-id:2486680315 -->
Author
Owner

yes, in the passcode there was an invisible char, now wifi and lora is working. Trafic is gated from rf to inet and visevera.

the one thing is broken, OLED is not working.

good news, so now we know that only this is missing... lets continue:

  1. did you test the board with other firmwares and does it work ?
  2. if (1) is yes, please tell me which link and firmware to compare exactly what to change or see to compare them
> yes, in the passcode there was an invisible char, now wifi and lora is working. Trafic is gated from rf to inet and visevera. > > the one thing is broken, OLED is not working. good news, so now we know that only this is missing... lets continue: 1) did you test the board with other firmwares and does it work ? 2) if (1) is yes, please tell me which link and firmware to compare exactly what to change or see to compare them <!-- github-comment-id:2486685762 -->
Author
Owner

Yes, previously i used FW from OE5BPA https://github.com/lora-aprs/LoRa_APRS_iGate
The FW was build for device profile tlora-v1

Yes, previously i used FW from OE5BPA https://github.com/lora-aprs/LoRa_APRS_iGate The FW was build for device profile tlora-v1 <!-- github-comment-id:2486694060 -->
Author
Owner

https://github.com/lora-aprs/LoRa_APRS_iGate

I know this firmware, but tlora-v1 is another board than yours... so now I'm more confused

> https://github.com/lora-aprs/LoRa_APRS_iGate I know this firmware, but tlora-v1 is another board than yours... so now I'm more confused <!-- github-comment-id:2486755599 -->
Author
Owner

i looked at the board under microscope, it looks like Heltec WiFi LoRa 32 V2 board https://docs.heltec.org/en/node/esp32/wifi_lora_32/hardware_update_log.html

i looked at the board under microscope, it looks like Heltec WiFi LoRa 32 V2 board https://docs.heltec.org/en/node/esp32/wifi_lora_32/hardware_update_log.html <!-- github-comment-id:2487915796 -->
Author
Owner

i validated all the pins and all I could: they are in the right position.

I've added a minor update to the main code: can you upload the latest from github (not from webflasher) just the firmware?

i validated all the pins and all I could: they are in the right position. I've added a minor update to the main code: can you upload the latest from github (not from webflasher) just the firmware? <!-- github-comment-id:2488730794 -->
Author
Owner

oled is still not working

oled is still not working <!-- github-comment-id:2489162360 -->
Author
Owner

oled is still not working

added one more thing to main repository: I thing I got it this time:

adding "|| defined(HELTEC_V2)" to /src/power_utils.cpp in line 208

please download the lates main from github and upload just firmware to validate

> oled is still not working added one more thing to main repository: I thing I got it this time: adding "|| defined(HELTEC_V2)" to /src/power_utils.cpp in line 208 please download the lates main from github and upload just firmware to validate <!-- github-comment-id:2489206402 -->
Author
Owner

You are king, It works.
20241120_201712855_iOS

You are king, It works. ![20241120_201712855_iOS](https://github.com/user-attachments/assets/fa107ac1-0adc-4c6b-9f76-1c21f2977150) <!-- github-comment-id:2489474177 -->
Author
Owner

Great news!!!! Finally

Great news!!!! Finally <!-- github-comment-id:2489504416 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/LoRa_APRS_iGate#147