Opens in a new tab

Heltec WiFi LoRa 32 V4 Pinout

Heltec WiFi LoRa 32 V4 combines an ESP32-S3 with an SX1262 LoRa chip, a 0.96″ OLED display and a Li-Po charger. Compared to the V3, it has a more powerful transmitter (up to 28 dBm), a connector for a GNSS module and a solar panel input.

It is one of the most popular boards for Meshtastic and MeshCore networks.

Specifications

  • ESP32-S3R2: 2× Xtensa LX7 240 MHz, 2 MB PSRAM, 16 MB flash
  • LoRa SX1262 with amplifier, up to 28 dBm output
  • 0.96″ OLED 128 × 64 (SSD1315)
  • Wi-Fi 4 and Bluetooth 5 (LE)
  • USB-C, Li-Po charger, solar panel input
  • GNSS module connector
  • LED on GPIO35, PRG (GPIO0) and RST buttons

The V4 comes in R2 (2 MB PSRAM) and R8 (8 MB PSRAM) versions. On the R8, some control signals are on different pins because of the octal PSRAM – the pinout above corresponds to the R2 version.

Pinout and pin table

Hover over a pin in the diagram or a table row; use the filter to highlight a bus. You can download the pinout as PNG or SVG.

Heltec WiFi LoRa 32 V4 – pinoutHeltec WiFi LoRa 32 V4 – pinoutchiptron.eu · CC BY 4.0USB-CRSTPRGV4 1 GND 2 5V ↔ 5 V from USB, or 5 V power input 3 Ve ← Switched 3.3 V for peripherals – enabled by GPIO36 (logic 0) 4 Ve ← 5 GPIO44 RX 6 GPIO43 TX 7 RST → Reset (RST button) – connecting to GND restarts the chip 8 GPIO0 PRG button 9 GPIO36 Vext_Ctrl 10 GPIO35 LED 11 GPIO34 GNSS power 12 GPIO33 13 GPIO47 14 GPIO48 15 GPIO26 PSRAM 16 GPIO21 OLED RST 17 GPIO20 ADC2_CH9 USB D+ 18 GPIO19 ADC2_CH8 USB D− 1 GND 2 3V3 → 3.3 V output from the regulator 3 3V3 → 4 GPIO37 ADC_Ctrl 5 GPIO46 6 GPIO45 7 GPIO42 GNSS RST 8 GPIO41 GNSS PPS 9 GPIO40 GNSS Wake 10 GPIO39 GNSS TX 11 GPIO38 GNSS RX 12 GPIO1 ADC1_CH0 T1 VBAT_Read 13 GPIO2 ADC1_CH1 T2 FEM_EN 14 GPIO3 ADC1_CH2 T3 SDA 15 GPIO4 ADC1_CH3 T4 SCL 16 GPIO5 ADC1_CH4 T5 PA_CTX 17 GPIO6 ADC1_CH5 T6 18 GPIO7 ADC1_CH6 T7 VFEM_Ctrl GPIO UART I2C ADC (analog) Touch Power Ground (GND) Control / reset Strapping pin
Download:PNGSVG
Pin table – Heltec WiFi LoRa 32 V4
PinNameDirectionUARTI2CSPIADCTouchNote
J2-1GND–
J2-25Vinput/output5 V from the USB connector. It can also power the board – ideally connect the supply through a diode so voltage does not flow back into USB.
J2-3VeoutputSwitched 3.3 V for peripherals – enabled by GPIO36 (logic 0)
J2-4VeoutputSwitched 3.3 V for peripherals – enabled by GPIO36 (logic 0)
J2-5GPIO44input/outputRXUART0 RX
J2-6GPIO43input/outputTXUART0 TX
J2-7RSTinputReset (RST button) – connecting to GND restarts the chip
J2-8GPIO0input/outputPRG button. Strapping pin – logic 0 at boot = download mode
J2-9GPIO36input/outputVext_Ctrl – logic 0 enables the Ve rail (OLED and peripherals)
J2-10GPIO35input/outputOnboard LED (LED_BUILTIN)
J2-11GPIO34input/outputVGNSS_Ctrl – switches on GNSS module power (logic 0 = on)
J2-12GPIO33input/output
J2-13GPIO47input/output
J2-14GPIO48input/output
J2-15GPIO26input/outputUsed by PSRAM (SPICS1) – do not use
J2-16GPIO21input/outputReset displeje OLED
J2-17GPIO20input/outputADC2_CH9USB D+ (native USB) – usable as GPIO only without USB
J2-18GPIO19input/outputADC2_CH8USB D− (native USB) – usable as GPIO only without USB
J3-1GND–
J3-23V3output3.3 V output from the regulator
J3-33V3output3.3 V output from the regulator
J3-4GPIO37input/outputADC_Ctrl – enables the battery voltage measurement divider
J3-5GPIO46input/outputStrapping pin – logic 0 at boot (pull-down); amplifier control (CPS) in version V4.2
J3-6GPIO45input/outputStrapping pin (VDD_SPI voltage) – logic 0 at boot
J3-7GPIO42input/outputGNSS: reset modulu
J3-8GPIO41input/outputGNSS: PPS output (pulse every second)
J3-9GPIO40input/outputGNSS: module wake-up
J3-10GPIO39input/outputGNSS: data to the module (board TX)
J3-11GPIO38input/outputGNSS: data from the module (board RX)
J3-12GPIO1input/outputADC1_CH0T1Battery voltage measurement (via divider, enable with GPIO37)
J3-13GPIO2input/outputADC1_CH1T2FEM_EN – enables the LoRa RF amplifier
J3-14GPIO3input/outputSDAADC1_CH2T3Default I2C SDA in Arduino. Strapping pin (JTAG source select) – has no effect unless set in eFuse
J3-15GPIO4input/outputSCLADC1_CH3T4
J3-16GPIO5input/outputADC1_CH4T5PA_CTX – LoRa RF amplifier control (V4.3)
J3-17GPIO6input/outputADC1_CH5T6
J3-18GPIO7input/outputADC1_CH6T7VFEM_Ctrl – LoRa RF amplifier power
padGPIO15input/outputADC2_CH4Header P4 near the antenna
padGPIO16input/outputADC2_CH5Header P4 near the antenna
padGPIO17input/outputADC2_CH6Header P5 near the antenna; OLED display I2C SDA
padGPIO18input/outputADC2_CH7Header P5 near the antenna; OLED display I2C SCL
GNSSGND–
GNSSVGNSSoutputSwitched 3.3 V power for the GNSS module (enabled by GPIO34 at logic 0)
GNSS3V3output3.3 V output from the regulator
GNSSGPIO39input/outputGNSS: data to the module (board TX)
GNSSGPIO38input/outputGNSS: data from the module (board RX)
GNSSGPIO40input/outputGNSS: module wake-up
GNSSGPIO41input/outputGNSS: PPS output (pulse every second)
GNSSGPIO42input/outputGNSS: reset modulu

