Wiki source code of GroPoint Air-M -- LoRaWAN Multi Segment Soil Sensor Converter User Manual
Last modified by Xiaoling on 2025/04/25 10:03
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | |||
2 | |||
3 | (% aria-label="image-20220530000243-1.png image widget" contenteditable="false" role="region" tabindex="-1" %) | ||
4 | ((( | ||
5 | (% data-widget="image" style="text-align:center" %) | ||
6 | [[image:image-20220530000243-1.png||height="332" width="531"]](% title="Click and drag to resize" %) | ||
7 | |||
8 | (% style="background-image:url(http://wiki.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"]] | ||
9 | ))) | ||
10 | |||
11 | |||
12 | |||
13 | |||
14 | |||
15 | |||
16 | |||
17 | |||
18 | **Table of Contents:** | ||
19 | |||
20 | (% aria-label="macro:toc widget" contenteditable="false" role="region" tabindex="-1" %) | ||
21 | ((( | ||
22 | |||
23 | ))) | ||
24 | |||
25 | {{toc/}} | ||
26 | |||
27 | |||
28 | |||
29 | |||
30 | |||
31 | |||
32 | |||
33 | = 1. Introduction = | ||
34 | |||
35 | == 1.1 What is GroPoint Air == | ||
36 | |||
37 | |||
38 | ((( | ||
39 | The Dragino GroPoint is a (% style="color:blue" %)**LoRaWAN Multi Soil Segment Converter**(%%) for IoT of Agriculture. It is designed to connect to [[GroPoint Profile Multi-depth Soil moisture and temperature profile Sensor>>url:https://www.gropoint.com/products/soil-sensors/gropoint-profile]] and get GroPoint Profile's reading and send it to IoT server via LoRaWAN wireless network. | ||
40 | ))) | ||
41 | |||
42 | ((( | ||
43 | (% style="color:blue" %)**GroPoint Profile is plug-and-play with GroPoint Air**(%%) to get soil moisture and send via wireless. GroPoint Profile is powered by GroPoint Air, (% style="color:blue" %)**no need external power source**(%%). | ||
44 | ))) | ||
45 | |||
46 | ((( | ||
47 | The LoRa wireless technology used in GroPoint Air allows devices to send data and reach extremely long ranges at low data-rates. It provides ultra-long range spread spectrum communication and high interference immunity whilst minimizing current consumption. | ||
48 | ))) | ||
49 | |||
50 | ((( | ||
51 | GroPoint Air is powered by (% style="color:blue" %)**an 8500mAh Li-SOCI2 battery**(%%), it is designed for long-term use for up to 5 years. | ||
52 | ))) | ||
53 | |||
54 | ((( | ||
55 | Each GroPoint Air is pre-load with a set of unique keys for LoRaWAN registrations, register these keys to the local LoRaWAN server and it will auto-connect after power on. | ||
56 | ))) | ||
57 | |||
58 | (% aria-label="image-20220530002019-2.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20220530002019-2.png||data-widget="image" height="295" width="655"]](% title="Click and drag to resize" %) | ||
59 | |||
60 | == 1.2 Features == | ||
61 | |||
62 | |||
63 | * LoRaWAN 1.0.3 Class A | ||
64 | * Ultra-low power consumption | ||
65 | * Supports GroPoint Profile | ||
66 | * Bands: CN470/EU433/KR920/US915/EU868/AS923/AU915/IN865 | ||
67 | * AT Commands to change parameters | ||
68 | * Uplink on periodically | ||
69 | * Downlink to change configure | ||
70 | * IP66 Waterproof Enclosure | ||
71 | * 8500mAh Battery for long term use | ||
72 | |||
73 | == 1.3 Probe Specification == | ||
74 | |||
75 | |||
76 | ((( | ||
77 | GroPoint Air includes an M12 5-pin connector, the pins definition matches GroPoint Profile M12 version probes. Users can connect this connector to GroPoint Profile directly. | ||
78 | ))) | ||
79 | |||
80 | ((( | ||
81 | GroPoint Profile includes a series of multi-depth soil moisture and temperature sensors. The specification for GroPoint Profile can be found here: [[https:~~/~~/www.gropoint.com/products/soil-sensors/gropoint-profile>>https://www.gropoint.com/products/soil-sensors/gropoint-profile]] | ||
82 | ))) | ||
83 | |||
84 | |||
85 | == 1.4 Applications == | ||
86 | |||
87 | |||
88 | * Smart Agriculture | ||
89 | |||
90 | == 1.5 Pin Mapping == | ||
91 | |||
92 | |||
93 | Inner PCB Pin mapping for reference: | ||
94 | |||
95 | (% aria-label="image-20220530002453-3.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20220530002453-3.png||data-widget="image" height="262" width="493"]](% style="background-image:url(http://wiki.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" %) | ||
96 | |||
97 | |||
98 | = 2. Connect LoRaWAN Network = | ||
99 | |||
100 | == 2.1 LED Indicator == | ||
101 | |||
102 | |||
103 | The GroPoint Air has an internal LED which can show the status of different states. | ||
104 | |||
105 | * The sensor is detected when the device is turned on, and it will flash 4 times quickly when it is detected. | ||
106 | * Blink once when device transmits a packet. | ||
107 | |||
108 | == 2.2 Firmware and Changelog == | ||
109 | |||
110 | |||
111 | ((( | ||
112 | Firmware Download Location: [[https:~~/~~/www.dropbox.com/sh/xjj8dh5zs1zre20/AAB5pGtSHItnTrpPLUpRNJAYa?dl=0>>https://www.dropbox.com/sh/xjj8dh5zs1zre20/AAB5pGtSHItnTrpPLUpRNJAYa?dl=0]] | ||
113 | ))) | ||
114 | |||
115 | ((( | ||
116 | Change Log: | ||
117 | ))) | ||
118 | |||
119 | ((( | ||
120 | v1.0: Release. | ||
121 | ))) | ||
122 | |||
123 | |||
124 | = 3. How to use? = | ||
125 | |||
126 | == 3.1 Connect to GroPoint Profile == | ||
127 | |||
128 | |||
129 | ((( | ||
130 | GroPoint Air must be used with [[GroPoint Profile>>https://www.gropoint.com/products/soil-sensors/gropoint-profile]]. There are different interface model from GroPoint, users need to choose the one: | ||
131 | ))) | ||
132 | |||
133 | * ((( | ||
134 | Support RS485 Interface | ||
135 | ))) | ||
136 | * ((( | ||
137 | with M12 5pin connector. | ||
138 | ))) | ||
139 | |||
140 | ((( | ||
141 | Such model in GroPoint Profile is: (% style="color:blue" %)**2625-N-T-x-M-M **(%%)(Where x is different depending on how many levels it detects). | ||
142 | ))) | ||
143 | |||
144 | |||
145 | == 3.2 Connect to LoRaWAN Network? == | ||
146 | |||
147 | |||
148 | Each GroPoint Air is shipped with a worldwide unique set of OTAA keys. To use GroPoint Air in a LoRaWAN network, user needs to input the OTAA keys in the LoRaWAN network server. So GroPoint Air can join the LoRaWAN network and start to transmit sensor data | ||
149 | |||
150 | |||
151 | == 3.3 Example to use for LoRaWAN network == | ||
152 | |||
153 | |||
154 | ((( | ||
155 | This section shows an example of how to join the TTN V3 LoRaWAN IoT server. Usages with other LoRaWAN IoT servers are similar. | ||
156 | ))) | ||
157 | |||
158 | * ((( | ||
159 | In this use case, the GroPoint Air measures soil moisture and temperature and sends the status to the LoRaWAN server.The GroPoint Air will uplink different types of messages to the LoRaWAN server. See [[Uplink payload>>||anchor="H3.4A0UplinkPayloadAnalyze"]] for detail. | ||
160 | ))) | ||
161 | |||
162 | ((( | ||
163 | Assume the DLOS8 is already set to connect to the [[TTN V3 network >>url:https://eu1.cloud.thethings.network/]]. We need to add the GroPoint Air device in TTN V3: | ||
164 | ))) | ||
165 | |||
166 | ((( | ||
167 | |||
168 | ))) | ||
169 | |||
170 | ((( | ||
171 | (% style="color:blue" %)**Step 1**(%%): Create a device in TTN V3 with the OTAA keys from GroPoint Air. | ||
172 | ))) | ||
173 | |||
174 | ((( | ||
175 | Each GroPoint Air is shipped with a sticker with the default device EUI as below: | ||
176 | ))) | ||
177 | |||
178 | [[image:image-20230426084611-1.png||height="238" width="512"]](% style="display:none" %) | ||
179 | |||
180 | (% title="Click and drag to resize" %) | ||
181 | |||
182 | You can enter this key in the LoRaWAN Server portal. Below is TTN screen shot: | ||
183 | |||
184 | **Create the application.** | ||
185 | |||
186 | [[image:https://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/SAC01L_LoRaWAN_Temperature%26Humidity_Sensor_User_Manual/WebHome/image-20250423093843-1.png?width=756&height=264&rev=1.1||alt="image-20250423093843-1.png"]] | ||
187 | |||
188 | [[image:https://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LTC2-LB--LoRaWAN_Temperature_Transmitter_User_Manual/WebHome/image-20240907111305-2.png?width=1000&height=572&rev=1.1||alt="image-20240907111305-2.png"]] | ||
189 | |||
190 | **Add devices to the created Application.** | ||
191 | |||
192 | [[image:https://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LTC2-LB--LoRaWAN_Temperature_Transmitter_User_Manual/WebHome/image-20240907111659-3.png?width=977&height=185&rev=1.1||alt="image-20240907111659-3.png"]] | ||
193 | |||
194 | [[image:https://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LTC2-LB--LoRaWAN_Temperature_Transmitter_User_Manual/WebHome/image-20240907111820-5.png?width=975&height=377&rev=1.1||alt="image-20240907111820-5.png"]] | ||
195 | |||
196 | |||
197 | **Enter end device specifics manually.** | ||
198 | |||
199 | [[image:https://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LTC2-LB--LoRaWAN_Temperature_Transmitter_User_Manual/WebHome/image-20240907112136-6.png?width=697&height=687&rev=1.1||alt="image-20240907112136-6.png"]] | ||
200 | |||
201 | |||
202 | **Add DevEUI and AppKey. Customize a platform ID for the device.** | ||
203 | |||
204 | [[image:https://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LTC2-LB--LoRaWAN_Temperature_Transmitter_User_Manual/WebHome/image-20240907112427-7.png?rev=1.1||alt="image-20240907112427-7.png"]] | ||
205 | |||
206 | |||
207 | (% style="color:blue" %)**Step 2**(%%):** Add decoder.** | ||
208 | |||
209 | In TTN, user can add a custom payload so it shows friendly reading. | ||
210 | |||
211 | Click this link to get the decoder: [[https:~~/~~/github.com/dragino/dragino-end-node-decoder/tree/main/>>url:https://github.com/dragino/dragino-end-node-decoder/tree/main/]] | ||
212 | |||
213 | Below is TTN screen shot: | ||
214 | |||
215 | [[image:https://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LDS25-LBLDS25-LS--LoRaWAN_LiDAR_Distance_Auto-Clean_Sensor_User_Manual/WebHome/image-20241009140556-1.png?width=1184&height=488&rev=1.1||alt="image-20241009140556-1.png" height="488" width="1184"]] | ||
216 | |||
217 | [[image:https://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LDS25-LBLDS25-LS--LoRaWAN_LiDAR_Distance_Auto-Clean_Sensor_User_Manual/WebHome/image-20241009140603-2.png?width=1168&height=562&rev=1.1||alt="image-20241009140603-2.png"]] | ||
218 | |||
219 | |||
220 | (% style="color:blue" %)**Step 3**(%%): Power on GroPoint Air | ||
221 | |||
222 | (% aria-label="image-20220519094347-1.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/SW3L%20LoRaWAN%20Outdoor%20Flow%20Sensor/WebHome/image-20220519094347-1.png?width=725&height=430&rev=1.1||alt="image-20220519094347-1.png" data-widget="image" height="430" width="725"]] | ||
223 | |||
224 | (% title="Click and drag to resize" %) | ||
225 | |||
226 | ((( | ||
227 | Put the jumper to power on GroPoint Air and it will auto-join to the TTN V3 network. After join success, it will start to upload sensor data to TTN V3 and the user can see it in the panel. | ||
228 | ))) | ||
229 | |||
230 | (% aria-label="image-20220611174943-1.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20220611174943-1.png||data-widget="image" height="139" width="1008"]](% title="Click and drag to resize" %) | ||
231 | |||
232 | |||
233 | == 3.4 Uplink Payload Analyze == | ||
234 | |||
235 | |||
236 | ((( | ||
237 | Uplink payloads have two types: | ||
238 | ))) | ||
239 | |||
240 | * ((( | ||
241 | ((( | ||
242 | Report temperature and humidity status normally: Use FPORT=2 | ||
243 | ))) | ||
244 | ))) | ||
245 | * ((( | ||
246 | ((( | ||
247 | Other control commands: Use other FPORT fields. | ||
248 | ))) | ||
249 | ))) | ||
250 | |||
251 | ((( | ||
252 | The application server should parse the correct value based on FPORT settings. | ||
253 | ))) | ||
254 | |||
255 | |||
256 | == 3.5 temperature and humidity Value, Uplink FPORT~=2 == | ||
257 | |||
258 | |||
259 | ((( | ||
260 | GroPoint Air will send this uplink after Device Status once join the LoRaWAN network successfully. And GroPoint Air will: | ||
261 | ))) | ||
262 | |||
263 | ((( | ||
264 | periodically send this uplink every 20 minutes, this interval can be changed. | ||
265 | ))) | ||
266 | |||
267 | ((( | ||
268 | The drawing below shows the probe dimensions of the 2-8 segment probes, Temperature sen sor locations provided in table below: | ||
269 | ))) | ||
270 | |||
271 | (% aria-label="image-20220621093414-1.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20220621093414-1.png||data-widget="image" height="932" width="816"]](% title="Click and drag to resize" %) | ||
272 | |||
273 | GroPoint Air's sensors come in six models: GPLP-2, GPLP-3, GPLP-4, GPLP-5, GPLP-6, GPLP-8. | ||
274 | |||
275 | The amount of temperature and humidity is different for each model, so the payload of each model is different. | ||
276 | |||
277 | Take GPLP-3 as an example: | ||
278 | |||
279 | Uplink Payload totals 21 bytes. | ||
280 | |||
281 | (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:500px" %) | ||
282 | |(% style="background-color:#4f81bd; color:white; width:60px" %)**Size(bytes)**|(% style="background-color:#4f81bd; color:white; width:40px" %)**2**|(% style="background-color:#4f81bd; color:white; width:40px" %)**1**|(% style="background-color:#4f81bd; color:white; width:40px" %)**2**|(% style="background-color:#4f81bd; color:white; width:40px" %)**2**|(% style="background-color:#4f81bd; color:white; width:40px" %)**2**|(% style="background-color:#4f81bd; color:white; width:40px" %)**2**|(% style="background-color:#4f81bd; color:white; width:40px" %)**2**|(% style="background-color:#4f81bd; color:white; width:40px" %)**2**|(% style="background-color:#4f81bd; color:white; width:40px" %)**2**|(% style="background-color:#4f81bd; color:white; width:40px" %)**2**|(% style="background-color:#4f81bd; color:white; width:40px" %)**2** | ||
283 | |(% style="width:94px" %)value|(% style="width:38px" %)Bat|(% style="width:39px" %)sen|(% style="width:52px" %)Tem1|(% style="width:52px" %)Tem2|(% style="width:52px" %)Tem3|(% style="width:52px" %)Tem4|(% style="width:50px" %)Tem5|(% style="width:52px" %)Tem6|(% style="width:55px" %)Hum1|(% style="width:55px" %)Hum2|(% style="width:56px" %)Hum3 | ||
284 | |||
285 | (% title="Click and drag to resize" %) | ||
286 | |||
287 | (% aria-label="image-20220611174943-1.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20220611174943-1.png||data-widget="image" height="139" width="1008"]](% title="Click and drag to resize" %) | ||
288 | |||
289 | |||
290 | ((( | ||
291 | For US915 frequency, when DR=0 and the payload length exceeds 11, the DR of this packet is switched to 1. | ||
292 | ))) | ||
293 | |||
294 | ((( | ||
295 | For AU915 frequency, when DR=2,Dwelltime=1 and the payload length exceeds 11, the DR of this packet is switched to 3. | ||
296 | ))) | ||
297 | |||
298 | ((( | ||
299 | For AS923 frequency, when DR=2,Dwelltime=1 and the payload length exceeds 11, the DR of this packet is switched to 3. | ||
300 | ))) | ||
301 | |||
302 | |||
303 | == 3.6 Show data on Datacake == | ||
304 | |||
305 | |||
306 | ((( | ||
307 | Datacake IoT platform provides a human-friendly interface to show the sensor data, once we have sensor data in TTN V3, we can use Datacake to connect to TTN V3 and see the data in Datacake. Below are the steps: | ||
308 | ))) | ||
309 | |||
310 | ((( | ||
311 | (% style="color:blue" %)**Step 1**(%%): Link TTNv3 to Datacake [[https:~~/~~/docs.datacake.de/lorawan/lns/thethingsindustries#create-integration-on-tti>>url:https://docs.datacake.de/lorawan/lns/thethingsindustries#create-integration-on-tti]] | ||
312 | ))) | ||
313 | |||
314 | ((( | ||
315 | (% style="color:blue" %)**Step 2**(%%): Configure SW3L in Datacake | ||
316 | ))) | ||
317 | |||
318 | (% aria-label="image-20220613171007-1.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20220613171007-1.png||data-widget="image" height="567" width="542"]] | ||
319 | |||
320 | (% title="Click and drag to resize" %) | ||
321 | |||
322 | (% aria-label="image-20220613171015-2.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20220613171015-2.png||data-widget="image" height="600" width="586"]](% style="background-image:url(http://wiki.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" %) | ||
323 | |||
324 | (% aria-label="image-20220613171029-3.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20220613171029-3.png||data-widget="image" height="507" width="513"]](% style="background-image:url(http://wiki.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" %) | ||
325 | |||
326 | (% aria-label="image-20220613171038-4.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20220613171038-4.png||data-widget="image" height="469" width="786"]] | ||
327 | |||
328 | (% title="Click and drag to resize" %) | ||
329 | |||
330 | (% aria-label="image-20220613171105-5.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20220613171105-5.png||data-widget="image" height="533" width="949"]] | ||
331 | |||
332 | (% title="Click and drag to resize" %) | ||
333 | |||
334 | (% aria-label="image-20220613171117-6.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20220613171117-6.png||data-widget="image" height="501" width="925"]] | ||
335 | |||
336 | (% title="Click and drag to resize" %) | ||
337 | |||
338 | (% aria-label="image-20220613171124-7.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20220613171124-7.png||data-widget="image" height="466" width="877"]](% title="Click and drag to resize" %) | ||
339 | |||
340 | |||
341 | = 4. Configure GroPoint Air via AT Command or LoRaWAN Downlink = | ||
342 | |||
343 | |||
344 | ((( | ||
345 | Use can configure GroPoint Air via AT Command or LoRaWAN Downlink. | ||
346 | ))) | ||
347 | |||
348 | * ((( | ||
349 | AT Command Connection: See [[FAQ>>||anchor="H7.A0FAQ"]]. | ||
350 | ))) | ||
351 | * ((( | ||
352 | LoRaWAN Downlink instruction for different platforms: [[IoT LoRaWAN Server>>url:http://8.211.40.43/xwiki/bin/view/Main/]] | ||
353 | ))) | ||
354 | |||
355 | ((( | ||
356 | There are two kinds of commands to configure GroPoint Air, they are: | ||
357 | ))) | ||
358 | |||
359 | * ((( | ||
360 | ((( | ||
361 | **~ (% style="color:#4472c4" %)General Commands(%%)**(% style="color:#4472c4" %). | ||
362 | ))) | ||
363 | ))) | ||
364 | |||
365 | ((( | ||
366 | These commands are to configure: | ||
367 | ))) | ||
368 | |||
369 | * ((( | ||
370 | General system settings like: uplink interval. | ||
371 | ))) | ||
372 | * ((( | ||
373 | LoRaWAN protocol & radio-related command. | ||
374 | ))) | ||
375 | |||
376 | ((( | ||
377 | They are the same for all Dragino Device that support DLWS-005 LoRaWAN Stack. These commands can be found on the wiki: [[End Device AT Commands and Downlink Command>>url:http://8.211.40.43/xwiki/bin/view/Main/End%20Device%20AT%20Commands%20and%20Downlink%20Command/]] | ||
378 | ))) | ||
379 | |||
380 | |||
381 | |||
382 | * ((( | ||
383 | ((( | ||
384 | **~ (% style="color:#4472c4" %)Commands special design for GroPoint Air(%%)** | ||
385 | ))) | ||
386 | ))) | ||
387 | |||
388 | ((( | ||
389 | These commands only valid for GroPoint Air, as below: | ||
390 | ))) | ||
391 | |||
392 | |||
393 | == 4.1 Set Transmit Interval Time == | ||
394 | |||
395 | |||
396 | Feature: Change LoRaWAN End Node Transmit Interval. | ||
397 | |||
398 | |||
399 | (% style="color:#037691" %)**AT Command: AT+TDC** | ||
400 | |||
401 | (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %) | ||
402 | |=(% style="width: 156px;background-color:#4F81BD;color:white" %)**Command Example**|=(% style="width: 137px;background-color:#4F81BD;color:white" %)**Function**|=(% style="background-color:#4F81BD;color:white" %)**Response** | ||
403 | |(% style="width:156px" %)AT+TDC=?|(% style="width:137px" %)Show current transmit Interval|((( | ||
404 | 30000 | ||
405 | OK | ||
406 | the interval is 30000ms = 30s | ||
407 | ))) | ||
408 | |(% style="width:156px" %)AT+TDC=60000|(% style="width:137px" %)Set Transmit Interval|((( | ||
409 | OK | ||
410 | Set transmit interval to 60000ms = 60 seconds | ||
411 | ))) | ||
412 | |||
413 | (% style="color:#037691" %)**Downlink Command: 0x01** | ||
414 | |||
415 | Format: Command Code (0x01) followed by 3 bytes time value. | ||
416 | |||
417 | If the downlink payload=0100003C, it means set the END Node’s Transmit Interval to 0x00003C=60(S), while type code is 01. | ||
418 | |||
419 | * Example 1: Downlink Payload: 0100001E ~/~/ Set Transmit Interval (TDC) = 30 seconds | ||
420 | * Example 2: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds | ||
421 | |||
422 | == 4.2 Set Interrupt Mode == | ||
423 | |||
424 | |||
425 | Feature, Set Interrupt mode for GPIO_EXIT. | ||
426 | |||
427 | (% style="color:#037691" %)**AT Command: AT+INTMOD** | ||
428 | |||
429 | (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %) | ||
430 | |=(% style="width: 154px;background-color:#4F81BD;color:white" %)**Command Example**|=(% style="width: 196px;background-color:#4F81BD;color:white" %)**Function**|=(% style="width: 160px;background-color:#4F81BD;color:white" %)**Response** | ||
431 | |(% style="width:154px" %)AT+INTMOD=?|(% style="width:196px" %)Show current interrupt mode|(% style="width:157px" %)((( | ||
432 | 0 | ||
433 | OK | ||
434 | the mode is 0 =No interruption | ||
435 | ))) | ||
436 | |(% style="width:154px" %)AT+INTMOD=2|(% style="width:196px" %)((( | ||
437 | Set Transmit Interval | ||
438 | ~1. (Disable Interrupt), | ||
439 | 2. (Trigger by rising and falling edge) | ||
440 | 3. (Trigger by falling edge) | ||
441 | 4. (Trigger by rising edge) | ||
442 | )))|(% style="width:157px" %)OK | ||
443 | |||
444 | (% style="color:#037691" %)**Downlink Command: 0x06** | ||
445 | |||
446 | Format: Command Code (0x06) followed by 3 bytes. | ||
447 | |||
448 | This means that the interrupt mode of the end node is set to 0x000003=3 (rising edge trigger), and the type code is 06. | ||
449 | |||
450 | * Example 1: Downlink Payload: 06000000 ~/~/ Turn off interrupt mode | ||
451 | * Example 2: Downlink Payload: 06000003 ~/~/ Set the interrupt mode to rising edge trigger | ||
452 | |||
453 | == 4.3 Set the sensor delay time == | ||
454 | |||
455 | |||
456 | ((( | ||
457 | Feature: Change the sensor delay time. | ||
458 | |||
459 | |||
460 | ))) | ||
461 | |||
462 | ((( | ||
463 | There are six models of GroPoint Air, and each model returns a different number of temperature and humidity. The more bytes of the returned value, the longer the delay. The AT+SDELAY command can adjust the time that the sensor returns data to the node, and can adjust different delays according to different types of sensors. | ||
464 | ))) | ||
465 | |||
466 | ((( | ||
467 | The default delay is 1000ms. | ||
468 | ))) | ||
469 | |||
470 | ((( | ||
471 | (% style="color:#037691" %)**AT Command: AT+SDELAY** | ||
472 | |||
473 | (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %) | ||
474 | |=(% style="width: 156px;background-color:#4F81BD;color:white" %)**Command Example**|=(% style="width: 137px;background-color:#4F81BD;color:white" %)**Function**|=(% style="background-color:#4F81BD;color:white" %)**Response** | ||
475 | |(% style="width:156px" %)AT+SDELAY=?|(% style="width:137px" %)Show the sensor delay time|((( | ||
476 | 1000 | ||
477 | OK | ||
478 | the sensor delay time is 1000ms | ||
479 | ))) | ||
480 | |(% style="width:156px" %)AT+SDELAY=2000|(% style="width:137px" %)Set the sensor delay time|((( | ||
481 | OK | ||
482 | Set the sensor delay time to 2000ms | ||
483 | ))) | ||
484 | ))) | ||
485 | |||
486 | (% style="color:#037691" %)**Downlink Command: 0xA1** | ||
487 | |||
488 | Format: Command Code (0xA1) followed by 3 bytes time value. | ||
489 | |||
490 | If the downlink payload=A10007D0, it means set the sensor delay time to 0x0007D0=2000ms, while type code is A1. | ||
491 | |||
492 | * Example 1: Downlink Payload: A10003E8 ~/~/ Set the sensor delay time = 1000ms | ||
493 | * Example 2: Downlink Payload: A10007D0 ~/~/ Set the sensor delay time = 2000ms | ||
494 | |||
495 | == 4.4 Query sensor model function == | ||
496 | |||
497 | |||
498 | Feature: Using this function will re-update the model. | ||
499 | |||
500 | (% style="color:#037691" %)**Downlink Command: 0xFA00** | ||
501 | |||
502 | |||
503 | == 4.5 Get Firmware Version Info == | ||
504 | |||
505 | |||
506 | Feature: use downlink to get firmware version. | ||
507 | |||
508 | (% style="color:#037691" %)**Downlink Command: 0x26** | ||
509 | |||
510 | (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:500px" %) | ||
511 | |(% style="background-color:#4f81bd; color:white; width:193px" %)**Downlink Control Type**|(% style="background-color:#4f81bd; color:white; width:57px" %)**FPort**|(% style="background-color:#4f81bd; color:white; width:91px" %)**Type Code**|(% style="background-color:#4f81bd; color:white; width:159px" %)**Downlink payload size(bytes)** | ||
512 | |(% style="width:193px" %)Get Firmware Version Info|(% style="width:57px" %)Any|(% style="width:91px" %)26|(% style="width:149px" %)2 | ||
513 | |||
514 | * Reply to the confirmation package: 26 01 | ||
515 | * Reply to non-confirmed packet: 26 00 | ||
516 | |||
517 | Device will send an uplink after got this downlink command. With below payload: | ||
518 | |||
519 | Configures info payload: | ||
520 | |||
521 | (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:520px" %) | ||
522 | |(% style="background-color:#4f81bd; color:white; width:50px" %)**Size(bytes)**|(% style="background-color:#4f81bd; color:white; width:70px" %)**1**|(% style="background-color:#4f81bd; color:white; width:70px" %)**1**|(% style="background-color:#4f81bd; color:white; width:50px" %)**1**|(% style="background-color:#4f81bd; color:white; width:70px" %)**2**|(% style="background-color:#4f81bd; color:white; width:60px" %)**1**|(% style="background-color:#4f81bd; color:white; width:50px" %)**4**|(% style="background-color:#4f81bd; color:white; width:100px" %)**1** | ||
523 | |(% style="width:93px" %)Value|(% style="width:114px" %)Software Type|(% style="width:139px" %)Frequency Band|(% style="width:149px" %)Sub-band|(% style="width:149px" %)Firmware Version|(% style="width:149px" %)Sensor Type|(% style="width:63px" %)Reserve|(% style="width:63px" %)Message Tpye Always 0x02 | ||
524 | |||
525 | (% style="color:#037691" %)**Software Type**(%%): Always 0x03 for GroPoint Air | ||
526 | |||
527 | |||
528 | (% style="color:#037691" %)**Frequency Band**(%%): | ||
529 | |||
530 | *0x01: EU868 | ||
531 | |||
532 | *0x02: US915 | ||
533 | |||
534 | *0x03: IN865 | ||
535 | |||
536 | *0x04: AU915 | ||
537 | |||
538 | *0x05: KZ865 | ||
539 | |||
540 | *0x06: RU864 | ||
541 | |||
542 | *0x07: AS923 | ||
543 | |||
544 | *0x08: AS923-1 | ||
545 | |||
546 | *0x09: AS923-2 | ||
547 | |||
548 | *0x0A: AS923-3 | ||
549 | |||
550 | *0x0B: AS923-4 | ||
551 | |||
552 | |||
553 | (% style="color:#037691" %)**Sub-Band**(%%): value 0x00 ~~ 0x08 | ||
554 | |||
555 | |||
556 | (% style="color:#037691" %)**Firmware Version**(%%): 0x0100, Means: v1.0.0 version | ||
557 | |||
558 | |||
559 | (% style="color:#037691" %)**Sensor Type**(%%): | ||
560 | |||
561 | 0x01: LSE01 | ||
562 | |||
563 | 0x02: LDDS75 | ||
564 | |||
565 | 0x03: LDDS20 | ||
566 | |||
567 | 0x04: LLMS01 | ||
568 | |||
569 | 0x05: LSPH01 | ||
570 | |||
571 | 0x06: LSNPK01 | ||
572 | |||
573 | 0x07: LDDS45 | ||
574 | |||
575 | 0x08: LSLP01 | ||
576 | |||
577 | |||
578 | = 5. Use AT Command = | ||
579 | |||
580 | == 5.1 Access AT Commands == | ||
581 | |||
582 | |||
583 | GroPoint Air supports AT Command set in the stock firmware. You can use a USB to TTL adapter to connect to GroPoint Air for using AT command, as below. | ||
584 | |||
585 | (% aria-label="1654593668970-604.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:Main.User Manual for LoRaWAN End Nodes.LLMS01-LoRaWAN Leaf Moisture Sensor User Manual.WebHome@1654593668970-604.png||data-widget="image" height="297" width="474"]](% style="background-image:url(http://wiki.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" %) | ||
586 | |||
587 | **Connection:** | ||
588 | |||
589 | (% style="background-color:yellow" %)** USB TTL GND <~-~-~-~-> GND** | ||
590 | |||
591 | (% style="background-color:yellow" %)** USB TTL TXD <~-~-~-~-> UART_RXD** | ||
592 | |||
593 | (% style="background-color:yellow" %)** USB TTL RXD <~-~-~-~-> UART_TXD** | ||
594 | |||
595 | |||
596 | ((( | ||
597 | In the PC, you need to set the serial baud rate to (% style="color:green" %)**9600**(%%) to access the serial console for GroPoint Air. GroPoint Air will output system info once power on as below: | ||
598 | ))) | ||
599 | |||
600 | (% aria-label="1654653659449-932.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:Main.User Manual for LoRaWAN End Nodes.LLMS01-LoRaWAN Leaf Moisture Sensor User Manual.WebHome@1654653659449-932.png||data-widget="image" height="471" width="674"]](% style="background-image:url(http://wiki.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" %) | ||
601 | |||
602 | Valid AT Command please check [[Configure Device>>||anchor="H4.A0ConfigureGroPointAirviaATCommandorLoRaWANDownlink"]]. | ||
603 | |||
604 | |||
605 | = 6. Battery & Power Consumption = | ||
606 | |||
607 | |||
608 | GroPoint Air uses ER26500 + SPC1520 battery pack. See below link for detail information about the battery info and how to replace. | ||
609 | |||
610 | [[**Battery Info & Power Consumption Analyze**>>url:http://wiki.dragino.com/xwiki/bin/view/Main/How%20to%20calculate%20the%20battery%20life%20of%20Dragino%20sensors%3F/]] . | ||
611 | |||
612 | |||
613 | = 7. FAQ = | ||
614 | |||
615 | == 7.1 How to change the LoRa Frequency Bands/Region == | ||
616 | |||
617 | |||
618 | You can follow the instruction here: [[how to upgrade image>>doc:Main.Firmware Upgrade Instruction for STM32 base products.WebHome||anchor="H2.HardwareUpgradeMethodSupportList"]]. | ||
619 | When downloading the images, choose the required image file for download. | ||
620 | |||
621 | |||
622 | = 8. Trouble Shooting = | ||
623 | |||
624 | == 8.1 AT Commands input doesn't work == | ||
625 | |||
626 | |||
627 | In 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 pressing the send key, user need to add ENTER in their string. | ||
628 | |||
629 | |||
630 | == 8.2 Why i see the payload is 7FFF? == | ||
631 | |||
632 | |||
633 | The device will judge the length of the data received by the serial port. If the length of the received data is 0, it means that there is a problem with the sensor communication or the sensor is not connected properly, it is invalid data, and the uploaded data is 7FFF. | ||
634 | |||
635 | |||
636 | = 9. Order Info = | ||
637 | |||
638 | |||
639 | Part Number: (% style="color:blue" %)**GROPOINT AIR-M-XX** | ||
640 | |||
641 | (% style="color:blue" %)**XX**(%%): The default frequency band | ||
642 | |||
643 | * (% style="color:red" %)**AS923**(%%): LoRaWAN AS923 band | ||
644 | * (% style="color:red" %)**AU915**(%%): LoRaWAN AU915 band | ||
645 | * (% style="color:red" %)**EU433**(%%): LoRaWAN EU433 band | ||
646 | * (% style="color:red" %)**EU868**(%%): LoRaWAN EU868 band | ||
647 | * (% style="color:red" %)**KR920**(%%): LoRaWAN KR920 band | ||
648 | * (% style="color:red" %)**US915**(%%): LoRaWAN US915 band | ||
649 | * (% style="color:red" %)**IN865**(%%): LoRaWAN IN865 band | ||
650 | * (% style="color:red" %)**CN470**(%%): LoRaWAN CN470 band | ||
651 | |||
652 | | ||
653 | |||
654 | |||
655 | = 10. Packing Info = | ||
656 | |||
657 | |||
658 | ((( | ||
659 | **Package Includes: ** | ||
660 | ))) | ||
661 | |||
662 | * GroPoint Air-M x 1 | ||
663 | |||
664 | ((( | ||
665 | **Dimension and weight:** | ||
666 | ))) | ||
667 | |||
668 | * Device Size: cm | ||
669 | * Device Weight: g | ||
670 | * Package Size / pcs : cm | ||
671 | * Weight / pcs : g |