# Any one knows for support for heltec\_wifi\_lora\_32\_V3?

**URL:** <https://www.thethingsnetwork.org/forum/t/any-one-knows-for-support-for-heltec-wifi-lora-32-v3/64068>\
**Category:** LMIC\
**Created:** [July 24, 2023, 3:53pm UTC](https://www.thethingsnetwork.org/forum/t/any-one-knows-for-support-for-heltec-wifi-lora-32-v3/64068 "2023-07-24T15:53:19Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![idealumesh](https://www.thethingsnetwork.org/forum/letter_avatar_proxy/v4/letter/i/f14d63/32.png) [@idealumesh](https://www.thethingsnetwork.org/forum/u/idealumesh)\
**Post date:** [July 24, 2023, 3:53pm UTC](https://www.thethingsnetwork.org/forum/t/any-one-knows-for-support-for-heltec-wifi-lora-32-v3/64068/1 "2023-07-24T15:53:19Z")

</div>

I tried with V2 LMIC on V3 board ( heltec\_wifi\_lora\_32\_V3) it did not worked. Any help will be appreciated

---

<div class="post-metadata">

**Author:** ![pnwas\_jswttn](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/pnwas_jswttn/32/35697_2.png) [@pnwas\_jswttn](https://www.thethingsnetwork.org/forum/u/pnwas_jswttn)\
**Post date:** [July 24, 2023, 10:18pm UTC](https://www.thethingsnetwork.org/forum/t/any-one-knows-for-support-for-heltec-wifi-lora-32-v3/64068/2 "2023-07-24T22:18:09Z")

</div>

Heltec Wifi LoRa V3 uses the Semtech SX1262 transceiver and LMIC library currently only supports the SX1272/1276/127x parts.

To use V3 board I have been experimenting with

[https://github.com/beegee-tokyo/SX126x-Arduino](https://github.com/beegee-tokyo/SX126x-Arduino)

and configured the SPI interface with the following:

#ifdef ESP32  
// ESP32 - SX126x pin configuration - Heltec V3  
int PIN\_LORA\_RESET = 12 ; // LORA RESET  
int PIN\_LORA\_DIO\_1 = 14; // LORA DIO\_1  
int PIN\_LORA\_BUSY = 13; // LORA SPI BUSY  
int PIN\_LORA\_NSS = 8; // LORA SPI CS  
int PIN\_LORA\_SCLK = 9; // LORA SPI CLK  
int PIN\_LORA\_MISO = 11; // LORA SPI MISO  
int PIN\_LORA\_MOSI = 10; // LORA SPI MOSI  
int RADIO\_TXEN = -1; // LORA ANTENNA TX ENABLE  
int RADIO\_RXEN = -1; // LORA ANTENNA RX ENABLE  
#endif

---

<div class="post-metadata">

**Author:** ![bluejedi](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/bluejedi/32/44639_2.png) [@bluejedi](https://www.thethingsnetwork.org/forum/u/bluejedi)\
**Post date:** [July 28, 2023, 8:03pm UTC](https://www.thethingsnetwork.org/forum/t/any-one-knows-for-support-for-heltec-wifi-lora-32-v3/64068/3 "2023-07-28T20:03:13Z")

</div>

Heltec provides their own proprietary LoRaWAN library for their products, which appears to be an ESP32 specific implementation/spin-off of LoRaMAC-node.  
I guess that it will also support their SX1262 based board(s).

Check their website for more information.

---

<div class="post-metadata">

**Author:** ![tludewig](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/tludewig/32/47194_2.png) [@tludewig](https://www.thethingsnetwork.org/forum/u/tludewig)\
**Post date:** [January 15, 2025, 4:11pm UTC](https://www.thethingsnetwork.org/forum/t/any-one-knows-for-support-for-heltec-wifi-lora-32-v3/64068/4 "2025-01-15T16:11:09Z")

</div>

[GitHub - thorsten-l/ESP32-HELTEC-LoRa-TTN-OTAA: Sample LoRaWAN code for HELTEC WiFi LoRa V2 and V3 boards using PlatformIO](https://github.com/thorsten-l/ESP32-HELTEC-LoRa-TTN-OTAA) my working sample code using PlatformIO

---

<div class="post-metadata">

**Author:** ![descartes](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/descartes/32/47220_2.png) [@descartes](https://www.thethingsnetwork.org/forum/u/descartes)\
**Post date:** [January 15, 2025, 6:14pm UTC](https://www.thethingsnetwork.org/forum/t/any-one-knows-for-support-for-heltec-wifi-lora-32-v3/64068/5 "2025-01-15T18:14:18Z")

</div>

The general principle is fine, but this bit, not so much:

> AppEUI, DevEUI, and AppKey will be randomly generated and permanently stored in the NVS Memory. Under normal circumstances, they will never change.

There are clear guidelines for the generation of EUI’s.

This bit is a bit scary:

> -DLORAWAN\_PREAMBLE\_LENGTH=8

But this is in breach of the Fair Use Policy - if you are doing this, please stop and read up on it and it is inappropriate to publish a library that starts out with a breach of FUP.

> #define PREFS\_SLEEPTIME\_DEFAULT\_VALUE 60000

Please adjust and then re-post on a new topic.

---

<div class="post-metadata">

**Author:** ![descartes](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/descartes/32/47220_2.png) [@descartes](https://www.thethingsnetwork.org/forum/u/descartes)\
**Post date:** [January 15, 2025, 6:14pm UTC](https://www.thethingsnetwork.org/forum/t/any-one-knows-for-support-for-heltec-wifi-lora-32-v3/64068/6 "2025-01-15T18:14:24Z")

</div>



---

<div class="post-metadata">

**Author:** ![tludewig](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/tludewig/32/47194_2.png) [@tludewig](https://www.thethingsnetwork.org/forum/u/tludewig)\
**Post date:** [January 15, 2025, 7:51pm UTC](https://www.thethingsnetwork.org/forum/t/any-one-knows-for-support-for-heltec-wifi-lora-32-v3/64068/7 "2025-01-15T19:51:06Z")

</div>

OK – I now understand the problem with randomly generated EUIs. I will modify the code so that the values can be entered via the serial interface and then stored in the NVS.  
The PREFS\_SLEEPTIME\_DEFAULT\_VALUE is now set to 1200000ms (20 min).  
Why is the LORAWAN\_PREAMBLE\_LENGTH=8 scary? I got this value as the default value  
from the Arduino IDE.  
The most important goal, however, has already been achieved with this code: it works with the HELTEC WiFi Lora 32 V2 and V3 boards using PlatformIO. 😉

---

<div class="post-metadata">

**Author:** ![descartes](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/descartes/32/47220_2.png) [@descartes](https://www.thethingsnetwork.org/forum/u/descartes)\
**Post date:** [January 15, 2025, 10:15pm UTC](https://www.thethingsnetwork.org/forum/t/any-one-knows-for-support-for-heltec-wifi-lora-32-v3/64068/8 "2025-01-15T22:15:56Z")

</div>

> [@tludewig](#):
>
> I will modify the code so that the values can be entered via the serial interface and then stored in the NVS.

Most times people just enter what they want in to the code

> [@tludewig](#):
>
> Why is the LORAWAN\_PREAMBLE\_LENGTH=8 scary? I got this value as the default value  
> from the Arduino IDE.

Because it allows people to change it, which would then cause issues which would then cause support questions.

> [@tludewig](#):
>
> The most important goal, however, has already been achieved with this code: it works with the HELTEC WiFi Lora 32 V2 and V3 boards using PlatformIO. 😉

Absolutely - a useful alternative to LMIC & RadioLib

---

<div class="post-metadata">

**Author:** ![descartes](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/descartes/32/47220_2.png) [@descartes](https://www.thethingsnetwork.org/forum/u/descartes)\
**Post date:** [January 15, 2025, 10:16pm UTC](https://www.thethingsnetwork.org/forum/t/any-one-knows-for-support-for-heltec-wifi-lora-32-v3/64068/9 "2025-01-15T22:16:00Z")

</div>



---

<div class="post-metadata">

**Author:** ![tludewig](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/tludewig/32/47194_2.png) [@tludewig](https://www.thethingsnetwork.org/forum/u/tludewig)\
**Post date:** [January 16, 2025, 6:11am UTC](https://www.thethingsnetwork.org/forum/t/any-one-knows-for-support-for-heltec-wifi-lora-32-v3/64068/10 "2025-01-16T06:11:15Z")

</div>

While browsing and reading the source code of the Heltec\_ESP32 library, I found LORAWAN\_PREAMBLE\_LENGTH=8 as the default setting and have now removed it from `platform.ini`.  
You now have the option of generating the devEUI randomly or from the chipId. In addition, for appEUI and devEUI, bits 0 and 1 of byte 0 are set according to the post: [DevEUI for non-hardware assigned values - #23 by terrillmoore](https://www.thethingsnetwork.org/forum/t/deveui-for-non-hardware-assigned-values/2093/23).  
I will work on entering the EUIs and the key via the serial interface over the weekend.

---

<div class="post-metadata">

**Author:** ![consult567](https://www.thethingsnetwork.org/forum/letter_avatar_proxy/v4/letter/c/7feea3/32.png) [@consult567](https://www.thethingsnetwork.org/forum/u/consult567)\
**Post date:** [March 13, 2025, 10:10am UTC](https://www.thethingsnetwork.org/forum/t/any-one-knows-for-support-for-heltec-wifi-lora-32-v3/64068/11 "2025-03-13T10:10:14Z")

</div>

Hi, I am trying to connect my Heltec WiFi LoRa 32 (V3) to TTN. I have a personal gateway using the RAK5146 and a Raspberry Pi 5. I have already connected my gateway to TTN. However, I cannot connect my Heltec. I used this method to do it, but it didn’t work. When I build in Arduino IDE, it looks like it builds successfully, but nothing appears in TTN.

What can I do?

> **[LoRaWAN mit dem Heltec LoRa32 V3](https://www.aeq-web.com/heltec-lora32-v3-board-arduino-ide-lorawan-setup/?fbclid=IwZXh0bgNhZW0CMTEAAR1ltmbJBu044_x0zR9lpgaB_u90f0ya5I-y0KSAKjaNecqDgBMp_SNUm_E_aem_X5FrrP1QyceOJmZsxM0INQ)**
>
> Einstieg in das LoRaWAN (TTN) mit dem Heltec LoRa32 V3 und Einrichtung vom Board in der Arduino IDE

---

<div class="post-metadata">

**Author:** ![Somsak](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/somsak/32/45700_2.png) [@Somsak](https://www.thethingsnetwork.org/forum/u/Somsak)\
**Post date:** [March 14, 2025, 6:12pm UTC](https://www.thethingsnetwork.org/forum/t/any-one-knows-for-support-for-heltec-wifi-lora-32-v3/64068/12 "2025-03-14T18:12:53Z")

</div>

You should give more detail on what the errors showed on the Serial Monitor when Heltec runs.

---

<div class="post-metadata">

**Author:** ![consult567](https://www.thethingsnetwork.org/forum/letter_avatar_proxy/v4/letter/c/7feea3/32.png) [@consult567](https://www.thethingsnetwork.org/forum/u/consult567)\
**Post date:** [March 20, 2025, 3:40pm UTC](https://www.thethingsnetwork.org/forum/t/any-one-knows-for-support-for-heltec-wifi-lora-32-v3/64068/13 "2025-03-20T15:40:52Z")

</div>

Hi, I can see this in my serial monitor. I generate the DevEUI and AppKey using TTN generator.

 ![483934874_1062699522346880_8801167939198331247_n](https://www.thethingsnetwork.org/forum/uploads/default/original/3X/0/3/032755a907dd031bc6cedd04f2e45f9b6b8afeda.png)
