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