15.05.2021
Dragino LGT92 - LoRaWAN GPS Tracker with 9-axis accelerometer
Specification:
System:
STM32L072CZT6
Flash:192KB
RAM:20KB
EEPROM:6KB
GPS,L76-L:
Acquisition: 16mA
Tracking: 13mA
Cold Start: <35s
8uA@Backup Mode
Warm Start: <30s
Accuracy: < 2.5m CEP
ReHot Start: <1s
Accelerometer:
MPU9250 9-axis
triple-axis MEMS gyroscope
triple-axis MEMS accelerometer
triple-axis MEMS magnetometer
3.5mA operating current
Power Comsuption:
Sleeping Mode: 77uA (for LGT-92-LI), 3uA (for LGT-92-AA)
Tracking: max: 38mA
LoRa Transmit: 24 ~ 150mA
https://www.dragino.com/products/lora/item/142-lgt-92.html
https://www.dragino.com/downloads/downloads/LGT_92/Datasheet_LGT-92.pdf
https://docs.helium.com/use-the-network/coverage-mapping/mappers-quickstart/
https://www.antratek.com/lorawan-gps-tracker-with-9-axis-accelerometer
vs RAK7200 GPS tracker : ( https://www.reichelt.de/ro/de/lora-wan-sensor-asset-tracking-location-based-services-rak-7200-p271526.html?r=1 )
1. buy
2. configure it in helium console: https://console.helium.com/ using https://docs.helium.com/use-the-network/coverage-mapping/mappers-quickstart/ (keep the IDs configured already in the device)
3. link it to PC with a USB 2 TTL adapter , see what's there; change some parameters over serial : AT+FTIME=0 ; AT+TDC=6000
4. integrate in:
- https://console.helium.com/
- https://cargo.helium.com/ Decoders: https://github.com/helium/console-decoders/tree/master/Dragino/LGT92 ; https://github.com/helium/cargo-elixir
- https://mydevices.com/ / Login / Cayenne
- https://tago.io/
- https://mappers.helium.com/ and https://helium-mappers-v2.herokuapp.com/
- https://app.datacake.de/
Enjoy
Serial AT Commands:
https://www.dragino.com/products/lora/item/142-lgt-92.html
https://wiki.dragino.com/index.php?title=End_Device_AT_Commands_and_Downlink_Commands
15.05.2021 First 3 coverage spots on the map of Bucharest : https://mappers.helium.com/
LGT92 with default settings + "AT+FTIME=0"
M = Helium LoraWAN Hotspots / Miners
Log .
Default config on the device is displayed with "AT+CFG" command:
AT+CFG
AT+DEUI=xxxxx
AT+DADDR=xxxxx
AT+APPKEY=xxxxx
AT+NWKSKEY=xxxxx
AT+APPSKEY=xxxxx
AT+APPEUI=xxxxx
AT+ADR=1
AT+TXP=0
AT+DR=0
AT+DCS=0
AT+PNM=1
AT+RX2FQ=869525000
AT+RX2DR=0
AT+RX1DL=1000
AT+RX2DL=2000
AT+JN1DL=5000
AT+JN2DL=6000
AT+NJM=1
AT+NWKID=00 00 00 00
AT+FCU=0
AT+FCD=0
AT+CLASS=A
AT+NJS=0
AT+RECVB=0:
AT+RECV=0:
AT+RJTDC=20
AT+RPL=0
AT+VER=v1.6.5 EU868
AT+HWVER=v1.6.5,ublox-MAX7
AT+CFM=0
AT+CFS=0
AT+SNR=0
AT+RSSI=0
AT+ACE=60000
AT+KAT=3600000
AT+FTIME=150 (default) // 0 :
(The GPS module will be always powered and positioning. This will highly
increase the power consumption(up to 50mA). When AT+FTIME=0, it
willimprove fix accuracy and shorten the acquire time for next uplink.)
AT+LOGGPS=0
AT+TDC=300000 (default) // 6000 ms (min value) : Application Data Transmission Interval in ms; GPS will need anyway around 30 sec to get the position so we are limited by this.
AT+PORT=2
AT+RX1WTO=6
AT+RX2WTO=6
AT+SGM=1
AT+MD=1
AT+LON=1
AT+MLON=0
AT+PDOP=3.00
AT+NMEA353=0
AT+NMEA886=1
AT+MOD=0
AT+CHS=0
AT+BAT=4023
Serial console log: Power on, join Helium LoRaWAN network, send GPS data :
LGT-92 Device
Image Version: v1.6.5
LoRaWan Stack: DR-LWS-005
Frequency Band: EU868
DevEui= xxxxx
Please use AT+DEBUG to see debug info
***** UpLinkCounter= 0 *****
[16:08:35.268] TX on freq 868.500 MHz at DR 5
[16:08:35.309] txDone
[16:08:40.324] RX on freq 868.500 MHz at DR 5
[16:08:40.338] rxTimeOut
[16:08:41.364] RX on freq 869.525 MHz at DR 0
[16:08:41.543] rxTimeOut
[16:08:42.273]
[16:08:42.705] ***** UpLinkCounter= 0 *****
TX on freq 868.300 MHz at DR 5
txDone
[16:08:47.775] RX on freq 868.300 MHz at DR 5
[16:08:47.782] rxTimeOut
[16:08:48.798] RX on freq 869.525 MHz at DR 0
[16:08:48.978] rxTimeOut
[16:08:49.709]
................................
[16:13:51.605] ***** UpLinkCounter= 0 *****
TX on freq 868.500 MHz at DR 1
[16:13:52.404] txDone
[16:13:57.444] RX on freq 868.500 MHz at DR 1
[16:13:58.412] rxDone
[16:13:59.163] Rssi= -123
JOINED
Join Accept:
Rx1DrOffset:0
Rx2Datarate:0
ReceiveDelay1:1000 ms
ReceiveDelay2:2000 ms
[16:14:05.316] Roll=94.33 Pitch=83.83
[331155]North: 44.xx
[331157]East: 26.xx
[331159]PDOP is 4.10
[331159]Satellite: 4.16
Altitude:0.0* Fix_Time:5
data_success
[16:14:06.324]
***** UpLinkCounter= 0 *****
[16:14:06.724] TX on freq 867.300 MHz at DR 0
[16:14:06.753] Update Interval: 6000 ms
[16:14:08.186] txDone
[16:14:09.241] RX on freq 867.300 MHz at DR 0
[16:14:09.419] rxTimeOut
[16:14:10.243] RX on freq 869.525 MHz at DR 0
[16:14:10.514] rxTimeOut
[16:14:26.317] Roll=94.87 Pitch=83.82
[352156]North: 44.xx
[352158]East: 26.xx
[352159]PDOP is 2.49
[352159]Satellite: 4.17
Altitude:76.3M Fix_Time:14
data_success
[16:14:27.327]
***** UpLinkCounter= 1 *****
[16:14:27.726] TX on freq 868.100 MHz at DR 0
[16:14:27.755] Update Interval: 6000 ms
[16:14:29.187] txDone
[16:14:30.243] RX on freq 868.100 MHz at DR 0
[16:14:30.420] rxTimeOut
[16:14:31.243] RX on freq 869.525 MHz at DR 0
[16:14:31.421] rxTimeOut
[16:14:42.324] Roll=94.46 Pitch=83.80
[368162]North: 44.xx
[368164]East: 26.xx
[368166]PDOP is 2.39
[368166]Satellite: 7.17
Altitude:93.0M Fix_Time:8
data_success
Debug Request
{ "id": "xxxx", "name": "Mappers Integration", "status": "success", "decoded_payload": { "ALARM_status": true, "Accuracy": 3, "Altitude": 0, "BatV": 3.762, "FW": 154, "LON": "ON", "Latitude": 44.xx, "Longitude": 26.xxx, "MD": "Move", "Pitch": 0, "Roll": 0 } }
LoRaWAN GPS data packets transferred by the Hotspot/Miner:
https://explorer.helium.com/hotspots/112h37tttxnewVCeaMFRN5efbfkUsU2E8QbzoxR2PXfTiPHfHqzy
https://explorer.helium.com/txns/b3NLQHsA6DhXqbRFh5BjjPesD0NB03uBbnGm5Hm7jdA
Hotspot Packets Sent Data Sent Data Credits
Rural Hickory Donkey 41 984 Bytes 41
"Data Credits allow users to transfer bytes of data via Helium LongFi and use for blockchain transaction fees. The price of Data Credits is fixed in USD (1 Data Credit = $0.00001)"
1 DC = 24 Byte Packet = $0.00001 USD (Credit Card purchases: minimum $10)
1 USD = 100,000 DC
16.05.2021 - Bucharest LoraWAN Helium hotspot map
17.05.2021 Mapping Bucharest, first spots .... https://mappers.helium.com/
18.05.2021 Integration in Helium Cargo OK. Decoder : https://justpaste.it/38je6
Hexagons are imported from https://mappers.helium.com/ and mapped previously
18.05.20121 Integration in mydevices.com OK. No decoder needed. (Android .apk , Cayenne mydevices, outdated, google it)
SINR graph in Bucharest:
https://www.netmanias.com/en/?m=view&id=oneshot&no=15098
18.05.2021 - Mapping status in Europe
23.05.2021 Mapping Bucharest
22.06.2021 Mapping Brasov and DN1
25.06.2021 https://www.helium.com/mappers
26.06.2021 New explorer: https://explorer-beta.helium.com/hotspots/hex/881eeeb6b5fffff
AQAABQ== : set it to 15 seconds uplinks ; port: 2
Send packet to the GPS when in it is in "Idle"
https://twitter.com/sharespotPT/status/1408614607191785472
27.06.2021
28.06.2021 New Mapper in Iasi :
- ◥(ºᵥᵥº)◤ in Bucharest / DN1 / Brasov
- K1 CC Mapper in Iasi
09.07.2021 Mapping Brasov
18.07.2021 Messages: Join Request / Join Accept
Join request
Event Information
a few seconds ago
{
"id": "2cb4c736-74b4-4a3d-ac09-0cb257f8be56",
"router_uuid": "351a476c-7288-4b16-9e0d-a0775c50c270",
"category": "join_request",
"sub_category": "undefined",
"description": "Join request from AppEUI: A00000000000xxxx DevEUI: A840xxxxxx",
"payload": "",
"payload_size": 0,
"port": 0,
"reported_at": "1626588845229"
}
Device Information
{
"name": "xxxDevice_namexxx ",
"devaddr": "700000xxx"
}
Hotspot
{
"channel": 2,
"frequency": 868.5,
"id": "11sUpzsDyPEuwUYJMhnDTxWTGjRhk1GmehGcChbmpBnohZKLgBY",
"lat": 45.643016695891404,
"long": 25.604807037259135,
"name": "kind-jetblack-antelope",
"rssi": -115,
"snr": -7,
"spreading": "SF12BW125"
}
Join accept
Event Information
a few seconds ago
{
"id": "196e81cc-623b-4ab6-b55a-4e3812982178",
"router_uuid": "0fa41302-8c0b-4a81-85ce-1287d972adcf",
"category": "join_accept",
"sub_category": "undefined",
"description": "Join accept from AppEUI: A0000000xxxxxx DevEUI: A840xxxxxxxx",
"payload": "IFtvwg6G+6NkCBSpbKdqDY7q2oAtuU5IrNKd/qPkWwma",
"payload_size": 33,
"port": 0,
"reported_at": "1626588850425"
}
Device Information
{
"name": "xxxDevice_namexxx ",
"devaddr": "70000xxx"
}
Hotspot
{
"channel": 2,
"frequency": 868.5,
"id": "11sUpzsDyPEuwUYJMhnDTxWTGjRhk1GmehGcChbmpBnohZKLgBY",
"lat": 45.643016695891404,
"long": 25.604807037259135,
"name": "kind-jetblack-antelope",
"rssi": 14,
"snr": 0,
"spreading": "SF12BW125"
}
21.08.2021 Most of Brasov mapped already
23.09.2021 Dragino GPS tracking https://cargo.helium.com/
Pretty good post. I just stumbled upon your blog and wanted to say that I have really enjoyed reading your blog posts. Any way I'll be subscribing to your feed and I hope you post again soon. Big thanks for the useful info. helium miners for sale
ReplyDelete