Dragino LGT-92 Series User Manual

Dragino LGT-92 Series User Manual

Lorawan gps tracker

Advertisement

Quick Links

LGT-92 LoRaWAN GPS Tracker User Manual
Document Version: 1.4.0
Image Version: v1.4
Version
Description
1.0
Release
1.0.1
Correct GPS payload format in TTN
1.0.2
Add more info for 8-Channel Mode Description
1.0.3
Add LED description, Buttons, correct accelerometer payload info
1.4.0
Add LGT-92-AA board description and photo
Add Software/hardware change log
Change Payload to add Alarm flag
1.4.1
Correct payload format
More description on the Payload
1.4.2
FAQ:AT_ERROR, Battery Percentage info, FAQ for battery lift time, Video
instruction for single channel mode.
1.4.3
Improve description of Alarm button and Downlink ,
LGT-92 LoRa GPS Tracker User Manual
www.dragino.com
Date
2018-Dec-12
2019-Jan-23
2019-Feb-21
2019-Mar-29
2019-May-11
2019-May-14
2019-Jun-17
2019-Jul-22
1 / 36

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Dragino LGT-92 Series

  • Page 1 LGT-92 LoRaWAN GPS Tracker User Manual Document Version: 1.4.0 Image Version: v1.4 Version Description Date Release 2018-Dec-12 1.0.1 Correct GPS payload format in TTN 2019-Jan-23 1.0.2 Add more info for 8-Channel Mode Description 2019-Feb-21 1.0.3 Add LED description, Buttons, correct accelerometer payload info 2019-Mar-29 1.4.0...
  • Page 2 LGT-92 LoRa GPS Tracker User Manual 2 / 36...
  • Page 3: Table Of Contents

    Introduction ..........................5 What is LGT-92 LoRa GPS Tracker ....................5 Specifications ..........................6 Features ............................7 Applications ..........................7 Hardware Changelog ......................... 7 Variants ............................8 Use LGT-92 with stock LoRaWAN firmware ................9 How it works? ..........................9 Quick guide to connect to LoRaWAN server (OTAA) ..............
  • Page 4 What is the lifetime for battery? ....................29 Why there is 433/868/915 version? ..................29 What is the frequency range of LT LoRa part? ................. 29 How to change the LoRa Frequency Bands/Region? ..............30 Can I use Private LoRa protocol? ....................30 How to set up LGT-92 to work in 8 channel mode in US915, AU915, CN470 bands? ....
  • Page 5: Introduction

    LGT-92 includes a low power GPS module L70 and a 9-axis accelerometer for motion and attitude detection. The power for both of the GPS module and accelerometer can be controlled by MCU to achieve the best energy profile for different applications. LGT-92 series products include two major variants: ...
  • Page 6: 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 7: Features

     LoRa Transmit Mode: 125mA @ 20dBm 44mA @ 14dBm  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 ...
  • Page 8: Variants

    1.6 Variants Part Number Photo Hardware Difference Target Application LGT-92-LI --With Enclosure --Real time tracking --With 1000mA li-on battery --Short tracking period --Enable charge circuit --Rechargeable --FPC internal LoRa Antenna --Can power by USB port LGT-92-AA --Without Enclosure --Asset tracking --With (1.5v) AA type battery...
  • Page 9: 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 10: Quick Guide To Connect To Lorawan Server (Otaa)

    In case user can’t set the OTAA keys in the LoRaWAN OTAA server and has to use the keys from the server. User can use AT Command to set the keys in LGT-92. 2.2 Quick guide to connect to LoRaWAN server (OTAA)
  • Page 11 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 11 / 36...
  • Page 12 Step 2: Power on LGT-92 LoRaWAN GPS Tracker by using the on board switch. For LGT-92-LI, user can power it by USB cable as well. Step 3: LGT-92 will auto join to the TTN network. After join success, LGT92 will start to upload message to IoT server.
  • Page 13: 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. (User can use AT+SGM=0 to disable the motion sensor to get 8 payload)
  • Page 14: Add Payload Format In Ttn

    The battery info shows the current voltage, for LGT-92-LI version which powered by li-on battery. User can use below mapping to indicate the battery in percentage:  > 4.0v : 80% ~ 100%  3.85v ~3.99v: 60% ~ 80% ...
  • Page 15 |=0xFFFF0000; roll=value/100;//roll,units: ° value=bytes[10]<<8 | bytes[11]; if(bytes[10] & 0x80) value |=0xFFFF0000; pitch=value/100; //pitch,units: ° json={ roll:roll, pitch:pitch, batV:batV, alarm:alarm value=bytes[0]<<16 bytes[1]<<8 | bytes[2]; if(bytes[0] & 0x80) value |=0xFFFFFF000000; value2=bytes[3]<<16 bytes[4]<<8 | bytes[5]; if(bytes[3] & 0x80) value2 |=0xFFFFFF000000; (value 0x0FFFFF &&...
  • Page 16: Downlink Payload

    2.4 Downlink Payload Payload size Downlink Command FPort Code Function (bytes) Set AT+TDC (Transmit Time Ex: 0x0100012C (set time to 300s Interval) (0x12C)) Exit Alarm Interrupt Exit alarm Ex: 0x0201 Reset Device RESET Ex: 0x04FF The FPort no fix , if the payload=0100003C, means to control the END Node’s TDC to 0x00003C=60(S), while type code is 01.
  • Page 17: Button Function

    2.6 Button Function RESET button: Press this button will reboot the device. RED button: See work flow When press the Alarm button, Alarm flag in the payload will be set for the next 60 packets unless use downlink to exit the Alarm mode.
  • Page 18: 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 19 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 20: 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 21: 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 22 Step5: The led on the ST-LINK adapter will now blinking, once see it blinks; 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 23: 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 24 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 24 / 36...
  • Page 25 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 25 / 36...
  • Page 26: 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 27: 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 28 4. If you want to change frequency, modify the Preprocessor Symbols. For example, change EU868 to US915 5. Compile and build LGT-92 LoRa GPS Tracker User Manual 28 / 36...
  • Page 29: Faq

    6. FAQ 6.1 What is the lifetime for battery? It is hard to get an exact lifetime for the battery, the actually lifetime for battery depends on the battery type, GPS signal strength, upload periodically, use environment (indoor/outdoor). For example, if the lgt-92 is placed in indoor environment, it will take 150 seconds to try to get GPS fix and final it will fix fail.
  • Page 30: How To Change The Lora Frequency Bands/Region

    6.4 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.5 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 31: How To Set Up Lgt-92 To Work In 8 Channel Mode In Us915, Au915, Cn470 Bands

    6.6 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. Many gateways are 8 channel gateways, in such case, the OTAA joined time and uplink schedule is...
  • Page 32: What Is The Pin Mapping For The Usb Program Cable

    8 channel mode. The device will work in Channel 8-15 & 64-71 for OTAA, and channel 8-15 for Uplink. AU915 is similar. Below is the AU915 Uplink Channels. AU915 Uplink Channels(125KHz,4/5,Unit:MHz,CHS=0) ENABLE Channel 0-63 915.2 915.4 915.6 915.8...
  • Page 33: How To Set Up Lgt-92 To Work With Single Channel Gateway Such As Lg01/Lg02

    6.8 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. (Video Instruction: https://youtu.be/32eLnlYoLoI...
  • Page 34: Trouble Shooting

    7. Trouble Shooting 7.1 Why I can’t join TTN in US915 /AU915 bands? It is about the channels mapping. Please see this link for detail. 7.2 I see AT_ERROR when I type commands? When you type command, it is possible that the GPS communication conflict with TTL input so you see AT_ERROR.
  • Page 35: Order Info

    8. Order Info variants first: Part Number: LGT-92-XX-YYY XX: Major variant model  LI: Li-on battery version  DE: AA battery version YYY: The default frequency band  AS923: LoRaWAN AS923 band  AU915: LoRaWAN AU915 band  EU433: LoRaWAN EU433 band ...
  • Page 36: Reference

    11. Reference  Product Page DataSheet  Image Download  AT Command Manual  TTN Frequency Bands LGT-92 LoRa GPS Tracker User Manual 36 / 36...

This manual is also suitable for:

Lgt-92-liLgt-92-aa

Table of Contents