Low-Power Easy LoRa Node with STM32L0 and LoRa SX1278
- Hardware is Dragino LSN50 v1.0: https://wiki.dragino.com/index.php?title=Lora_Sensor_Node-LSN50
- Internal LoRaST module: https://wiki.dragino.com/index.php?title=LoRa_ST
Code is written in Arduino style from stm32duino https://github.com/stm32duino/Arduino_Core_STM32
Original at https://github.com/dragino/Lora/blob/master/LoRaST/v1.0/LoRa%20ST%20v1.0_Sch.pdf
- LSN50 -> STLink v2
- PA14 -> SWCLK
- PA13 -> SWDIO
- VCC -> 3.3+
- GND -> GND
Switch of LSN50 is ISP to upload code. It's recommended to remove UART TTL USB before uploading code via STLink
- LSN50 -> CP1202 USB TTL
- GND -> GND
- PA2 -> RX
- PA3 -> TX
Additional Boards Manager URLs: https://github.com/stm32duino/BoardManagerFiles/raw/master/STM32/package_stm_index.json
- STM32 Source file location: https://github.com/stm32duino/wiki/wiki/Where-are-sources#stm32-core-sources-files-location
- To add variants https://github.com/stm32duino/wiki/wiki/Add-a-new-variant-(board)
- Genpinmap for STM32L072CZT6 (used by LSN50) https://github.com/stm32duino/Arduino_Tools/tree/master/src/genpinmap/Arduino/STM32L072C(B-Z)Tx
- QUICK START - Custom variant for LSN50 https://github.com/IoTThinks/EasyLoRaNode_LowPower/tree/master/stm32duino
-
User manual for v1.0 LSN50_LoRa_Sensor_Node_UserManual_v1.0.pdf
-
AT Manual for stock firmware DRAGINO_STM_AT_Commands_v1.3.pdf