Stufin
Home Quick Cart Profile

LoRa-E5 mini (STM32WLE5JC) Development Board

Buy Now on Stufin

Component Description

LoRa-E5 mini (STM32WLE5JC) Development Board

Overview

The LoRa-E5 mini (STM32WLE5JC) Development Board is a compact, feature-rich development board designed for IoT applications, specializing in wireless communication using LoRaWAN technology. This mini development board is built around the STM32WLE5JC system-on-chip (SoC), which integrates a 32-bit Arm Cortex-M4 microcontroller, a sub-GHz radio transceiver, and a range of peripherals. The board is ideal for developers, engineers, and hobbyists looking to create innovative IoT projects with a focus on long-range, low-power wireless communication.

Key Features

  • Microcontroller:

STM32WLE5JC SoC with 32-bit Arm Cortex-M4 processor core

Operating frequency

up to 48 MHz

256 KB of Flash memory and 64 KB of SRAM

  • LoRaWAN Transceiver:

Integrated sub-GHz radio transceiver (868 MHz or 915 MHz)

Supports LoRaWAN 1.0.2 and 1.1

Up to 20 dBm output power

Integrated balun and antenna

  • Wireless Communication:

LoRaWAN Class A, B, and C support

Supports up to 10 km range (line-of-sight)

Low power consumption ( down to 1.8 mA in sleep mode)

  • Peripherals:

2 x I2C, 2 x SPI, 1 x UART, and 1 x USB interfaces

12-channel, 12-bit analog-to-digital converter (ADC)

2 x digital-to-analog converters (DAC)

16-bit timer with 4 channels

Watchdog timer and RTC

  • Power Management:

Onboard voltage regulator (1.8 V to 3.6 V input)

Power supply options

USB, battery, or external power source

Low-power modes for reduced energy consumption

  • Other Features:

PCB antenna for LoRaWAN communication

2 x LEDs for user indication

Reset button and boot mode selection

Functionalities

  • Wireless Communication: The LoRa-E5 mini board allows for wireless communication using LoRaWAN technology, enabling long-range, low-power communication for IoT applications.
  • Microcontroller Development: The STM32WLE5JC microcontroller on the board can be programmed and developed using various programming languages and development environments, such as Keil Vision, IAR Embedded Workbench, and STM32CubeMX.
  • Sensor Integration: The board's peripherals enable the integration of various sensors, such as temperature, humidity, and motion sensors, to collect and transmit data wirelessly.
  • Prototyping and Development: The LoRa-E5 mini board is ideal for rapid prototyping and development of IoT projects, allowing developers to focus on application development and testing.

Applications

  • IoT Sensor Networks: The LoRa-E5 mini board is suitable for creating wireless sensor networks for various applications, such as environmental monitoring, industrial automation, and smart cities.
  • Smart Home and Building Automation: The board can be used to develop wireless automation systems for smart homes and buildings, controlling lighting, temperature, and security systems.
  • Industrial IoT: The LoRa-E5 mini board is applicable in industrial IoT scenarios, such as monitoring and controlling industrial equipment, asset tracking, and predictive maintenance.

Programming and Development Environments

  • Keil Vision: A popular IDE for developing, debugging, and verifying embedded systems.
  • IAR Embedded Workbench: A comprehensive development environment for building, debugging, and testing embedded systems.
  • STM32CubeMX: A graphical tool for initializing and configuring STM32 microcontrollers, including the STM32WLE5JC.

Operating Systems

  • Mbed OS: An open-source operating system for IoT devices, providing a range of features and tools for developing connected devices.
  • Zephyr OS: An open-source, real-time operating system for resource-constrained devices, supporting various architectures and peripherals.

Operating Temperature

-40C to 85C

Storage Temperature

-40C to 150C

Dimensions

30 mm x 20 mm x 15 mm

Weight

5 g (approx.)

Conclusion

The LoRa-E5 mini (STM32WLE5JC) Development Board is a powerful tool for developing IoT applications that require long-range, low-power wireless communication. With its integrated LoRaWAN transceiver, microcontroller, and peripherals, this board provides a comprehensive platform for creating innovative IoT projects.

