LoRaDIOWL - STM32WL
This uses the Seeed Wio-E5 STM32WLE5JC module - a STM32 MCU with integrated SX126X - with two variants, the LE module transmits at a maximum of 14dBm and the HF module goes all out at 22dBM. The former is aimed at the EU region which has a 14dBm limit - the upside of this split is that the transmit current is vastly reduced for the LE module.
The board
IMAGE HERE
The I2C connection has external pull-up resistors. To use this for IO you may need to remove the resistors.
You can power the module via the 3.3V pin up to a maximum of 3.5V with a minimum of 2.7V. If you want to connect a single LiPo battery you must use an external LDO to regulate the potential maximum battery voltage.
You must attach an antenna before activating the relative radio. Failure to do so can damage the output stage of the radio with varying detrimental effects for either or both of transmission or reception.
Software support
It comes with the default AT command firmware, allowing it to be used with any MCU with a UART.
Or firmware can be developed using the Semtech LoRaMac-node implementation provided by ST in the STM32WL Cube repro.
Or use RadioLib via STM32duino - providing all the benefits of the Arduino eco system.
A native port of RadioLib to the STM32 HAL is in progress.
General functionality
The module is supported by the Arduino eco-system either via the Arduino IDE with the ESP32 Board Support Package or via PlatformIO.
The library provides examples for:
- Basic GPIO including ADC
- Serial vs USB
- Repurposing USB
- Repurposing Serial
- General I2C
- GNSS via Serial or I2C
LoRa & LoRaWAN
RadioLib provides a selection of examples for both LoRa to LoRa as well as LoRaWAN. The initialisation of the radio is:
radio = SX1262()