Pins used on the board

These chip pins are used by parts on the board and are not broken out:

PinFunction on the board
GPIO8LoRa SX1262 – NSS (CS)
GPIO9LoRa SX1262 – SCK
GPIO10LoRa SX1262 – MOSI
GPIO11LoRa SX1262 – MISO
GPIO12LoRa SX1262 – RESET
GPIO13LoRa SX1262 – BUSY
GPIO14LoRa SX1262 – DIO1 (interrupt)

What to watch out for

  • Never turn on the LoRa transmitter without an antenna – the amplifier may be destroyed.
  • The Ve supply for the OLED and peripherals is switched on by GPIO36 (logic 0) – without it, the display stays dark.
  • The GNSS module is powered via GPIO34 (logic 0 = on).
  • The battery voltage is measured on GPIO1 through a divider that is enabled by GPIO37.
  • The LoRa chip uses GPIO8–14, GPIO26 is taken by the PSRAM and GPIO19/20 are USB – better not to use them on the headers.
  • The GPIO are not 5V tolerant.

Heltec and LoRa networks on chiptron.eu/

Projects and guides on chiptron.eu/:

  • Heltec LoRa 32 v4 – ESP32-S3 and SX1262 with higher output power, a GPS connector and solar charging
  • MeshCore – setting up an off-grid LoRa network, firmware for Heltec and a network map of the Czech Republic
  • Heltec Wireless Tracker V2 – ESP32-S3, LoRa and GNSS with MeshCore and Meshtastic support

More pinouts

See all pinouts on the Pinouts page.

Related Articles