Pin Configuration

  • LoRa-E5 mini (STM32WLE5JC) Development Board Pinout
  • The LoRa-E5 mini development board is a compact and feature-rich board based on the STM32WLE5JC microcontroller, which combines a 32-bit ARM Cortex-M4 processor with a LoRa transceiver. The board has a total of 30 pins, including power pins, digital pins, analog pins, and special function pins. Here's a detailed explanation of each pin:
  • Power Pins
  • VIN (1): Input voltage pin, can be connected to a power source (e.g., battery or USB) with a voltage range of 2.7V to 5.5V.
  • GND (2, 15, 28): Ground pins, connected to the negative terminal of the power source.
  • 3V3 (3): Regulated 3.3V output pin, can be used to power external modules or devices.
  • VBAT (14): Battery voltage input pin, can be connected to a battery for power backup.
  • Digital Pins
  • D0 (4): Digital input/output pin, can be used as a general-purpose I/O pin.
  • D1 (5): Digital input/output pin, can be used as a general-purpose I/O pin.
  • D2 (6): Digital input/output pin, can be used as a general-purpose I/O pin.
  • D3 (7): Digital input/output pin, can be used as a general-purpose I/O pin.
  • D4 (8): Digital input/output pin, can be used as a general-purpose I/O pin.
  • D5 (9): Digital input/output pin, can be used as a general-purpose I/O pin.
  • D6 (10): Digital input/output pin, can be used as a general-purpose I/O pin.
  • D7 (11): Digital input/output pin, can be used as a general-purpose I/O pin.
  • D8 (12): Digital input/output pin, can be used as a general-purpose I/O pin.
  • D9 (13): Digital input/output pin, can be used as a general-purpose I/O pin.
  • Analog Pins
  • A0 (16): Analog input pin, can be used to read analog values from sensors or modules.
  • A1 (17): Analog input pin, can be used to read analog values from sensors or modules.
  • A2 (18): Analog input pin, can be used to read analog values from sensors or modules.
  • A3 (19): Analog input pin, can be used to read analog values from sensors or modules.
  • A4 (20): Analog input pin, can be used to read analog values from sensors or modules.
  • A5 (21): Analog input pin, can be used to read analog values from sensors or modules.
  • Special Function Pins
  • UART_TX (22): UART transmission pin, can be used for serial communication.
  • UART_RX (23): UART reception pin, can be used for serial communication.
  • SPI_CS (24): SPI chip select pin, can be used for SPI communication.
  • SPI_CLK (25): SPI clock pin, can be used for SPI communication.
  • SPI_MOSI (26): SPI master out slave in pin, can be used for SPI communication.
  • SPI_MISO (27): SPI master in slave out pin, can be used for SPI communication.
  • RESET (29): Reset pin, can be used to reset the microcontroller.
  • BOOT (30): Boot mode pin, can be used to select the boot mode (e.g., USB or flash).
  • Connecting the Pins
  • When connecting the pins, make sure to follow proper wiring and soldering practices to avoid damaging the board or causing electrical shorts. Here are some general guidelines:
  • Use jumper wires or breadboard-friendly connectors to connect the pins to external modules or devices.
  • Ensure that the pins are connected correctly, taking into account the pinout diagram above.
  • Use a 3.3V power source for the VIN pin, and connect the GND pins to the negative terminal of the power source.
  • When using analog pins, ensure that the voltage range of the analog signal is within the acceptable range of the microcontroller (0V to 3.3V).
  • When using special function pins, ensure that the communication protocol and pin configurations are correctly set up in your code.
  • Remember to consult the datasheet and user manual for the LoRa-E5 mini development board for more information on pin usage, electrical characteristics, and programming guidelines.

Code Examples

LoRa-E5 mini (STM32WLE5JC) Development Board Documentation
Overview
The LoRa-E5 mini (STM32WLE5JC) Development Board is a compact and feature-rich development platform for IoT applications, based on the STM32WLE5JC microcontroller. This board integrates a LoRa transceiver, allowing for long-range wireless communication, and is suitable for a wide range of applications, including smart cities, industrial automation, and environmental monitoring.
Key Features
STM32WLE5JC microcontroller with Arm Cortex-M4 core
 Semtech SX1276 LoRa transceiver
 Supports LoRaWAN, FSK, and OOK modulation
 On-board antennas for LoRa and Wi-Fi
 Wi-Fi and Bluetooth 4.2 connectivity
 USB Type-C interface for programming and debugging
 3.3V operating voltage
 Compact size (30.5 mm x 20.5 mm)
Software Development
The LoRa-E5 mini development board is supported by a range of software development tools, including STM32CubeMX, Keil Vision, and mbed.
Example 1: LoRa Point-to-Point Communication
This example demonstrates the use of the LoRa-E5 mini development board for point-to-point communication between two boards.
Sender Code
```c
#include <LoRa.h>
#define LORA_SS_PIN 18
#define LORA_RST_PIN 14
#define LORA_DIO0_PIN 26
LoRa lora = LoRa(LORA_SS_PIN, LORA_RST_PIN, LORA_DIO0_PIN);
void setup() {
  Serial.begin(115200);
  lora.begin(433E6); // set frequency to 433 MHz
}
void loop() {
  String message = "Hello, LoRa!";
  lora.beginPacket();
  lora.print(message);
  lora.endPacket();
  delay(1000);
}
```
Receiver Code
```c
#include <LoRa.h>
#define LORA_SS_PIN 18
#define LORA_RST_PIN 14
#define LORA_DIO0_PIN 26
LoRa lora = LoRa(LORA_SS_PIN, LORA_RST_PIN, LORA_DIO0_PIN);
void setup() {
  Serial.begin(115200);
  lora.begin(433E6); // set frequency to 433 MHz
}
void loop() {
  int packetSize = lora.parsePacket();
  if (packetSize) {
    String receivedMessage = "";
    while (lora.available()) {
      receivedMessage += (char)lora.read();
    }
    Serial.println(receivedMessage);
  }
  delay(1000);
}
```
Example 2: LoRaWAN Sensor Node
This example demonstrates the use of the LoRa-E5 mini development board as a sensor node in a LoRaWAN network.
Code
```c
#include <LoRaWAN.h>
#define LORA_SS_PIN 18
#define LORA_RST_PIN 14
#define LORA_DIO0_PIN 26
LoRaWAN loraWAN = LoRaWAN(LORA_SS_PIN, LORA_RST_PIN, LORA_DIO0_PIN);
#define SENSOR_PIN A0 // analog sensor pin
void setup() {
  Serial.begin(115200);
  loraWAN.begin();
  loraWAN.joinABP("your_dev_eui", "your_app_eui", "your_app_key");
}
void loop() {
  int sensorValue = analogRead(SENSOR_PIN);
  String sensorData = "Temperature: " + String(sensorValue) + "C";
  loraWAN.send(sensorData);
  delay(60000); // send data every 1 minute
}
```
Note: Please replace "your_dev_eui", "your_app_eui", and "your_app_key" with your actual LoRaWAN credentials.
These examples demonstrate the basic use of the LoRa-E5 mini development board for LoRa point-to-point communication and LoRaWAN sensor node applications. For more advanced applications, please refer to the LoRa-E5 mini documentation and the STM32WLE5JC datasheet.