Wiki source code of LTC2 - LoRaWAN Temperature Transmitter User Manual
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | (% aria-label="image-20220611143226-1.png image widget" contenteditable="false" role="region" tabindex="-1" %) | ||
2 | ((( | ||
3 | (% style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||height="15" role="presentation" title="Click and drag to move" width="15"]] | ||
4 | ))) | ||
5 | |||
6 | (% style="text-align:center" %) | ||
7 | [[image:image-20220617163631-2.jpeg||height="704" width="617"]] | ||
8 | |||
9 | |||
10 | **Table of Contents:** | ||
11 | |||
12 | (% aria-label="macro:toc widget" contenteditable="false" role="region" tabindex="-1" %) | ||
13 | ((( | ||
14 | (% style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||height="15" role="presentation" title="Click and drag to move" width="15"]] | ||
15 | ))) | ||
16 | |||
17 | |||
18 | |||
19 | |||
20 | |||
21 | |||
22 | |||
23 | |||
24 | |||
25 | = 1. Introduction = | ||
26 | |||
27 | == 1.1 What is LTC2 LoRaWAN Temperature Transmitter == | ||
28 | |||
29 | ((( | ||
30 | |||
31 | |||
32 | ((( | ||
33 | The Dragino LTC2 Industrial LoRaWAN Temperature Transmitter is designed to monitor temperature for different environment. It supports to read (% style="color:#4472c4" %)**PT100 probe**(%%) and convert the value to temperature and uplink to IoT server via LoRaWAN protocol. | ||
34 | |||
35 | |||
36 | LTC2 supports (% style="color:#4472c4" %)**Datalog feature**(%%). User can retrieve the sensor value via LoRaWAN downlink command. | ||
37 | |||
38 | |||
39 | LTC2 is powered by (% style="color:#4472c4" %)**8500mA Li-SOCI2 battery**(%%) for long time measurement. The battery can run 2~~10 years depends on the network environment and working mode. | ||
40 | |||
41 | |||
42 | Each LTC2 has (% style="color:#4472c4" %)**two internal 24-bit ADC interfaces** (%%)and are calibrated on 12 set resistors to make sure the accuracy measurement on wide range. | ||
43 | |||
44 | |||
45 | LTC2 is LoRaWAN v1.0.3 compatible. Each LTC2 is pre-load with a set of unique keys for LoRaWAN registration, register these keys to local LoRaWAN server and it will auto connect after power on. | ||
46 | |||
47 | |||
48 | [[image:image-20220617164020-3.png||height="450" width="1084"]] | ||
49 | ))) | ||
50 | |||
51 | |||
52 | ))) | ||
53 | |||
54 | |||
55 | == 1.2 Features == | ||
56 | |||
57 | |||
58 | * LoRaWAN v1.0.3 Class A | ||
59 | * max: 2 x monitor temperature channels | ||
60 | * Support 3 -wire PT-100 | ||
61 | * 8500mAh Li-SOCI2 Battery | ||
62 | * Firmware upgrade via console | ||
63 | * Wall Mountable | ||
64 | * Configurable via LoRa or UART | ||
65 | * Datalog and retrieve via LoRaWAN | ||
66 | * Use pre-load PT100 probe or 3rd PT100 probe | ||
67 | * Factory calibration for different resistance range | ||
68 | * Support accuracy measure of resistance and upload | ||
69 | * Battery Monitoring and upload | ||
70 | |||
71 | (% style="display:none" %) ** ** | ||
72 | |||
73 | |||
74 | |||
75 | == 1.3 Applications == | ||
76 | |||
77 | * Logistics and Supply Chain Management | ||
78 | * Food management | ||
79 | * Cold chains solution | ||
80 | * Industrial Monitoring and Control | ||
81 | |||
82 | == 1.4 Hardware Change log == | ||
83 | |||
84 | LTC2 v1.0: Release. | ||
85 | |||
86 | |||
87 | == 1.5 Pin Definitions and Switch == | ||
88 | |||
89 | (% style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]][[image:1655456444657-750.png]](% title="Click and drag to resize" %) | ||
90 | |||
91 | === (% title="Click and drag to resize" %)1.5.1 J(%%)umper JP2 ( Power ON)(% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" tabindex="-1" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||data-widget="image" draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]][[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %)(% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220, 220, 220, 0.5); display:none" tabindex="-1" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||data-widget="image" draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]][[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %)(% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" tabindex="-1" %)(%%) === | ||
92 | |||
93 | Put a jumper on JP2 will power on the LTC2. | ||
94 | |||
95 | |||
96 | === 1.5.2 LED === | ||
97 | |||
98 | The LED will flash in below case. | ||
99 | |||
100 | 1. Send an uplink packet | ||
101 | |||
102 | === 1.5.3 PT100 Interfaces === | ||
103 | |||
104 | There are two independent channels to connect 2 x PT100 probes. | ||
105 | |||
106 | Each channel has 3-wire connection for 3-wire PT100 probes. | ||
107 | |||
108 | |||
109 | === 1.5.4 Reset Button === | ||
110 | |||
111 | Press this button will reboot the LTC2 | ||
112 | |||
113 | |||
114 | === 1.6 Probe Variant === | ||
115 | |||
116 | LTC2 provide default probe version. See below for the variant: | ||
117 | |||
118 | (% style="background-color:#f7faff; width:505px" %) | ||
119 | |=(% style="width: 70px;" %)**Model**|=(% style="width: 162px;" %)**Photo**|=(% style="width: 314px;" %)**Description** | ||
120 | |(% style="width:70px" %)LTC2-SI|(% style="width:162px" %)[[image:1655458404877-785.png]]|(% style="width:314px" %)((( | ||
121 | Standard IP68 Probe Version | ||
122 | |||
123 | * LTC2 with 1 x Standard IP68 PT100 probe. | ||
124 | * Installation: Insert | ||
125 | * Cable Length : 2m | ||
126 | * PT100 Class : Class A | ||
127 | * Probe Dimension: 4*30mm | ||
128 | * Measure Range: -50 ~~ 200 °C | ||
129 | * Suitable Environment: General environment | ||
130 | ))) | ||
131 | |(% style="width:70px" %)LTC2-LT|(% style="width:162px" %)[[image:image-20220617172838-2.png]]|(% style="width:314px" %)((( | ||
132 | Low Temperature Version | ||
133 | |||
134 | * LTC2 with 1 x Low Temperature PT100 probe. | ||
135 | * Installation: Insert | ||
136 | * Cable Length : 2m | ||
137 | * PT100 Class : Class A | ||
138 | * Probe Dimension: 4*30mm | ||
139 | * Measure Range: -196 ~~ 150 °C | ||
140 | * Suitable Environment: Low temperature measurement, such as COVID vaccine transport | ||
141 | ))) | ||
142 | |(% style="width:70px" %)LTC2-FS|(% style="width:162px" %)[[image:image-20220617172838-3.png]]|(% style="width:314px" %)((( | ||
143 | Food Safety Version | ||
144 | |||
145 | * LTC2 with 1 x Food Safety PT100 probe. | ||
146 | * Installation: Insert | ||
147 | * Cable Length : 2m | ||
148 | * PT100 Class : Class A | ||
149 | * Probe Dimension: 4*150mm | ||
150 | * Measure Range: -50 ~~ 200 °C | ||
151 | * Suitable Environment: Food temperature measurement | ||
152 | ))) | ||
153 | |(% style="width:70px" %)LTC2-FT|(% style="width:162px" %)[[image:image-20220617172838-4.png]]|(% style="width:314px" %)((( | ||
154 | Flat Type Version | ||
155 | |||
156 | * LTC2 with 1 x Flat Type PT100 probe. | ||
157 | * Installation: Attached | ||
158 | * Cable Length : 2m | ||
159 | * PT100 Class : Class A | ||
160 | * Probe Dimension: 8*25mm | ||
161 | * Measure Range: -50 ~~ 200 °C | ||
162 | * Suitable Environment: Attached to the measure point. | ||
163 | ))) | ||
164 | |(% style="width:70px" %)LTC2-HT|(% style="width:162px" %)[[image:image-20220617172838-5.png]]|(% style="width:314px" %)((( | ||
165 | High Temperature Version | ||
166 | |||
167 | * LTC2 with 1 x high temperature PT100 probe. | ||
168 | * Installation: Insert | ||
169 | * Cable Length : 3m | ||
170 | * PT100 Class : Class A | ||
171 | * Probe Dimension: 4*30mm | ||
172 | * Measure Range: -70 ~~ 550 °C | ||
173 | |||
174 | Suitable Environment: High Temperature | ||
175 | ))) | ||
176 | |(% style="width:70px" %)LTC2-NA|(% style="width:162px" %)[[image:image-20220617172838-6.png]]|(% style="width:314px" %)((( | ||
177 | No Probe version: | ||
178 | |||
179 | * User can connect to their own PT100 Probe | ||
180 | * Grand Hole: M12 | ||
181 | * Suitable Environment: | ||
182 | |||
183 | Connect to customized probe | ||
184 | ))) | ||
185 | |||
186 | = 2. How to use LTC2? = | ||
187 | |||
188 | == 2.1 Connect to PT100 sensors == | ||
189 | |||
190 | LTC2 has different probe option provided for ordering, if user has LTC2 with probe, just skip this step. If user want to connect to a 3^^rd^^ party PT100 probe, please see [[CONNECT A 3(% class="wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink" %)^^rd^^ PARTY PT100 probe>>path:#Customized_PT100]](%%). | ||
191 | |||
192 | |||
193 | === 2.2 How it works? === | ||
194 | |||
195 | ((( | ||
196 | The LTC2 is working in LoRaWAN OTAA Class A mode. Each LTC2 is shipped with a worldwide unique set of OTAA and ABP keys. User needs to input the OTAA or ABP keys in the LoRaWAN network server so to register. LTC2 will join the LoRaWAN network and start to transmit data. The default period for each uplink is **20 minutes**. | ||
197 | |||
198 | On each uplink, LTC2 will check its two ADC Interfaces and get the temperature from the sensor and send out to server. | ||
199 | ))) | ||
200 | |||
201 | |||
202 | |||
203 | == 2.3 Quick guide to connect to LoRaWAN server (OTAA) == | ||
204 | |||
205 | ((( | ||
206 | Here is an example for how to join the [[TTN v3 LoRaWAN >>url:https://eu1.cloud.thethings.network/]]Server. Below is the network structure, in this demo we use [[DLOS8>>url:https://www.dragino.com/products/lora-lorawan-gateway/item/140-lg308.html]] as LoRaWAN gateway. | ||
207 | |||
208 | (% style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]][[image:1655687566853-908.png]](% title="Click and drag to resize" %)[[image:1655687927369-781.png]] | ||
209 | ))) | ||
210 | |||
211 | (% title="Click and drag to resize" %)(%%)The DLOS8 is already set to connect to [[TTN >>url:https://eu1.cloud.thethings.network/]]. Rest we need to is register the LTC2 to TTN v3:(% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220, 220, 220, 0.5); display:none" tabindex="-1" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||data-widget="image" draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]][[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %)(% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" tabindex="-1" %)(%%) | ||
212 | |||
213 | ((( | ||
214 | |||
215 | |||
216 | === 2.3.1 Step 1: Create a device in TTN with the OTAA keys from LTC2 === | ||
217 | |||
218 | |||
219 | |||
220 | Below is TTN screen shot: | ||
221 | |||
222 | * Create Application first. | ||
223 | * Manually Add a LoRaWAN End Device device. Choose **OTAA** and **MAC v1.0.3** | ||
224 | |||
225 | [[image:1655690861020-685.png]] | ||
226 | |||
227 | |||
228 | [[image:1655690877643-259.png]] | ||
229 | |||
230 | |||
231 | Input the OTAA keys for LTC2. | ||
232 | |||
233 | Each LTC2 is shipped with a sticker with the default device EUI as below: | ||
234 | |||
235 | (% aria-label="image-20220607170145-1.jpeg image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20220607170145-1.jpeg||data-widget="image"]] | ||
236 | |||
237 | |||
238 | * **Input these keys to device portal.** | ||
239 | |||
240 | [[image:image-20220620100853-1.png]] | ||
241 | |||
242 | |||
243 | |||
244 | * **Choose the Frequency band for this end node.** | ||
245 | |||
246 | [[image:image-20220620100853-2.png]] | ||
247 | |||
248 | |||
249 | * **Input APP Key in this page as well. ** | ||
250 | |||
251 | [[image:image-20220620100853-3.png]] | ||
252 | |||
253 | |||
254 | |||
255 | Add payload formatter So TTNv3 knows how to parse the LTC2 upload value. | ||
256 | |||
257 | |||
258 | The payload for TTN can be found at below link: | ||
259 | |||
260 | https:~/~/www.dragino.com/downloads/downloads/LoRa_End_Node/LTC2/Decoder/ | ||
261 | |||
262 | [[image:image-20220620100853-4.png]] | ||
263 | |||
264 | |||
265 | |||
266 | |||
267 | === 2.3.2 Step 2: Power on LTC2 === | ||
268 | |||
269 | |||
270 | LTC2 is power off when ship from factory. | ||
271 | |||
272 | Put a Jumper on JP2 to power on the device. | ||
273 | |||
274 | |||
275 | [[image:1655691076464-442.png]] | ||
276 | |||
277 | |||
278 | |||
279 | After power on, LTC2 will auto join to TTN network via the LoRaWAN coverage by DLOS8. After join success, LTC2 will start to update message to IoT server. | ||
280 | |||
281 | Below is an example uplink message which shows the LTC2 is sending Join Request to TTNv3. | ||
282 | |||
283 | |||
284 | [[image:1655691086647-147.png]] | ||
285 | |||
286 | |||
287 | After join successful, LTC2 will send uplink message with the sensor value. | ||
288 | |||
289 | [[image:1655691100066-163.png]] | ||
290 | |||
291 | Above value shows Channel1 detect 25.94 degree. There is no PT100 connected on Channel 2, so it shows -327.67. | ||
292 | |||
293 | |||
294 | ))) | ||
295 | |||
296 | |||
297 | == 2.4 Uplink Payload == | ||
298 | |||
299 | ((( | ||
300 | ((( | ||
301 | ((( | ||
302 | Below is the uplink payload which shows | ||
303 | ))) | ||
304 | ))) | ||
305 | ))) | ||
306 | |||
307 | ((( | ||
308 | |||
309 | ))) | ||
310 | |||
311 | (% border="1" cellspacing="10" style="background-color:#ffffcc; width:510px" %) | ||
312 | |=(% style="width: 62.5px;" %)((( | ||
313 | **Size (bytes)** | ||
314 | )))|=(% style="width: 62.5px;" %)**2**|=**1**|=2|=2|=**4** | ||
315 | |(% style="width:62.5px" %)**Value**|((( | ||
316 | [[BAT>>||anchor="H2.4.1A0BatteryInfo"]] | ||
317 | |||
318 | |||
319 | )))|((( | ||
320 | [[Status & EXT>>||anchor="H"]] | ||
321 | )))|((( | ||
322 | [[Channel 1 data>>||anchor="H"]] | ||
323 | )))|((( | ||
324 | [[Channel 2 data>>||anchor="H"]] | ||
325 | )))|((( | ||
326 | [[Unix TimeStamp>>||anchor="H"]] | ||
327 | ))) | ||
328 | |||
329 | (% style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]] | ||
330 | |||
331 | |||
332 | ((( | ||
333 | === (% style="color:blue" %)**BAT**(%%) === | ||
334 | |||
335 | (% class="wikigeneratedid" %) | ||
336 | Ex1: 0x0E3C ⇒ 3644 (mV) = 3.644 V | ||
337 | |||
338 | (% class="wikigeneratedid" %) | ||
339 | |||
340 | ))) | ||
341 | |||
342 | ((( | ||
343 | === (% style="color:blue" %)**Status & EXT**(%%) === | ||
344 | ))) | ||
345 | |||
346 | [[image:image-20220620103724-6.png]] | ||
347 | |||
348 | * (% style="color:#037691" %)**Poll Message Flag**(%%): 1: This message is a poll message reply, 0: means this is a normal uplink. | ||
349 | * (% style="color:#037691" %)**Sync time OK**(%%): 1: Set time ok,0: N/A. After time SYNC request is send, device will set this bit to 0 until got the time stamp from application server. | ||
350 | * (% style="color:#037691" %)**Unix Time Request**(%%): 1: Request server downlink Unix time, 0 : N/A. In this mode, LTC2 will set this bit to 1 every 10 day to request a time SYNC. (AT+SYNCMOD to set this) | ||
351 | * (% style="color:#037691" %)**EXT**(%%): The decode method for Channel 1 data and Channel 2 data | ||
352 | ** 0b(0001): Upload PT100 temperature, with 2 decimals, range: **-327.67 ~~ 327.67 ℃** | ||
353 | ** 0b(0010): Upload PT100 temperature, with 1 decimals, range: ** -3276.7 ~~ 3276.7 ℃** | ||
354 | ** 0b(0011): Upload Resistance instead of Temperature, range: **-327.67~~ 327.67 ohm** | ||
355 | |||
356 | ((( | ||
357 | (% class="wikigeneratedid" %) | ||
358 | |||
359 | |||
360 | |||
361 | === (% style="color:blue" %)**Channel1 data and Channel 2 data**(%%) === | ||
362 | ))) | ||
363 | |||
364 | ((( | ||
365 | (% class="wikigeneratedid" %) | ||
366 | [[image:image-20220620103651-5.png]] | ||
367 | |||
368 | |||
369 | === (% style="color:blue" %)**Unix TimeStamp**(%%) === | ||
370 | ))) | ||
371 | |||
372 | Refer to Datalog feature. | ||
373 | |||
374 | (% style="color:#037691" %)**Example Uplink Payload**: | ||
375 | |||
376 | **Uplink payload example 1:** 0CE9011422EC2D6073E83B | ||
377 | |||
378 | * Bat voltage:0x0CE9 =3305mV | ||
379 | * Ext=0x01 | ||
380 | * Channel1 temp=0x1422/100=51.54 ℃ | ||
381 | * Channel2 temp=(0xEC2D-65536)/100=-50.75 ℃ | ||
382 | * System timestamp=0x6073E83B= 1618208827(UTC) | ||
383 | |||
384 | **Uplink payload example 2: ** 0CED020203FE056073E697 | ||
385 | |||
386 | * Bat voltage:0x0CED =3309mV | ||
387 | * Ext=0x02 | ||
388 | * Channel1 temp=0x0203/10=515.4 ℃ | ||
389 | * Channel2 temp=(0xFE05-65536)/10=-507.5 ℃ | ||
390 | * System timestamp=0x6073E697=1618208407(UTC) | ||
391 | |||
392 | **Uplink payload example 3 :** 0CE9032EDE1F406073E967 | ||
393 | |||
394 | * Bat voltage:0x0CE9 =3305mV | ||
395 | * Ext=0x03 | ||
396 | * Channel1 res=0x2EDE/100=119.98 ohm | ||
397 | * Channel2 res=0x1F40/100=80.00 ohm | ||
398 | * System timestamp=0x6073E967= 1618209127(UTC) | ||
399 | |||
400 | (% title="Click and drag to resize" %)(% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" tabindex="-1" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||data-widget="image" draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220, 220, 220, 0.5); display:none" tabindex="-1" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" tabindex="-1" title="Click and drag to resize" %)(% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220, 220, 220, 0.5); display:none" tabindex="-1" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||data-widget="image" draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]][[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %)(% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" tabindex="-1" %)(%%) | ||
401 | |||
402 | |||
403 | |||
404 | == 2.5 Datalog Feature == | ||
405 | |||
406 | LTC2 will auto get the time from LoRaWAN server during Join, and each uplink will then include a timestamp. When user want to retrieve sensor value, user can send a poll command from the IoT platform to ask sensor to send value in the required time slot. | ||
407 | |||
408 | |||
409 | === 2.5.1 Unix TimeStamp === | ||
410 | |||
411 | |||
412 | LTC2 uses Unix TimeStamp format based on | ||
413 | |||
414 | [[image:1655694312268-590.png]] | ||
415 | |||
416 | Users can get this time from the link: [[https:~~/~~/www.epochconverter.com/>>url:https://www.epochconverter.com/]] : | ||
417 | |||
418 | Below is the converter example | ||
419 | |||
420 | [[image:1655694332878-202.png]] | ||
421 | |||
422 | So, we can use AT+TIMESTAMP=1611889405 or downlink 3060137afd00 to set current time 2021 – Jan ~-~- 29 Friday 03:03:25 | ||
423 | |||
424 | |||
425 | === 2.5.2 Set Device Time === | ||
426 | |||
427 | ((( | ||
428 | ((( | ||
429 | There are two ways to set the device's time: | ||
430 | ))) | ||
431 | ))) | ||
432 | |||
433 | ((( | ||
434 | ((( | ||
435 | (% style="color:#4f81bd" %)**1. Through LoRaWAN MAC Command (Default settings)** | ||
436 | ))) | ||
437 | ))) | ||
438 | |||
439 | ((( | ||
440 | ((( | ||
441 | Users need to set SYNCMOD=1 to enable sync time via the MAC command. | ||
442 | ))) | ||
443 | ))) | ||
444 | |||
445 | ((( | ||
446 | Once LTC2 Joined LoRaWAN network, it will send the MAC command (DeviceTimeReq) and server will reply with (DeviceTimeAns) to send the current time to LTC2. If LTC2 fails to get the time from server, LTC2 will use the internal time and wait for next time request (AT+SYNCTDC to set time request period, default is 10 days). | ||
447 | |||
448 | |||
449 | ))) | ||
450 | |||
451 | ((( | ||
452 | ((( | ||
453 | (% style="color:red" %)**Note**(%%): (% style="color:#4f81bd" %)LoRaWAN Server needs to support LoRaWAN v1.0.3(MAC v1.0.3) (%%)or higher to support this MAC command feature, Chirpstack,TTN v3 and loriot support but TTN v2 doesn't support. If server doesn't support this command, it will through away uplink packet with this command, so user will lose the packet with time request for TTN v2 if SYNCMOD=1. | ||
454 | |||
455 | |||
456 | ))) | ||
457 | |||
458 | ((( | ||
459 | (% style="color:#4f81bd" %)**2. Manually Set Time** | ||
460 | ))) | ||
461 | |||
462 | ((( | ||
463 | Users need to set SYNCMOD=0 to manual time, otherwise, the user set time will be overwritten by the time set by the server. | ||
464 | ))) | ||
465 | ))) | ||
466 | |||
467 | |||
468 | |||
469 | === 2.5.3 Poll sensor value === | ||
470 | |||
471 | Users can poll sensor values based on timestamps. Below is the downlink command. | ||
472 | |||
473 | (% border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:453.989px" %) | ||
474 | |=(% colspan="4" style="width: 451px;" %)**Downlink Command to poll Open/Close status (0x31)** | ||
475 | |(% style="width:59px" %)**1byte**|(% style="width:126px" %)**4bytes**|(% style="width:138px" %)**4bytes**|(% style="width:128px" %)**1byte** | ||
476 | |(% style="width:59px" %)31|(% style="width:126px" %)Timestamp start|(% style="width:138px" %)Timestamp end|(% style="width:128px" %)Uplink Interval | ||
477 | |||
478 | ((( | ||
479 | |||
480 | ))) | ||
481 | |||
482 | ((( | ||
483 | Timestamp start and Timestamp end use Unix TimeStamp format as mentioned above. Devices will reply with all data log during this time period, use the uplink interval. | ||
484 | |||
485 | For example, downlink command[[image:image-20220620111056-7.png]] | ||
486 | ))) | ||
487 | |||
488 | ((( | ||
489 | Is to check 2021/5/16 01:00:00 to 2021/5/16 02:00:00's data | ||
490 | |||
491 | Uplink Internal =10s,means LTC2 will send one packet every 10s. range 5~~255s. | ||
492 | ))) | ||
493 | |||
494 | |||
495 | |||
496 | === 2.5.4 Datalog Uplink payload === | ||
497 | |||
498 | When server senser a datalog polling to LTC2, LTC2 will reply with one or more uplink messages as reply. Each uplink message includes multiply data entries value. Each entry has the same payload format as[[ normal uplink payload>>path:#uplink_paylpad]]. | ||
499 | |||
500 | |||
501 | **Note:** | ||
502 | |||
503 | * Poll Message Flag is set to 1. | ||
504 | * Each data entry is 11 bytes, to save airtime and battery, devices will send max bytes according to the current DR and Frequency bands. | ||
505 | |||
506 | For example, in US915 band, the max payload for different DR is: | ||
507 | |||
508 | a) DR0: max is 11 bytes so one entry of data | ||
509 | |||
510 | b) DR1: max is 53 bytes so devices will upload 4 entries of data (total 44 bytes) | ||
511 | |||
512 | c) DR2: total payload includes 11 entries of data | ||
513 | |||
514 | d) DR3: total payload includes 22 entries of data. | ||
515 | |||
516 | If devise doesn’t have any data in the polling time. Device will uplink 11 bytes of 0 | ||
517 | |||
518 | |||
519 | **Example:** | ||
520 | |||
521 | If LTC2 has below data inside Flash: | ||
522 | |||
523 | [[image:image-20220620134635-9.png]] | ||
524 | |||
525 | |||
526 | If user send below downlink command: | ||
527 | |||
528 | **3160A06E9060A098C00A** | ||
529 | |||
530 | Where : Start time: 60A06E90 = time 21/5/16 01:00:00 | ||
531 | |||
532 | Stop time: 60A098C0 = time 21/5/16 04:00:00 | ||
533 | |||
534 | |||
535 | LTC2 will uplink this payload. | ||
536 | |||
537 | |||
538 | [[image:image-20220620111850-8.png]] | ||
539 | |||
540 | (% style="color:red" %)**0E64410B49800160A072B8**(%%)0E61410B3F800160A077680E61410B33800160A07C180E64410B2C800160A080C80E64410B28800160A085780E64410B24800160A08A280E64410B23800160A08ED80E64410B22800160A09388(% style="color:red" %)**0E64410B1E800160A09838** | ||
541 | |||
542 | |||
543 | Where the first 11 bytes is for the first entry: | ||
544 | |||
545 | (% style="color:red" %)**0E64410B49800160A072B8** | ||
546 | |||
547 | Bat voltage:0x0E64 =3684mV | ||
548 | |||
549 | |||
550 | poll message flag & Ext=0x41,means reply data,Ext=1 | ||
551 | |||
552 | Channel1 temp=0x0B49/100=28.89℃ | ||
553 | |||
554 | Channel2 temp=0x8001/100=-327.67℃ | ||
555 | |||
556 | System timestamp=0x60A072B8= 1621127864(UTC) | ||
557 | |||
558 | |||
559 | |||
560 | == 2.6 Alarm Mode == | ||
561 | |||
562 | ((( | ||
563 | LTC2 can monito the temperature in every CTTEMP time, when the temperature exceed the limit , it will uplink the sensor value immediately. | ||
564 | |||
565 | Detail commands see: | ||
566 | |||
567 | [[(% class="wikiinternallink wikiinternallink wikiinternallink" %)**Enable Alarm Mode.**>>path:#Enable_Alarm]] | ||
568 | |||
569 | [[(% class="wikiinternallink wikiinternallink wikiinternallink" %)**Config Alarm Sampling Time.**>>path:#Alarm_Sampling_Time]] | ||
570 | |||
571 | [[(% class="wikiinternallink wikiinternallink wikiinternallink" %)**Set Alarm Threshold**>>path:#Alarm_ThresHold]] | ||
572 | |||
573 | |||
574 | ))) | ||
575 | |||
576 | |||
577 | = 3. Configure LTC2 via AT Command or LoRaWAN Downlink = | ||
578 | |||
579 | ((( | ||
580 | ((( | ||
581 | Use can configure LTC2 via AT Command or LoRaWAN Downlink. | ||
582 | ))) | ||
583 | ))) | ||
584 | |||
585 | * ((( | ||
586 | ((( | ||
587 | AT Command Connection: See [[FAQ>>||anchor="H6.A0FAQ"]]. | ||
588 | ))) | ||
589 | ))) | ||
590 | * ((( | ||
591 | ((( | ||
592 | LoRaWAN Downlink instruction for different platforms: [[IoT LoRaWAN Server>>doc:Main.WebHome]] | ||
593 | ))) | ||
594 | ))) | ||
595 | |||
596 | ((( | ||
597 | ((( | ||
598 | |||
599 | ))) | ||
600 | |||
601 | ((( | ||
602 | There are two kinds of commands to configure LTC2, they are: | ||
603 | ))) | ||
604 | ))) | ||
605 | |||
606 | * ((( | ||
607 | ((( | ||
608 | (% style="color:#4f81bd" %)** General Commands**. | ||
609 | ))) | ||
610 | ))) | ||
611 | |||
612 | ((( | ||
613 | ((( | ||
614 | These commands are to configure: | ||
615 | ))) | ||
616 | ))) | ||
617 | |||
618 | * ((( | ||
619 | ((( | ||
620 | General system settings like: uplink interval. | ||
621 | ))) | ||
622 | ))) | ||
623 | * ((( | ||
624 | ((( | ||
625 | LoRaWAN protocol & radio related command. | ||
626 | ))) | ||
627 | ))) | ||
628 | |||
629 | ((( | ||
630 | ((( | ||
631 | They are same for all Dragino Device which support DLWS-005 LoRaWAN Stack. These commands can be found on the wiki: [[End Device AT Commands and Downlink Command>>doc:Main.End Device AT Commands and Downlink Command.WebHome]] | ||
632 | ))) | ||
633 | ))) | ||
634 | |||
635 | ((( | ||
636 | ((( | ||
637 | |||
638 | ))) | ||
639 | ))) | ||
640 | |||
641 | * ((( | ||
642 | ((( | ||
643 | (% style="color:#4f81bd" %)** Commands special design for LTC2** | ||
644 | ))) | ||
645 | ))) | ||
646 | |||
647 | ((( | ||
648 | ((( | ||
649 | These commands only valid for LTC2, as below:(% title="Click and drag to resize" %) | ||
650 | ))) | ||
651 | ))) | ||
652 | |||
653 | (% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" tabindex="-1" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||data-widget="image" draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220, 220, 220, 0.5); display:none" tabindex="-1" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" tabindex="-1" title="Click and drag to resize" %) | ||
654 | |||
655 | |||
656 | |||
657 | == 3.1 Set Transmit Interval Time == | ||
658 | |||
659 | Feature: Change LoRaWAN End Node Transmit Interval. | ||
660 | |||
661 | (% style="color:#037691" %)**AT Command: AT+TDC** | ||
662 | |||
663 | (% aria-label="image-20220610173409-7.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20220610173409-7.png||data-widget="image"]](% style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %)(% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" tabindex="-1" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||data-widget="image" draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220, 220, 220, 0.5); display:none" tabindex="-1" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" tabindex="-1" title="Click and drag to resize" %)(% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220, 220, 220, 0.5); display:none" tabindex="-1" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||data-widget="image" draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]][[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %)(% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" tabindex="-1" %)(%%) | ||
664 | |||
665 | |||
666 | ((( | ||
667 | (% style="color:#037691" %)**Downlink Command: 0x01** | ||
668 | ))) | ||
669 | |||
670 | ((( | ||
671 | ((( | ||
672 | Format: Command Code (0x01) followed by 3 bytes time value. | ||
673 | |||
674 | ((( | ||
675 | If the downlink payload=0100003C, it means set the END Node's Transmit Interval to 0x00003C=60(S), while type code is 01. | ||
676 | ))) | ||
677 | |||
678 | * Example 1: Downlink Payload: 0100001E ~/~/ Set Transmit Interval (TDC) = 30 seconds | ||
679 | * Example 2: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds | ||
680 | ))) | ||
681 | ))) | ||
682 | |||
683 | |||
684 | |||
685 | |||
686 | == 3.2 Enable PT100 channels == | ||
687 | |||
688 | Feature: Enable PT100 channels. Default only Enable Channel 1 | ||
689 | |||
690 | (% style="color:#037691" %)**AT Command: AT+ENPTCHNUM** | ||
691 | |||
692 | (% border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:494px" %) | ||
693 | |=(% style="width: 165px;" %)**Command Example**|=(% style="width: 254px;" %)**Function**|=(% style="width: 73px;" %)**Response** | ||
694 | |(% style="width:165px" %)AT+ENPTCHNUM=?|(% style="width:254px" %)Get current ENPTCHNUM settings|(% style="width:73px" %)((( | ||
695 | 1 | ||
696 | |||
697 | |||
698 | OK | ||
699 | ))) | ||
700 | |(% style="width:165px" %)AT+ ENPTCHNUM =1|(% colspan="2" style="width:327px" %)Enable channel 1 | ||
701 | |(% style="width:165px" %)AT+ ENPTCHNUM =2|(% colspan="2" style="width:327px" %)Enable channel 1 and 2 | ||
702 | |||
703 | (% style="color:#037691" %)**Downlink Command: 0xA1** | ||
704 | |||
705 | Total bytes: 2 bytes | ||
706 | |||
707 | Example: | ||
708 | |||
709 | * 0xA101: same as AT+ENPTCHNUM =1 | ||
710 | * 0xA102: same as AT+ENPTCHNUM =2 | ||
711 | |||
712 | |||
713 | |||
714 | |||
715 | == 3.3 Set External Sensor Mode == | ||
716 | |||
717 | ((( | ||
718 | Feature: Change External Sensor Mode. | ||
719 | ))) | ||
720 | |||
721 | ((( | ||
722 | (% style="color:#037691" %)**Downlink Command: AT+EXT** | ||
723 | ))) | ||
724 | |||
725 | (% style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %)(% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" tabindex="-1" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||data-widget="image" draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220, 220, 220, 0.5); display:none" tabindex="-1" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" tabindex="-1" title="Click and drag to resize" %)(% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220, 220, 220, 0.5); display:none" tabindex="-1" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||data-widget="image" draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]][[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %)(% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" tabindex="-1" %)(%%) | ||
726 | |||
727 | (% border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:428px" %) | ||
728 | |(% style="width:155px" %)**Command Example**|(% style="width:180px" %)**Function**|(% style="width:90px" %)**Response** | ||
729 | |(% style="width:155px" %)AT+EXT=?|(% style="width:180px" %)Get current EXT settings|(% style="width:90px" %)((( | ||
730 | 1 | ||
731 | |||
732 | |||
733 | OK | ||
734 | ))) | ||
735 | |(% style="width:155px" %)AT+EXT=1|(% colspan="2" style="width:270px" %)Set EXT to 0b(0001) | ||
736 | |(% style="width:155px" %)AT+EXT=2|(% colspan="2" style="width:270px" %)Set EXT to 0b(0010) | ||
737 | |(% style="width:155px" %)AT+EXT=3|(% colspan="2" style="width:270px" %)Set EXT to 0b(0011) | ||
738 | |||
739 | (% style="color:#037691" %)**Downlink Command: 0xA2** | ||
740 | |||
741 | Total bytes: 2 bytes | ||
742 | |||
743 | Example: | ||
744 | |||
745 | * 0xA201: same as AT+EXT=1 | ||
746 | |||
747 | |||
748 | |||
749 | |||
750 | == 3.4 Quit AT Command == | ||
751 | |||
752 | Feature: Quit AT Command mode, so user need to input password again before use AT Commands. | ||
753 | |||
754 | (% style="color:#037691" %)**AT Command: AT+DISAT** | ||
755 | |||
756 | (% border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:446px" %) | ||
757 | |=(% style="width: 161px;" %)**Command Example**|=(% style="width: 193px;" %)**Function**|=(% style="width: 87px;" %)**Response** | ||
758 | |(% style="width:161px" %)AT+DISAT|(% style="width:193px" %)Quit AT Commands mode|(% style="width:87px" %)OK | ||
759 | |||
760 | |||
761 | (% style="color:#037691" %)**Downlink Command:** | ||
762 | |||
763 | No downlink command for this feature. | ||
764 | |||
765 | |||
766 | |||
767 | == 3.5 Set system time == | ||
768 | |||
769 | Feature: Set system time, unix format. [[See here for formmat detail.>>path:#TimeStamp]] | ||
770 | |||
771 | (% style="color:#037691" %)**AT Command:** | ||
772 | |||
773 | (% border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:506px" %) | ||
774 | |=(% style="width: 218px;" %)**Command Example**|=(% style="width: 285px;" %)**Function** | ||
775 | |(% style="width:218px" %)AT+TIMESTAMP=1611104352|(% style="width:285px" %)((( | ||
776 | OK | ||
777 | |||
778 | Set System time to 2021-01-20 00:59:12 | ||
779 | ))) | ||
780 | |||
781 | |||
782 | (% style="color:#037691" %)**Downlink Command:** | ||
783 | |||
784 | 0x306007806000 ~/~/ Set timestamp to 0x(6007806000),Same as AT+TIMESTAMP=1611104352 | ||
785 | |||
786 | |||
787 | |||
788 | == 3.6 Set Time Sync Mode == | ||
789 | |||
790 | Feature: Enable/Disable Sync system time via LoRaWAN MAC Command (DeviceTimeReq), LoRaWAN server must support v1.0.3 protocol to reply this command. | ||
791 | |||
792 | |||
793 | SYNCMOD is set to 1 by default. If user want to set a different time from LoRaWAN server, user need to set this to 0. | ||
794 | |||
795 | |||
796 | (% style="color:#037691" %)**AT Command:** | ||
797 | |||
798 | (% border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:473px" %) | ||
799 | |=(% style="width: 157px;" %)**Command Example**|=(% style="width: 313px;" %)**Function** | ||
800 | |(% style="width:157px" %)AT+SYNCMOD=1|(% style="width:313px" %)Enable Sync system time via LoRaWAN MAC Command (DeviceTimeReq) | ||
801 | |||
802 | |||
803 | (% style="color:#037691" %)**Downlink Command:** | ||
804 | |||
805 | 0x28 01 ~/~/ Same As AT+SYNCMOD=1 | ||
806 | |||
807 | 0x28 00 ~/~/ Same As AT+SYNCMOD=0 | ||
808 | |||
809 | |||
810 | |||
811 | == 3.7 Set Time Sync Interval == | ||
812 | |||
813 | Feature: Define System time sync interval. SYNCTDC default value: 10 days. | ||
814 | |||
815 | (% style="color:#037691" %)**AT Command:** | ||
816 | |||
817 | (% border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:469px" %) | ||
818 | |=**Command Example**|=(% style="width: 306px;" %)**Function** | ||
819 | |AT+SYNCTDC=0x0A|(% style="width:306px" %)Set SYNCTDC to 10 (0x0A), so the sync time is 10 days. | ||
820 | |||
821 | (% style="color:#037691" %)**Downlink Command:** | ||
822 | |||
823 | 0x29 0A ~/~/ Same as AT+SYNCTDC=0x0A | ||
824 | |||
825 | |||
826 | |||
827 | == 3.8 Retrieve data == | ||
828 | |||
829 | Feature: Retrieval data for specify time slot. | ||
830 | |||
831 | (% style="color:#037691" %)**AT Command**(%%)**:** | ||
832 | |||
833 | No AT Command, only valid for downlink command. | ||
834 | |||
835 | |||
836 | (% style="color:#037691" %)**Downlink Command:** | ||
837 | |||
838 | [[See Poll Sensor Value>>path:#Poll_Sensor]]. | ||
839 | |||
840 | |||
841 | |||
842 | == 3.9 Enable Alarm mode == | ||
843 | |||
844 | Feature: Enable Alarm Mode. | ||
845 | |||
846 | (% style="color:#037691" %)**AT Command: AT_WMOD** | ||
847 | |||
848 | Total bytes: 2 | ||
849 | |||
850 | Example: | ||
851 | |||
852 | 0xA500: AT+WMOD=0(default) | ||
853 | |||
854 | 0xA501: AT+WMOD=1(alarm mode) | ||
855 | |||
856 | |||
857 | (% style="color:#037691" %)**Downlink Command:** | ||
858 | |||
859 | [[See Poll Sensor Value>>path:#Poll_Sensor]]. | ||
860 | |||
861 | |||
862 | |||
863 | == 3.10 Alarm check time == | ||
864 | |||
865 | Feature: The time interval to check sensor value for Alarm. | ||
866 | |||
867 | (% style="color:#037691" %)**AT Command: AT+CITEMP** | ||
868 | |||
869 | Total bytes: 3 | ||
870 | |||
871 | Example: | ||
872 | |||
873 | 0xA60001: AT+CITEMP=1(default) | ||
874 | |||
875 | Set collection interval in 1min,only in alarm mode | ||
876 | |||
877 | |||
878 | (% style="color:#037691" %)**Downlink Command:** | ||
879 | |||
880 | [[See Poll Sensor Value>>path:#Poll_Sensor]]. | ||
881 | |||
882 | |||
883 | |||
884 | == 3.11 Set Alarm Threshold == | ||
885 | |||
886 | Feature: Set Alarm Threshold. | ||
887 | |||
888 | (% style="color:#037691" %)**AT Command: AT+ARTEMP** | ||
889 | |||
890 | Total bytes: 9 Unit: ℃ | ||
891 | |||
892 | Example: | ||
893 | |||
894 | A7FF380320FF380320 | ||
895 | |||
896 | AT+ARTEMP=-200,800,-200,800 | ||
897 | |||
898 | |||
899 | A7000A0064000A0065 | ||
900 | |||
901 | AT+ARTEMP=10,100,10,101 | ||
902 | |||
903 | Channel 1 operating temp:10~~100 | ||
904 | |||
905 | Channel 2 operating temp:10~~101 | ||
906 | |||
907 | |||
908 | (% style="color:#037691" %)**Downlink Command:** | ||
909 | |||
910 | [[See Poll Sensor Value>>path:#Poll_Sensor]]. | ||
911 | |||
912 | |||
913 | |||
914 | == 3.12 Set Calibrate Value == | ||
915 | |||
916 | Feature: Set Calibrate value for PT100 cable. Detail of use of this command please see [[connect to a customized PT100 Probe>>path:#Customized_PT100]]. | ||
917 | |||
918 | (% style="color:#037691" %)**AT Command: AT+RCABLE** | ||
919 | |||
920 | Total bytes: 5 | ||
921 | |||
922 | Example: | ||
923 | |||
924 | AT+RCABLE=296,300 | ||
925 | |||
926 | Channel 1 rcable=0x0128/1000=0.296R | ||
927 | |||
928 | Channel 2 rcable=0x012C/1000=0.300R | ||
929 | |||
930 | |||
931 | (% style="color:#037691" %)**Downlink Command:** | ||
932 | |||
933 | 0xA80128012C ~-~-> Same as AT+RCABLE=296,300 | ||
934 | |||
935 | |||
936 | |||
937 | == 3.13 Poll Calibrate Value == | ||
938 | |||
939 | Feature: Poll Calibrate value. LTC2 will reply with this command send an uplink to server. | ||
940 | |||
941 | (% style="color:#037691" %)**AT Command: No AT Command.** | ||
942 | |||
943 | |||
944 | (% style="color:#037691" %)**Downlink Command:** | ||
945 | |||
946 | Example: A901 | ||
947 | |||
948 | End nodes will send racable config to server | ||
949 | |||
950 | Like uplink payload: 010128012C | ||
951 | |||
952 | |||
953 | |||
954 | == 3.14 Print data entries base on page == | ||
955 | |||
956 | Feature: Print the sector data from start page to stop page (max is 400 pages). | ||
957 | |||
958 | (% style="color:#037691" %)**AT Command: AT+PDTA** | ||
959 | |||
960 | (% border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:731px" %) | ||
961 | |=(% style="width: 164px;" %)**Command Example**|=(% style="width: 563px;" %)**Response** | ||
962 | |(% style="width:164px" %)((( | ||
963 | AT+PDTA=259,260 | ||
964 | |||
965 | |||
966 | Print page 259 to 260 | ||
967 | )))|(% style="width:563px" %)((( | ||
968 | Stop Tx events when read sensor data | ||
969 | |||
970 | 8021600 systime= 2021/5/16 00:17:44 1 3684 Temp1=28.71 Temp2=-327.67 | ||
971 | |||
972 | 8021610 systime= 2021/5/16 00:37:44 1 3685 Temp1=28.78 Temp2=-327.67 | ||
973 | |||
974 | 8021620 systime= 2021/5/16 00:57:44 1 3684 Temp1=28.83 Temp2=-327.67 | ||
975 | |||
976 | 8021630 systime= 2021/5/16 01:17:44 1 3684 Temp1=28.89 Temp2=-327.67 | ||
977 | |||
978 | 8021640 systime= 2021/5/16 01:37:44 1 3681 Temp1=28.79 Temp2=-327.67 | ||
979 | |||
980 | 8021650 systime= 2021/5/16 01:57:44 1 3681 Temp1=28.67 Temp2=-327.67 | ||
981 | |||
982 | 8021660 systime= 2021/5/16 02:17:44 1 3684 Temp1=28.60 Temp2=-327.67 | ||
983 | |||
984 | 8021670 systime= 2021/5/16 02:37:44 1 3684 Temp1=28.56 Temp2=-327.67 | ||
985 | |||
986 | 8021680 systime= 2021/5/16 02:57:44 1 3684 Temp1=28.52 Temp2=-327.67 | ||
987 | |||
988 | 8021690 systime= 2021/5/16 03:17:44 1 3684 Temp1=28.51 Temp2=-327.67 | ||
989 | |||
990 | 80216A0 systime= 2021/5/16 03:37:44 1 3684 Temp1=28.50 Temp2=-327.67 | ||
991 | |||
992 | 80216B0 systime= 2021/5/16 03:57:44 1 3684 Temp1=28.46 Temp2=-327.67 | ||
993 | |||
994 | 80216C0 systime= 2021/5/16 04:17:44 1 3684 Temp1=28.40 Temp2=-327.67 | ||
995 | |||
996 | 80216D0 systime= 2021/5/16 04:37:44 1 3683 Temp1=28.37 Temp2=-327.67 | ||
997 | |||
998 | 80216E0 systime= 2021/5/16 04:57:44 1 3684 Temp1=28.36 Temp2=-327.67 | ||
999 | |||
1000 | 80216F0 systime= 2021/5/16 05:17:44 1 3685 Temp1=28.32 Temp2=-327.67 | ||
1001 | |||
1002 | Start Tx events | ||
1003 | |||
1004 | OK | ||
1005 | ))) | ||
1006 | |||
1007 | |||
1008 | (% style="color:#037691" %)**Downlink Command:** | ||
1009 | |||
1010 | No downlink commands for feature | ||
1011 | |||
1012 | |||
1013 | |||
1014 | |||
1015 | == 3.15 Print last few data entries == | ||
1016 | |||
1017 | Feature: Print the last few data entries | ||
1018 | |||
1019 | (% style="color:#037691" %)**AT Command: AT+PLDTA** | ||
1020 | |||
1021 | (% border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:636px" %) | ||
1022 | |=(% style="width: 154px;" %)**Command Example**|=(% style="width: 479px;" %)**Response** | ||
1023 | |(% style="width:154px" %)((( | ||
1024 | AT+PLDTA=5 | ||
1025 | |||
1026 | |||
1027 | |||
1028 | Print last 5 entries | ||
1029 | )))|(% style="width:479px" %)((( | ||
1030 | Stop Tx events when read sensor data | ||
1031 | |||
1032 | 1 systime= 2021/5/17 03:12:37 1 3681 Temp1=26.01 Temp2=-327.67 | ||
1033 | |||
1034 | 2 systime= 2021/5/17 03:17:37 1 3682 Temp1=26.02 Temp2=-327.67 | ||
1035 | |||
1036 | 3 systime= 2021/5/17 03:22:37 1 3687 Temp1=25.94 Temp2=-327.67 | ||
1037 | |||
1038 | 4 systime= 2021/5/17 03:27:37 1 3684 Temp1=25.95 Temp2=-327.67 | ||
1039 | |||
1040 | 5 systime= 2021/5/17 03:32:37 1 3684 Temp1=26.20 Temp2=-327.67 | ||
1041 | |||
1042 | Start Tx events | ||
1043 | |||
1044 | OK | ||
1045 | ))) | ||
1046 | |||
1047 | |||
1048 | (% style="color:#037691" %)**Downlink Command:** | ||
1049 | |||
1050 | No downlink commands for feature | ||
1051 | |||
1052 | |||
1053 | |||
1054 | == 3.16 Clear Flash Record == | ||
1055 | |||
1056 | Feature: Clear flash storage for data log feature. | ||
1057 | |||
1058 | (% style="color:#037691" %)**AT Command: AT+CLRDTA** | ||
1059 | |||
1060 | (% border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:511px" %) | ||
1061 | |=(% style="width: 157px;" %)**Command Example**|=(% style="width: 136px;" %)**Function**|=(% style="width: 213px;" %)**Response** | ||
1062 | |(% style="width:157px" %)AT+CLRDTA|(% style="width:136px" %)Clear date record|(% style="width:213px" %)((( | ||
1063 | Clear all stored sensor data… | ||
1064 | |||
1065 | OK | ||
1066 | ))) | ||
1067 | |||
1068 | |||
1069 | (% style="color:#037691" %)**Downlink Command: 0xA3** | ||
1070 | |||
1071 | * Example: 0xA301 ~/~/Same as AT+CLRDTA | ||
1072 | |||
1073 | |||
1074 | |||
1075 | = 4. Battery & How to replace = | ||
1076 | |||
1077 | == 4.1 Battery Type == | ||
1078 | |||
1079 | ((( | ||
1080 | LDDS04 is equipped with a [[8500mAH ER26500 Li-SOCI2 battery>>url:https://www.dragino.com/downloads/index.php?dir=datasheet/Battery/ER26500/]]. The battery is un-rechargeable battery with low discharge rate targeting for 8~~10 years use. This type of battery is commonly used in IoT target for long-term running, such as water meter. | ||
1081 | ))) | ||
1082 | |||
1083 | ((( | ||
1084 | The discharge curve is not linear so can’t simply use percentage to show the battery level. Below is the battery performance. | ||
1085 | ))) | ||
1086 | |||
1087 | (% aria-label="1654593587246-335.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:1654593587246-335.png||data-widget="image"]](% style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %)(% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220, 220, 220, 0.5); display:none; left:0px; top:-15px" tabindex="-1" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||data-widget="image" draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]][[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %)(% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background:url(~"http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png~") rgba(220, 220, 220, 0.5); left:0px; top:-15px" tabindex="-1" %)(%%) | ||
1088 | |||
1089 | |||
1090 | Minimum Working Voltage for the LDDS04: | ||
1091 | |||
1092 | LDDS04: 2.45v ~~ 3.6v | ||
1093 | |||
1094 | |||
1095 | |||
1096 | == 4.2 Replace Battery == | ||
1097 | |||
1098 | ((( | ||
1099 | Any battery with range 2.45 ~~ 3.6v can be a replacement. We recommend to use Li-SOCl2 Battery. | ||
1100 | ))) | ||
1101 | |||
1102 | ((( | ||
1103 | And make sure the positive and negative pins match. | ||
1104 | ))) | ||
1105 | |||
1106 | |||
1107 | |||
1108 | == 4.3 Power Consumption Analyze == | ||
1109 | |||
1110 | ((( | ||
1111 | Dragino Battery powered product are all runs in Low Power mode. We have an update battery calculator which base on the measurement of the real device. User can use this calculator to check the battery life and calculate the battery life if want to use different transmit interval. | ||
1112 | ))) | ||
1113 | |||
1114 | ((( | ||
1115 | Instruction to use as below: | ||
1116 | ))) | ||
1117 | |||
1118 | |||
1119 | **Step 1 :** Downlink the up-to-date DRAGINO_Battery_Life_Prediction_Table.xlsx from: | ||
1120 | |||
1121 | [[https:~~/~~/www.dragino.com/downloads/index.pHp?dir=LoRa_End_Node/Battery_Analyze/>>url:https://www.dragino.com/downloads/index.php?dir=LoRa_End_Node/Battery_Analyze/]] | ||
1122 | |||
1123 | |||
1124 | **Step 2 :** Open it and choose | ||
1125 | |||
1126 | * Product Model | ||
1127 | * Uplink Interval | ||
1128 | * Working Mode | ||
1129 | |||
1130 | And the Life expectation in difference case will be shown on the right. | ||
1131 | |||
1132 | (% aria-label="1654593605679-189.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:1654593605679-189.png||data-widget="image"]](% style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %)(% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220, 220, 220, 0.5); display:none" tabindex="-1" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||data-widget="image" draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]][[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %)(% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png) rgba(220, 220, 220, 0.5); left:0px; top:-15px" tabindex="-1" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||data-widget="image" draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220, 220, 220, 0.5); display:none; left:0px; top:-15px" tabindex="-1" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png) rgba(220, 220, 220, 0.5); left:0px; top:-15px" tabindex="-1" title="Click and drag to resize" %)(% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220, 220, 220, 0.5); display:none; left:0px; top:-15px" tabindex="-1" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||data-widget="image" draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]][[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %)(% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background:url(~"http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png~") rgba(220, 220, 220, 0.5); left:0px; top:-15px" tabindex="-1" %)(%%) | ||
1133 | |||
1134 | |||
1135 | The battery related documents as below: | ||
1136 | |||
1137 | * ((( | ||
1138 | [[Battery Dimension>>url:http://www.dragino.com/downloads/index.php?dir=datasheet/Battery/&file=LSN50-Battery-Dimension.pdf]], | ||
1139 | ))) | ||
1140 | * ((( | ||
1141 | [[Lithium-Thionyl Chloride Battery datasheet>>url:https://www.dragino.com/downloads/downloads/datasheet/Battery/ER26500/ER26500_Datasheet-EN.pdf]], | ||
1142 | ))) | ||
1143 | * ((( | ||
1144 | [[Lithium-ion Battery-Capacitor datasheet>>url:http://www.dragino.com/downloads/downloads/datasheet/Battery/SPC_1520_datasheet.jpg]], [[Tech Spec>>url:http://www.dragino.com/downloads/downloads/datasheet/Battery/SPC1520%20Technical%20Specification20171123.pdf]] | ||
1145 | ))) | ||
1146 | |||
1147 | (% aria-label="image-20220607172042-11.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20220607172042-11.png||data-widget="image"]](% style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %)(% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220, 220, 220, 0.5); display:none" tabindex="-1" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||data-widget="image" draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]][[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %)(% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220, 220, 220, 0.5); display:none; left:0px; top:-15px" tabindex="-1" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||data-widget="image" draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]][[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %)(% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background:url(~"http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png~") rgba(220, 220, 220, 0.5); left:0px; top:-15px" tabindex="-1" %)(%%) | ||
1148 | |||
1149 | |||
1150 | |||
1151 | === 4.3.1 Battery Note === | ||
1152 | |||
1153 | ((( | ||
1154 | The Li-SICO battery is designed for small current / long period application. It is not good to use a high current, short period transmit method. The recommended minimum period for use of this battery is 5 minutes. If you use a shorter period time to transmit LoRa, then the battery life may be decreased. | ||
1155 | ))) | ||
1156 | |||
1157 | |||
1158 | |||
1159 | === 4.3.2 Replace the battery === | ||
1160 | |||
1161 | ((( | ||
1162 | You can change the battery in the LSPH01.The type of battery is not limited as long as the output is between 3v to 3.6v. On the main board, there is a diode (D1) between the battery and the main circuit. If you need to use a battery with less than 3.3v, please remove the D1 and shortcut the two pads of it so there won’t be voltage drop between battery and main board. | ||
1163 | ))) | ||
1164 | |||
1165 | |||
1166 | ((( | ||
1167 | The default battery pack of LSPH01 includes a ER26500 plus super capacitor. If user can’t find this pack locally, they can find ER26500 or equivalence, which will also work in most case. The SPC can enlarge the battery life for high frequency use (update period below 5 minutes). | ||
1168 | ))) | ||
1169 | |||
1170 | |||
1171 | = 5. Use AT Command = | ||
1172 | |||
1173 | == 5.1 Access AT Commands == | ||
1174 | |||
1175 | LDDS04 supports AT Command set in the stock firmware. You can use a USB to TTL adapter to connect to LDDS04 for using AT command, as below. | ||
1176 | |||
1177 | (% aria-label="1654940081538-914.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:1654940081538-914.png||data-widget="image"]](% style="background:url(~"http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png~") rgba(220, 220, 220, 0.5); left:0px; top:-15px" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %) | ||
1178 | |||
1179 | |||
1180 | **Connection:** | ||
1181 | |||
1182 | (% style="background-color:yellow" %)** USB TTL GND <~-~-~-~-> GND** | ||
1183 | |||
1184 | (% style="background-color:yellow" %)** USB TTL TXD <~-~-~-~-> UART_RXD** | ||
1185 | |||
1186 | (% style="background-color:yellow" %)** USB TTL RXD <~-~-~-~-> UART_TXD** | ||
1187 | |||
1188 | |||
1189 | ((( | ||
1190 | ((( | ||
1191 | In the PC, you need to set the serial baud rate to (% style="color:green" %)**9600**(%%) to access the serial console for LDDS04. | ||
1192 | ))) | ||
1193 | |||
1194 | ((( | ||
1195 | LDDS04 will output system info once power on as below: | ||
1196 | ))) | ||
1197 | ))) | ||
1198 | |||
1199 | |||
1200 | (% aria-label="1654593712276-618.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:1654593712276-618.png||data-widget="image"]](% style="background:url(~"http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png~") rgba(220, 220, 220, 0.5); left:0px; top:-15px" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %) | ||
1201 | |||
1202 | Valid AT Command please check [[Configure Device>>||anchor="H3.A0ConfigureLDDS04viaATCommandorLoRaWANDownlink"]]. | ||
1203 | |||
1204 | |||
1205 | |||
1206 | = 6. FAQ = | ||
1207 | |||
1208 | == 6.1 How to change the LoRa Frequency Bands/Region == | ||
1209 | |||
1210 | You can follow the instructions for [[how to upgrade image>>||anchor="H2.9A0200BFirmwareChangeLog"]]. | ||
1211 | When downloading the images, choose the required image file for download. | ||
1212 | |||
1213 | |||
1214 | |||
1215 | = 7. Trouble Shooting = | ||
1216 | |||
1217 | == 7.1 AT Command input doesn't work == | ||
1218 | |||
1219 | In the case if user can see the console output but can’t type input to the device. Please check if you already include the (% style="color:green" %)**ENTER**(%%) while sending out the command. Some serial tool doesn’t send (% style="color:green" %)**ENTER**(%%) while press the send key, user need to add ENTER in their string. | ||
1220 | |||
1221 | ((( | ||
1222 | |||
1223 | ))) | ||
1224 | |||
1225 | |||
1226 | = 8. Order Info = | ||
1227 | |||
1228 | == 8.1 Main Device LDDS04 == | ||
1229 | |||
1230 | Part Number **:** (% style="color:blue" %)**LDDS04-XX** | ||
1231 | |||
1232 | |||
1233 | (% style="color:blue" %)**XX**(%%)**: **The default frequency band | ||
1234 | |||
1235 | * (% style="color:red" %)**AS923 **(%%)**:** LoRaWAN AS923 band | ||
1236 | * (% style="color:red" %)**AU915 **(%%)**:** LoRaWAN AU915 band | ||
1237 | * (% style="color:red" %)**EU433 **(%%)**:** LoRaWAN EU433 band | ||
1238 | * (% style="color:red" %)**EU868 **(%%)**:** LoRaWAN EU868 band | ||
1239 | * (% style="color:red" %)**KR920 **(%%)**:** LoRaWAN KR920 band | ||
1240 | * (% style="color:red" %)**US915 **(%%)**:** LoRaWAN US915 band | ||
1241 | * (% style="color:red" %)**IN865 **(%%)**:** LoRaWAN IN865 band | ||
1242 | * (% style="color:red" %)**CN470 **(%%)**:** LoRaWAN CN470 band | ||
1243 | |||
1244 | == 8.2 Probe Model == | ||
1245 | |||
1246 | Detail See [[Probe Option>>path:#Probe_Option]] Section | ||
1247 | |||
1248 | * A01A-15 | ||
1249 | * A02-15 | ||
1250 | * A13-15 | ||
1251 | * A16-15 | ||
1252 | |||
1253 | = 9. Packing Info = | ||
1254 | |||
1255 | |||
1256 | **Package Includes**: | ||
1257 | |||
1258 | * LDDS04 LoRaWAN 4-Channels Distance Sensor x 1 | ||
1259 | |||
1260 | **Dimension and weight**: | ||
1261 | |||
1262 | * Device Size: cm | ||
1263 | * Device Weight: g | ||
1264 | * Package Size / pcs : cm | ||
1265 | * Weight / pcs : g | ||
1266 | |||
1267 | = 10. Support = | ||
1268 | |||
1269 | * Support is provided Monday to Friday, from 09:00 to 18:00 GMT+8. Due to different timezones we cannot offer live support. However, your questions will be answered as soon as possible in the before-mentioned schedule. | ||
1270 | * Provide as much information as possible regarding your enquiry (product models, accurately describe your problem and steps to replicate it etc) and send a mail to [[support@dragino.com>>url:http://../../../../../../D:%5C%E5%B8%82%E5%9C%BA%E8%B5%84%E6%96%99%5C%E8%AF%B4%E6%98%8E%E4%B9%A6%5CLoRa%5CLT%E7%B3%BB%E5%88%97%5Csupport@dragino.com]]. |