Dragino LGT-92 LoRaWAN User Manual

Dragino LGT-92 LoRaWAN User Manual

Hide thumbs Also See for LGT-92 LoRaWAN:

Advertisement

LGT-92 LoRaWAN GPS Tracker User Manual
Document Version: 1.0
Image Version: v1.3
Version
Description
1.0
Release
1.0.1
Correct GPS payload format in TTN
LGT-92 LoRa GPS Tracker User Manual
www.dragino.com
Date
2018-Dec-12
2019-Jan-23
1 / 30

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the LGT-92 LoRaWAN and is the answer not in the manual?

Questions and answers

Summary of Contents for Dragino LGT-92 LoRaWAN

  • Page 1 LGT-92 LoRaWAN GPS Tracker User Manual Document Version: 1.0 Image Version: v1.3 Version Description Date Release 2018-Dec-12 1.0.1 Correct GPS payload format in TTN 2019-Jan-23 LGT-92 LoRa GPS Tracker User Manual 1 / 30...
  • Page 2: Table Of Contents

    Introduction ..........................4 What is LGT-92 LoRa GPS Tracker ....................4 Specifications ..........................5 Features ............................6 Applications ..........................6 Use LGT-92 with stock LoRaWAN firmware ................7 How it works? ..........................7 Quick guide to connect to LoRaWAN server (OTAA) ..............7 Uplink Payload ..........................
  • Page 3 How to set up LGT-92 to work in 8 channel mode in US915, AU915, CN470 bands? ....26 What is the pin mapping for the USB program cable? ............. 26 How to set up LGT-92 to work with Single Channel Gateway such as LG01/LG02? ....27 Order Info ..........................
  • Page 4: Introduction

    1. Introduction 1.1 What is LGT-92 LoRa GPS Tracker LGT-92 is a Long Range / low power consumption LoRaWAN GPS tracker. LGT-92 get user’s location info via GPS and send it to IoT server via LoRaWAN wireless network. Compare to traditional GPS tracker, LGT-92 use much lower power consumption hence can last for longer time.
  • Page 5: Specifications

    1.2 Specifications Micro Controller:  STM32L072CZT6 MCU  MCU: STM32L072CZT6  Flash:192KB  RAM:20KB  EEPROM: 6KB  Clock Speed: 32Mhz Common DC Characteristics:  Supply Voltage: 2.1v ~ 3.6v  Operating Temperature: -40 ~ 85°C LoRa Spec: ...
  • Page 6: Features

     Tracking: max: 38mA 1.3 Features  LoRaWAN 1.0.2 Class A,Class C  STM32L072CZT6 MCU  SX1276/78 Wireless Chip  Pre-load bootloader on USART1/USART2  MDK-ARM Version 5.24a IDE  Preamble detection  Frequency bands CN470/EU433/KR920/US915/IN865  EU868/AS923/AU915 ...
  • Page 7: Use Lgt-92 With Stock Lorawan Firmware

    2. Use LGT-92 with stock LoRaWAN firmware 2.1 How it works? The LGT-92 is pre-loaded with a firmware and is configured as LoRaWAN OTAA Class A mode by default. It has OTAA keys to join LoRaWAN network. To connect a local LoRaWAN network, user just need to input the OTAA keys in the LoRaWAN IoT server and power on the LGT-92.
  • Page 8 User can enter this key in their LoRaWAN Server portal. Below is TTN screen shot: Add APP EUI in the application Add APP KEY and DEV EUI LGT-92 LoRa GPS Tracker User Manual 8 / 30...
  • Page 9 Step 2: Power on LGT-92 LoRaWAN GPS Tracker Step 3: LGT-92 will auto join to the TTN network. After join success, LGT92 will start to upload message to IoT server. By default, the upload period is 5 minutes. In the start of each period, LGT-92 will try to get GPS signal and the green LED will blink.
  • Page 10: Uplink Payload

    2.3 Uplink Payload 2.3.1 Payload Analyze The uplink payload includes totally 12 bytes. Uplink packets use FPORT=2 and every 5 minutes send one uplink by default. Size(bytes) 3 Latitude Longitude Value Example: Latitude: 06765f ⇒ if (0x06765f & 0x800000 = 0 ): value = 0x06765f /10000 = 42.3519 ...
  • Page 11 |=0xFFFFFF000000; var latitude=value/10000;//gps latitude value=bytes[3]<<16 | bytes[4]<<8 | bytes[5]; if(bytes[3] & 0x80) value |=0xFFFFFF000000; var longitude=value/10000;//gps longitude value=bytes[6]<<8 | bytes[7]; var batV=value/1000;//Battery,units:V value=bytes[8]<<8 | bytes[9]; var roll=value/100;// value=bytes[10]<<8 | bytes[11]; var pitch=value/100; return { Latitude: latitude, Longitud: longitude,...
  • Page 12: Downlink Payload

    2.4 Downlink Payload 2.5 Firmware Change Log LGT-92 LoRa GPS Tracker User Manual 12 / 30...
  • Page 13: Use At Command

    3. Use AT Command 3.1 Access AT Command LGT-92 supports AT Command set in stock firmware. User can use a USB to TTL adapter to connect to LGT-92 for using AT command, as below. In PC, User needs to set serial tool baud rate to 9600 to access serial console for LGT-92.
  • Page 14 Below are the available commands, a more detail AT Command manual can be found at Command Manual AT+<CMD>? : Help on <CMD> AT+<CMD> : Run <CMD> AT+<CMD>=<value> : Set the value AT+<CMD>=? : Get the value General Command AT: Attention...
  • Page 15: Common At Command Sequence

    AT+JN2DL: Join Accept Delay2 AT+PNM: Public Network Mode AT+RX1DL: Receive Delay1 AT+RX2DL: Receive Delay2 AT+RX2DR: Rx2 Window Data Rate AT+RX2FQ: Rx2 Window Frequency AT+TXP: Transmit Power Information AT+RSSI: RSSI of the Last Received Packet AT+SNR: SNR of the Last Received Packet...
  • Page 16: Upload Firmware

    4. Upload Firmware User can use the LGT-92’s USB port to upgrade firmware into it. The hardware connection for upgrade firmware is as below: Connection:  ST-LINK v2 5.0v <--> Dupont red pin  ST-LINK v2 GND <--> Dupont black pin ...
  • Page 17 Step5: The led on the ST-LINK adapter will now blinking, once see it blinking; release the reset button on the LGT-92. Step6: The led on the ST-LINK adapter will now blinking, once see it blinks; release the reset button on the LGT-92. The ST-Link utility will pop up a download window. Click the start button to download the image to LGT-92.
  • Page 18: Developer Guide

    5. Developer Guide 5.1 Source Code Software Source Code Download Link. Hardware Source Code Download Link 5.2 Compile Source Code 5.2.1 Set up Keil compile environment Assume you already have Keil uVision5 installed. Below step shows how to install MDK support and get license.
  • Page 19 7: Enter the Product Serial Number 4PPFW-QBEHZ-M0D5M along with your contact information and click the button Submit. An e-mail is sent back with the License ID Code (LIC) within a few minutes. LGT-92 LoRa GPS Tracker User Manual 19 / 30...
  • Page 20 8:To activate the Software Product, enter the LIC in the field New License ID Code (LIC) of the dialog License Management... and click Add LIC. 9:Finish LGT-92 LoRa GPS Tracker User Manual 20 / 30...
  • Page 21: Install Stm32L0 Series Device

    5.2.2 Install STM32L0 Series Device 1:Open the web:http://www.keil.com/dd2/pack/eula-container; 2:Find the STMicroelectronics STM32L0 Series Device and download it; 3:Find the Software Pack and installs it; 4:Add the Device ,then you can rebuild the project. LGT-92 LoRa GPS Tracker User Manual...
  • Page 22: Compile Source Code

    Notice: If without add the Device, the keil would report this error. 5.2.3 Compile Source Code 1. Download the source code from Software Source Code Download Link. 2. Use Keil to open the project file: STM32CubeExpansion_LRWAN/Projects/Multi/Applications/LoRa/DRAGINO-LRWAN(AT)/MD K-ARM/STM32L072CZ-Nucleo/Lora.uvprojx 3. In Keil, you can see what frequency band the code support.
  • Page 23: Faq

    4. If you want to change frequency, modify the Preprocessor Symbols. For example, change EU868 to US915 5. Compile and build 6. FAQ 6.1 Why there is 433/868/915 version? LGT-92 LoRa GPS Tracker User Manual 23 / 30...
  • Page 24: What Is The Frequency Range Of Lt Lora Part

    Different country has different rules for the ISM band for using the LoRa. Although the LoRa chip can support a wide range of Frequency, we provide different version for best tune in the LoRa part. That is why we provide different version of LoRa.
  • Page 25: How To Change The Lora Frequency Bands/Region

    6.3 How to change the LoRa Frequency Bands/Region? User can follow the introduction for how to upgrade image. When download the images, choose the required image file for download. 6.4 Can I use Private LoRa protocol? The stock firmware is based on LoRaWAN protocol. User can use a private LoRa protocol in LGT-92, this section describe an example for base LoRa transfer.
  • Page 26: How To Set Up Lgt-92 To Work In 8 Channel Mode In Us915, Au915, Cn470 Bands

    6.5 How to set up LGT-92 to work in 8 channel mode in US915, AU915, CN470 band By default, the frequency bands US915, AU915, CN470 works in 72 frequencies. And many gateways is 8 channel gateways, in such case, the OTAA joined time and uplink schedule is long and unpredictable while the LGT-92 hopping in 72 frequency.
  • Page 27: How To Set Up Lgt-92 To Work With Single Channel Gateway Such As Lg01/Lg02

    6.7 How to set up LGT-92 to work with Single Channel Gateway such as LG01/LG02? In this case, users need to set LGT-92 to work in ABP mode & transmit in only one frequency. Assume we have a LG02 working in the frequency 868400000 now, below is the steps.
  • Page 28 LGT-92 LoRa GPS Tracker User Manual 28 / 30...
  • Page 29: Order Info

    7. Order Info Part Number: LGT-92-xx XX: The default frequency band  AS923: LoRaWAN AS923 band  AU915: LoRaWAN AU915 band  EU433: LoRaWAN EU433 band  EU868: LoRaWAN EU868 band  KR920: LoRaWAN KR920 band  US915: LoRaWAN US915 band ...
  • Page 30: Reference

    10. Reference  Product Page DataSheet  Image Download  AT Command Manual LGT-92 LoRa GPS Tracker User Manual 30 / 30...

Table of Contents