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...
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? ....
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: ...
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...
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.
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.
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)
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% ...
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.
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.
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...
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...
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.
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...
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...
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...
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.
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.
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...
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...
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...
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.
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 ...
Need help?
Do you have a question about the LGT-92 Series and is the answer not in the manual?
Questions and answers