Skip to main content
Version: 2.8

Seeed Wio-E5

Wio-E5 Dev Kit

  • MCU
    • STM32WLE5JC
  • LoRa Transceiver
    • STM32WL integrated sub-GHz radio (Semtech SX126x-based)
  • Frequency options
    • 868 MHz
    • 915 MHz
    • 923 MHz
  • Connectors
    • USB-C
    • LoRa Antenna: SMA antenna connector and U.FL/IPEX
    • 2.54 mm breakout header (all 28 module pins)
    • 2x Grove I2C (same bus) + 1x Grove UART
    • RS-485 screw terminal
    • Battery
    • SWD header

Features

  • Temperature and Humidity Sensor (NXP LM75ADP)
  • Reset switch, power jumpers, button

Pinout

InterfacePin(s)ArduinoGrove2.54 mm headerMeshtastic wio-e5
UART (TX / RX)PB6 / PB7Serial console
USART (TX2 / RX2)PA2 / PA3-Serial2 → GPS (shared with RS-485); ROM bootloader USART2
LPUART (TX1 / RX1)PC1 / PC0-unused
IIC (SDA / SCL)PA15 / PB15
(×2 in parallel)
I2C bus (PIN_WIRE_SDA / PIN_WIRE_SCL); onboard LM75 sensor
SWIM/SWD (DIO / CLK / RST)PA13 / PA14 / NRST-first flash and debugging
SPI (MOSI / MISO / CS / SCK)PA10 / PB14 / PB9 / PB13-unused
BOOT buttonPB13-unused
D5PB5--LED_POWER (active low; jumper J16)
D0PA0--unused (button; jumper J14)
D9PA9--unused (3V3 peripheral-rail enable; jumper J15)
D10PB10--unused (5V rail enable; jumper J6)
A4PB4--unused (RS-485 driver enable; jumper J17)
GPIO / ADCPB3--unused

Connecting a GPS

Meshtastic looks for a GPS module on Serial2 (USART2, PA2 / PA3). Connect a supported TTL-level serial GPS to the USART pins (TX2/RX2) on either the 4-pin USART header or the Arduino socket.

If using a Grove GPS module, do not connect it to the Grove UART connector as it is connected in hardware to the same USART port of the USB-C serial converter, which is used for the Meshtastic serial console and wired client link. Instead, connect the Grove GPS module to the male 2.54mm header instead (the pinout is the same, but check the polarity is correct before connecting).

note

Ensure the jumper labelled RS485(A4) is open to avoid the RS-485 driver coming online on the same USART.

Flashing

Flashing over USB-C

The STM32WL bootloader does not support the pins that the USB-C serial converter is wired to, so this workaround must be used:

  1. Rebooting the Wio-E5 into bootloader from the Meshtastic client (or meshtastic --enter-dfu)
  2. Make these temporary connections:
    • UART TXUSART TX2
    • UART RXUSART RX2
  3. Flash over UART
  4. Remove the temporary connections (to prevent the GPS probing from interfering with USB console/client connections)

Resources

wio-e5-dev

caution

BOOT0 is not exposed on any Wio-E5 board (module, mini, or Dev Kit — the BOOT button is an ordinary GPIOGPIO (General Purpose Input/Output). An uncommitted digital signal pin on a device., not BOOT0), so the first flash of Meshtastic firmware requires an SWDSWD (Serial Wire Debug). A two-pin debug and programming interface, used on STM32 devices to enter bootloader mode and flash firmware. programmer. Meshtastic clients can reboot the board into the bootloader (meshtastic --enter-dfu) once Meshtastic firmware has been flashed.

Wio-E5 boards also ship with flash readout protection (RDP level 1) enabled. If STM32CubeProgrammer cannot read or write flash, see Removing readout protection.