Skip to content

Dragino LSN50 Node

IoTThinks.com edited this page May 2, 2020 · 25 revisions

Dragino LSN50

1. Hardware

1.1 Pin locations

EasyLoRaLowPowerNode-Pinout

1.2 Pin mapping for STM32L072CZT6 (used by LSN50)

Original at https://github.com/dragino/Lora/blob/master/LoRaST/v1.0/LoRa%20ST%20v1.0_Sch.pdf stm32L0

2. Connect to hardware

2.1 Use STLink v2 to upload code

STLink v2 USB

Driver is at https://www.st.com/en/development-tools/st-link-v2.html#tools-software stlink

Pin mapping

  • LSN50 -> STLink v2
  • PA14 -> SWCLK
  • PA13 -> SWDIO. NOTE: NEXT TO PA13 is PB14. WE NEED PA14!!!
  • VCC -> 3.3+
  • GND -> GND

IMG_5387

Switch of LSN50 is ISP to upload code. It's recommended to remove UART TTL USB before uploading code via STLink

STLink v2 will show up in USB Device, not Ports (COM & LPT) image

2.2 Use UART to debug

uart

  • LSN50 -> CP1202 USB TTL
  • GND -> GND
  • PA2 -> RX
  • PA3 -> TX

3. Programming guides

3.1 AT Commands

Easy LoRaWAN WiKi

1. Overview

2. Easy LoRaWAN - IoT Server

3. Easy LoRaWAN - Network Server

4. LoRaWAN Gateways

5. LoRaWAN Devices

6. Easy LoRaWAN App

Clone this wiki locally