# URGENT Help needed with Heltec WiFi LoRa 32 v3

**URL:** https://forum.sensor.community/t/urgent-help-needed-with-heltec-wifi-lora-32-v3/2629
**Category:** Uncategorized
**Created:** [February 26, 2024, 7:02pm UTC](https://forum.sensor.community/t/urgent-help-needed-with-heltec-wifi-lora-32-v3/2629 "2024-02-26T19:02:16Z")
**Posts on this page:** 18
**Page:** 1

<div class="post-metadata">

### Author: ![pjg](https://forum.sensor.community/user_avatar/forum.sensor.community/pjg/32/194_2.png) [@pjg](https://forum.sensor.community/u/pjg)
#### Post date: [February 26, 2024, 7:02pm UTC](https://forum.sensor.community/t/urgent-help-needed-with-heltec-wifi-lora-32-v3/2629/1 "2024-02-26T19:02:16Z")

</div>

Has someone succeeded to build and flash with the Arduino IDE or better with Platformio.  
I need urgent help for a project in France and I just get some errors (and I know how to debug normally…).  
If you have a working code on PIO, please send it to me. I would like to check and understand what I am not doing well.

---

<div class="post-metadata">

### Author: ![bertrik](https://forum.sensor.community/letter_avatar_proxy/v4/letter/b/53a042/32.png) [@bertrik](https://forum.sensor.community/u/bertrik)
#### Post date: [February 27, 2024, 3:34pm UTC](https://forum.sensor.community/t/urgent-help-needed-with-heltec-wifi-lora-32-v3/2629/2 "2024-02-27T15:34:24Z")

</div>

Maybe I can have a look at this tonight.

A platformio config that I used for the heltec lora32 v2 can be found at:

> <https://github.com/bertrik/LoraWanPmSensor/blob/master/platformio.ini#L36>

the [env:heltecv2] section inherits from the [env] section

---

<div class="post-metadata">

### Author: ![pjg](https://forum.sensor.community/user_avatar/forum.sensor.community/pjg/32/194_2.png) [@pjg](https://forum.sensor.community/u/pjg)
#### Post date: [February 27, 2024, 3:58pm UTC](https://forum.sensor.community/t/urgent-help-needed-with-heltec-wifi-lora-32-v3/2629/3 "2024-02-27T15:58:20Z")

</div>

Thanks.  
V2 is OK. I am usine it for years.  
What about V3?

---

<div class="post-metadata">

### Author: ![bertrik](https://forum.sensor.community/letter_avatar_proxy/v4/letter/b/53a042/32.png) [@bertrik](https://forum.sensor.community/u/bertrik)
#### Post date: [February 27, 2024, 4:26pm UTC](https://forum.sensor.community/t/urgent-help-needed-with-heltec-wifi-lora-32-v3/2629/4 "2024-02-27T16:26:16Z")

</div>

Oh, I feel silly now, you explicitly asked about the V3.

I see now that it is considerably different from the V2: different variant of processor and different kind of LoRa chip too.

Sorry.

---

<div class="post-metadata">

### Author: ![pjg](https://forum.sensor.community/user_avatar/forum.sensor.community/pjg/32/194_2.png) [@pjg](https://forum.sensor.community/u/pjg)
#### Post date: [February 27, 2024, 4:35pm UTC](https://forum.sensor.community/t/urgent-help-needed-with-heltec-wifi-lora-32-v3/2629/5 "2024-02-27T16:35:44Z")

</div>

Yes it is an esp32 s3 or something.

---

<div class="post-metadata">

### Author: ![bertrik](https://forum.sensor.community/letter_avatar_proxy/v4/letter/b/53a042/32.png) [@bertrik](https://forum.sensor.community/u/bertrik)
#### Post date: [February 27, 2024, 7:32pm UTC](https://forum.sensor.community/t/urgent-help-needed-with-heltec-wifi-lora-32-v3/2629/6 "2024-02-27T19:32:35Z")

</div>

It has an ESP32-S3 as microcontroller and an SX1262 LoRa chip, which is supported by jgromes/RadioLib now.

You could try this for platformio.ini

```auto
[platformio]
default_envs = heltec_wifi_lora_32_V3
src_dir = .

[env]
framework = arduino
platform = espressif32
monitor_speed = 9600
lib_deps = jgromes/RadioLib

[env:heltec_wifi_lora_32_V3]
board = heltec_wifi_lora_32_V3
board_build.mcu = esp32s3
board_build.f_cpu = 240000000L

```

And then use this example code:

> <https://github.com/jgromes/RadioLib/tree/master/examples/LoRaWAN/LoRaWAN_End_Device>
>
> //github.com/jgromes/RadioLib/tree/master/examples/LoRaWAN/LoRaWAN\_End\_Device

The uncomment (enable)

> <https://github.com/jgromes/RadioLib/blob/master/examples/LoRaWAN/LoRaWAN_End_Device/LoRaWAN_End_Device.ino#L31>

and comment out (disable)

> <https://github.com/jgromes/RadioLib/blob/master/examples/LoRaWAN/LoRaWAN_End_Device/LoRaWAN_End_Device.ino#L35>

I am not completely sure about the SX1262 pin assignment, but it looks about right if you compare the default pin numbers with ~/.platformio/packages/framework-arduinoespressif32/variants/heltec\_wifi\_lora\_32\_V3/pins\_arduino.h

But it could be a start.

Then: ‘pio run -t upload’ to flash it.  
And: ‘pio device monitor’ to see the serial output

---

<div class="post-metadata">

### Author: ![pjg](https://forum.sensor.community/user_avatar/forum.sensor.community/pjg/32/194_2.png) [@pjg](https://forum.sensor.community/u/pjg)
#### Post date: [February 27, 2024, 8:23pm UTC](https://forum.sensor.community/t/urgent-help-needed-with-heltec-wifi-lora-32-v3/2629/7 "2024-02-27T20:23:33Z")

</div>

Super Thanks !!! I will try

---

<div class="post-metadata">

### Author: ![pjg](https://forum.sensor.community/user_avatar/forum.sensor.community/pjg/32/194_2.png) [@pjg](https://forum.sensor.community/u/pjg)
#### Post date: [February 29, 2024, 12:19pm UTC](https://forum.sensor.community/t/urgent-help-needed-with-heltec-wifi-lora-32-v3/2629/8 "2024-02-29T12:19:19Z")

</div>

Seems to be advancing 😊  
Is someone interested to have code for the Heltec ?  
I publish soon

---

<div class="post-metadata">

### Author: ![bertrik](https://forum.sensor.community/letter_avatar_proxy/v4/letter/b/53a042/32.png) [@bertrik](https://forum.sensor.community/u/bertrik)
#### Post date: [March 3, 2024, 7:31am UTC](https://forum.sensor.community/t/urgent-help-needed-with-heltec-wifi-lora-32-v3/2629/9 "2024-03-03T07:31:43Z")

</div>

I’m always curious about it. Let’s share ideas!

Some things to consider:

- For LoRaWAN I would typically use OTAA, not ABP
- For OTAA you need to tell the firmware three parameters: App/Join EUI, device EUI and “join secret”. What I would do:  
\*\* Encode the App/join EUI in the firmware  
\*\* Derive the device EUI from the unique ESP32 id (also used for wifi/bluetooth mac)  
\*\* For the join secret, you can store it in (simulated) EEPROM, or generate it on the device
- How to get parameters in/out  
\*\* Steven Boonstoppel (who also did the lorawan stuff in RadioLib) has written a BLE interface for setting the parameters over bluetooth from a phone  
\*\* I’ve written a simple serial shell that can also run over bluetooth low energy (“minishell”), you can define your own commands to initiate stuff, store data, retrieve data, etc.  
\*\* Over TCP/IP (wifi). To secure it, you could press a key, then display a QR code with the wifi credentials and temporarily open up a webpage to store parameters / view settings
- With regard to the OLED display on the ESP32 board:  
\*\* Take care to disable the OLED display when you are not looking at it. At full brightness, it “burns in” in weeks  
\*\* I found you can actually wire a second OLED in parallel to the internal one, it’s basically one-wire communication anyway. This way you can mount a second OLED away from the board (e.g. facing out from the casing, keeping main board safe inside from weather). And if it does burn in, you can more easily replace it.

Oh, and we should talk about getting lorawan data into sensor.community, I have already written a robust forwarder for that (can be easily run with docker).

---

<div class="post-metadata">

### Author: ![pjg](https://forum.sensor.community/user_avatar/forum.sensor.community/pjg/32/194_2.png) [@pjg](https://forum.sensor.community/u/pjg)
#### Post date: [March 6, 2024, 12:36pm UTC](https://forum.sensor.community/t/urgent-help-needed-with-heltec-wifi-lora-32-v3/2629/10 "2024-03-06T12:36:53Z")

</div>

Hi Bertrik,  
I must ask the French guy if I can publish the code here or on GitHub. I finally made an Arduino IDE version.  
The project used v2 for the past 2 years.  
Yes we should talk about your forwarder. For now it works with the H… system for integration which is very good. The system not H… itself. Beware of Lukas 🤣

Tell me when you can in DM.

---

<div class="post-metadata">

### Author: ![pjg](https://forum.sensor.community/user_avatar/forum.sensor.community/pjg/32/194_2.png) [@pjg](https://forum.sensor.community/u/pjg)
#### Post date: [March 6, 2024, 12:38pm UTC](https://forum.sensor.community/t/urgent-help-needed-with-heltec-wifi-lora-32-v3/2629/11 "2024-03-06T12:38:38Z")

</div>

For the Aircarto project, you type the lorawan credentials in the WiFi interface which is derived from SC one. Works perfectly. No BLE 🙂

---

<div class="post-metadata">

### Author: ![bertrik](https://forum.sensor.community/letter_avatar_proxy/v4/letter/b/53a042/32.png) [@bertrik](https://forum.sensor.community/u/bertrik)
#### Post date: [March 20, 2024, 7:35pm UTC](https://forum.sensor.community/t/urgent-help-needed-with-heltec-wifi-lora-32-v3/2629/12 "2024-03-20T19:35:57Z")

</div>

I ordered a heltec wifi lora32 v3 myself, so I should be able to experiment a bit more myself.

I asked Steven Boonstoppel, who did the majority of the lorawan stuff in RadioLib, about the board, the stack and the helium network. He told me that the radiolib lorawan stack is in principle meant to be a LoRaWAN 1.1 implementation, while Helium mentions v1.0.2, v1.0.3, or v1.0.4 at [Helium Devices | Helium Documentation](https://docs.helium.com/iot/devices/)

So this might not be completely compatible to have a LoRaWAN 1.1+ device on a LoRaWAN 1.0x network. The differences I know is that LoRaWAN 1.1+ is a bit more strict on the nonces / sequence numbers, so a LoRaWAN 1.1 device stack tries to honour that (e.g. storing sequence numbers in non-volatile memory). Trivially I would say, that it might work in most cases, however I do not have a complete picture of all the differences and their consequences.

---

<div class="post-metadata">

### Author: ![pjg](https://forum.sensor.community/user_avatar/forum.sensor.community/pjg/32/194_2.png) [@pjg](https://forum.sensor.community/u/pjg)
#### Post date: [March 23, 2024, 9:23am UTC](https://forum.sensor.community/t/urgent-help-needed-with-heltec-wifi-lora-32-v3/2629/13 "2024-03-23T09:23:52Z")

</div>

> **[GitHub - pjgueno/lorawan\_hyzone: Firmware for the Hyzone project](https://github.com/pjgueno/lorawan_hyzone)**
>
> Firmware for the Hyzone project

A working code for Heltec v3 but unfortunately not on PIO…

---

<div class="post-metadata">

### Author: ![bertrik](https://forum.sensor.community/letter_avatar_proxy/v4/letter/b/53a042/32.png) [@bertrik](https://forum.sensor.community/u/bertrik)
#### Post date: [March 23, 2024, 9:28am UTC](https://forum.sensor.community/t/urgent-help-needed-with-heltec-wifi-lora-32-v3/2629/14 "2024-03-23T09:28:18Z")

</div>

If it’s Arduino, I think a platformio configuration can be easily created. I’ll have a look today!

---

<div class="post-metadata">

### Author: ![Tommy](https://forum.sensor.community/letter_avatar_proxy/v4/letter/t/b5a626/32.png) [@Tommy](https://forum.sensor.community/u/Tommy)
#### Post date: [January 4, 2025, 2:37pm UTC](https://forum.sensor.community/t/urgent-help-needed-with-heltec-wifi-lora-32-v3/2629/15 "2025-01-04T14:37:05Z")

</div>

I am new here. Just tried to load down driver ch341SER clicking appropriate " windows" button on the german airrohr homepage.  
Result is a message that the \*.zip cannot be loaded.  
Alternatively I tried to flash from helmut kargers homepage 4 which was forbidden by warning for PISHING.  
So, may somebody help me to start this airrohr project?  
wbr

---

<div class="post-metadata">

### Author: ![ricki-z](https://forum.sensor.community/user_avatar/forum.sensor.community/ricki-z/32/215_2.png) [@ricki-z](https://forum.sensor.community/u/ricki-z)
#### Post date: [January 5, 2025, 10:22pm UTC](https://forum.sensor.community/t/urgent-help-needed-with-heltec-wifi-lora-32-v3/2629/16 "2025-01-05T22:22:08Z")

</div>

You can find a copy of the driver files (it’s my private server):

> **[Treiber CH341](https://www.madavi.de/owncloud/index.php/s/prNWcSMqPR2m85F)**
>
> Nextcloud - a safe home for all your data

---

<div class="post-metadata">

### Author: ![Marati\_Mounish](https://forum.sensor.community/user_avatar/forum.sensor.community/marati_mounish/32/2547_2.png) [@Marati\_Mounish](https://forum.sensor.community/u/Marati_Mounish)
#### Post date: [March 20, 2025, 5:17am UTC](https://forum.sensor.community/t/urgent-help-needed-with-heltec-wifi-lora-32-v3/2629/17 "2025-03-20T05:17:05Z")

</div>

Hello,  
Can anyone help me how to connect the inmp441 microprocessor to the heltec lora 32 (v3)2 to which pins i need to connect the SD, WS, SCK, L/R.

and what kind of drivers i need to install in the arduino IDE software.

---

<div class="post-metadata">

### Author: ![pjg](https://forum.sensor.community/user_avatar/forum.sensor.community/pjg/32/194_2.png) [@pjg](https://forum.sensor.community/u/pjg)
#### Post date: [March 20, 2025, 7:22am UTC](https://forum.sensor.community/t/urgent-help-needed-with-heltec-wifi-lora-32-v3/2629/18 "2025-03-20T07:22:08Z")

</div>

Welcome,

I have you checked this ?

> **[GitHub - atomic14/esp32-i2s-mic-test: The Simplest Test Code for an I2S Microphone on...](https://github.com/atomic14/esp32-i2s-mic-test)**
>
> The Simplest Test Code for an I2S Microphone on the ESP32 I can Imagine

You should use Platformio instead of Arduino for such programming imho.

The heltec is an esp32 so it should be possible to adapt the code.
