Heltec WiFi LoRa 32

Hardware

Platform Espressif 32: Espressif Systems is a privately held fabless semiconductor company. They provide wireless communications and Wi-Fi chips which are widely used in mobile devices and the Internet of Things applications.

Microcontroller

ESP32

Frequency

240MHz

Flash

4MB

RAM

320KB

Vendor

Heltec Automation

Configuration

Please use heltec_wifi_lora_32 ID for board option in “platformio.ini” (Project Configuration File):

[env:heltec_wifi_lora_32]
platform = espressif32
board = heltec_wifi_lora_32

You can override default Heltec WiFi LoRa 32 settings per build environment using board_*** option, where *** is a JSON object path from board manifest heltec_wifi_lora_32.json. For example, board_build.mcu, board_build.f_cpu, etc.

[env:heltec_wifi_lora_32]
platform = espressif32
board = heltec_wifi_lora_32

; change microcontroller
board_build.mcu = esp32

; change MCU frequency
board_build.f_cpu = 240000000L

Uploading

Heltec WiFi LoRa 32 supports the next uploading protocols:

  • esp-prog

  • esptool

  • iot-bus-jtag

  • jlink

  • minimodule

  • olimex-arm-usb-ocd

  • olimex-arm-usb-ocd-h

  • olimex-arm-usb-tiny-h

  • olimex-jtag-tiny

  • tumpa

Default protocol is esptool

You can change upload protocol using upload_protocol option:

[env:heltec_wifi_lora_32]
platform = espressif32
board = heltec_wifi_lora_32

upload_protocol = esptool

Debugging

PIO Unified Debugger - “1-click” solution for debugging with a zero configuration.

Warning

You will need to install debug tool drivers depending on your system. Please click on compatible debug tool below for the further instructions and configuration information.

You can switch between debugging Tools & Debug Probes using debug_tool option in “platformio.ini” (Project Configuration File).

Heltec WiFi LoRa 32 does not have on-board debug probe and IS NOT READY for debugging. You will need to use/buy one of external probe listed below.

Compatible Tools

On-board

Default

ESP-Prog

Yes

oddWires IOT-Bus JTAG

J-LINK

Mini-Module FT2232H

Olimex ARM-USB-OCD

Olimex ARM-USB-OCD-H

Olimex ARM-USB-TINY-H

Olimex ARM-USB-TINY

TIAO USB Multi-Protocol Adapter (TUMPA)

Frameworks

Name

Description

Arduino

Arduino Wiring-based Framework allows writing cross-platform software to control devices attached to a wide range of Arduino boards to create all kinds of creative coding, interactive objects, spaces or physical experiences.

ESP-IDF

Espressif IoT Development Framework. Official development framework for ESP32.