Show last authors
1
2
3 (% style="text-align:center" %)
4 [[image:image-20231013105122-1.png||height="551" width="753"]]
5
6
7
8
9
10
11
12
13
14 **Table of Contents:**
15
16 {{toc/}}
17
18
19
20
21
22
23 = 1. Introduction =
24
25 == 1.1 What is NB-IoT Soil Moisture & EC Sensor ==
26
27
28 The Dragino SE01-NB is a (% style="color:blue" %)**NB-IoT Soil Moisture & EC Sensor**(%%) for IoT of Agriculture. It is designed to measure the (% style="color:blue" %)**soil moisture of saline-alkali soil and loamy soil**(%%). The soil sensor uses (% style="color:blue" %)**FDR method**(%%) to calculate the soil moisture with the compensation from soil temperature and conductivity. It also has been calibrated in factory for Mineral soil type.
29
30 It detects (% style="color:blue" %)**Soil Moisture**(%%), (% style="color:blue" %)**Soil Temperature**(%%) and (% style="color:blue" %)**Soil Conductivity**(%%), and uploads the value via wireless to NB-IoT IoT Server.
31
32 SE01-NB supports different uplink methods including (% style="color:blue" %)**MQTT, MQTTs, UDP & TCP**(%%) for different application requirement, and support uplinks to various IoT Servers.
33
34 SE01-NB (% style="color:blue" %)**supports BLE configure and OTA update**(%%) which make user easy to use.
35
36 SE01-NB is powered by (% style="color:blue" %)**8500mAh Li-SOCI2 battery**(%%), it is designed for long-term use up to several years.
37
38 SE01-NB has optional built-in SIM card and default IoT server connection version. Which makes it works with simple configuration.
39
40 [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LSE01-LoRaWAN%20Soil%20Moisture%20%26%20EC%20Sensor%20User%20Manual/WebHome/1654503236291-817.png?rev=1.1||alt="1654503236291-817.png"]]
41
42 [[image:image-20231013105657-2.png||height="328" width="891"]](% style="display:none" %)
43
44
45 == 1.2 ​Features ==
46
47
48 * NB-IoT Bands: B1/B2/B3/B4/B5/B8/B12/B13/B17/B18/B19/B20/B25/B28/B66/B70/B85 @H-FDD
49 * Ultra-low power consumption
50 * Monitor Soil Moisture
51 * Monitor Soil Temperature
52 * Monitor Soil Conductivity
53 * Multiply Sampling and one uplink
54 * Support Bluetooth v5.1 remote configure and update firmware
55 * Uplink on periodically
56 * Downlink to change configure
57 * 8500mAh Battery for long term use
58 * Nano SIM card slot for NB-IoT SIM
59
60 == 1.3 Specification ==
61
62
63 (% style="color:blue" %)**Common DC Characteristics:**
64
65 * Supply Voltage: 2.5v ~~ 3.6v
66 * Operating Temperature: -40 ~~ 85°C
67
68 (% style="color:blue" %)**Soil Moisture:**
69
70 * Range: 0-100.00 V/V %
71 * Resolution: 0.01 V/V %
72 * Accuracy: ±3% (0-53%)V/V %, ±5% (>53%) V/V %
73 * Measure Method: FDR , with temperature &EC compensate
74
75 (% style="color:blue" %)**Soil Temperature**
76
77 * Range: -40.00°C ~~ 85.00°C
78 * Resolution: 0.01°C
79 * Accuracy: -10°C ~~ 50°C:<0.3°C, All other: <0.6°C
80 * Measure Method: RTD, and calibrate
81
82 (% style="color:blue" %)**Soil Conductivity**
83
84 * Range: 0-20000 uS/cm(25°C)(0-20.0EC)
85 * Resolution: 1 uS/cm
86 * Accuracy: 2%FS
87 * Measure Method: Conductivity, with temperature compensate
88
89 (% style="color:blue" %)**NB-IoT Spec:**
90
91 (% style="color:#037691" %)**NB-IoT Module: BC660K-GL**
92
93 (% style="color:#037691" %)**Support Bands:**
94
95 * B1 @H-FDD: 2100MHz
96 * B2 @H-FDD: 1900MHz
97 * B3 @H-FDD: 1800MHz
98 * B4 @H-FDD: 2100MHz
99 * B5 @H-FDD: 860MHz
100 * B8 @H-FDD: 900MHz
101 * B12 @H-FDD: 720MHz
102 * B13 @H-FDD: 740MHz
103 * B17 @H-FDD: 730MHz
104 * B18 @H-FDD: 870MHz
105 * B19 @H-FDD: 870MHz
106 * B20 @H-FDD: 790MHz
107 * B25 @H-FDD: 1900MHz
108 * B28 @H-FDD: 750MHz
109 * B66 @H-FDD: 2000MHz
110 * B70 @H-FDD: 2000MHz
111 * B85 @H-FDD: 700MHz
112
113 (% style="color:blue" %)**Battery:**
114
115 * Li/SOCI2 un-chargeable battery
116 * Capacity: 8500mAh
117 * Self Discharge: <1% / Year @ 25°C
118 * Max continuously current: 130mA
119 * Max boost current: 2A, 1 second
120
121 (% style="color:blue" %)**Power Consumption**
122
123 * STOP Mode: 10uA @ 3.3v
124 * Max transmit power: 350mA@3.3v
125
126 (% class="wikigeneratedid" %)
127 (% style="display:none" %) (%%)
128
129
130 == 1.4 Applications ==
131
132
133 * Smart Agriculture
134
135 == 1.5 Sleep mode and working mode ==
136
137
138 (% style="color:blue" %)**Deep Sleep Mode: **(%%)Sensor doesn't have any NB-IoT activate. This mode is used for storage and shipping to save battery life.
139
140 (% style="color:blue" %)**Working Mode:** (%%)In this mode, Sensor will work as NB-IoT Sensor to Join NB-IoT network and send out sensor data to server. Between each sampling/tx/rx periodically, sensor will be in IDLE mode), in IDLE mode, sensor has the same power consumption as Deep Sleep mode.
141
142
143 == 1.6 Button & LEDs ==
144
145
146 [[image:Main.User Manual for LoRaWAN End Nodes.D20-LBD22-LBD23-LB_LoRaWAN_Temperature_Sensor_User_Manual.WebHome@1675071855856-879.png]]
147
148
149 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
150 |=(% style="width: 167px;background-color:#4F81BD;color:white" %)**Behavior on ACT**|=(% style="width: 117px;background-color:#4F81BD;color:white" %)**Function**|=(% style="width:225px;background-color:#4F81BD;color:white" %)**Action**
151 |(% style="width:167px" %)Pressing ACT between 1s < time < 3s|(% style="width:117px" %)Send an uplink|(% style="width:225px" %)(((
152 If sensor has already attached to NB-IoT network, sensor will send an uplink packet, (% style="color:blue" %)**blue led** (%%)will blink once.
153 Meanwhile, BLE module will be active and user can connect via BLE to configure device.
154 )))
155 |(% style="width:167px" %)Pressing ACT for more than 3s|(% style="width:117px" %)Active Device|(% style="width:225px" %)(((
156 (% style="color:green" %)**Green led**(%%) will fast blink 5 times, device will enter (% style="color:#037691" %)**OTA mode**(%%) for 3 seconds. And then start to attach NB-IoT network.
157 (% style="color:green" %)**Green led**(%%) will solidly turn on for 5 seconds after joined in network.
158 Once sensor is active, BLE module will be active and user can connect via BLE to configure device, no matter if device attach NB-IoT network or not.
159 )))
160 |(% style="width:167px" %)Fast press ACT 5 times.|(% style="width:117px" %)Deactivate Device|(% style="width:225px" %)(% style="color:red" %)**Red led**(%%) will solid on for 5 seconds. Means device is in Deep Sleep Mode.
161
162 (% style="color:red" %)**Note: When the device is executing a program, the buttons may become invalid. It is best to press the buttons after the device has completed the program execution.**
163
164
165 == 1.7 BLE connection ==
166
167
168 SE01-NB support BLE remote configure and firmware update.
169
170
171 BLE can be used to configure the parameter of sensor or see the console output from sensor. BLE will be only activate on below case:
172
173 * Press button to send an uplink
174 * Press button to active device.
175 * Device Power on or reset.
176
177 If there is no activity connection on BLE in 60 seconds, sensor will shut down BLE module to enter low power mode.
178
179
180 == 1.8 Pin Definitions , Switch & SIM Direction ==
181
182
183 [[image:image-20231103172153-1.png]]
184
185
186 === 1.8.1 Jumper JP2 ===
187
188
189 Power on Device when put this jumper.
190
191
192 === 1.8.2 BOOT MODE / SW1 ===
193
194
195 **1)** (% style="color:blue" %)**ISP**(%%): upgrade mode, device won't have any signal in this mode. but ready for upgrade firmware. LED won't work. Firmware won't run.
196
197 **2)** (% style="color:blue" %)**Flash**(%%): work mode, device starts to work and send out console output for further debug
198
199
200 === 1.8.3 Reset Button ===
201
202
203 Press to reboot the device.
204
205
206 === 1.8.4 SIM Card Direction ===
207
208
209 See this link. [[How to insert SIM Card>>url:http://wiki.dragino.com/xwiki/bin/view/Main/General%20Configure%20to%20Connect%20to%20IoT%20server%20for%20-NB%20%26%20-NS%20NB-IoT%20models/#H2.AttachNetwork]].
210
211 == 1.9 Mechanical ==
212
213
214 (% style="color:blue" %)**Main Device Dimension:**
215
216 [[image:Main.User Manual for LoRaWAN End Nodes.D20-LBD22-LBD23-LB_LoRaWAN_Temperature_Sensor_User_Manual.WebHome@1675143884058-338.png]]
217
218
219 [[image:Main.User Manual for LoRaWAN End Nodes.D20-LBD22-LBD23-LB_LoRaWAN_Temperature_Sensor_User_Manual.WebHome@1675143899218-599.png]]
220
221
222 [[image:Main.User Manual for LoRaWAN End Nodes.D20-LBD22-LBD23-LB_LoRaWAN_Temperature_Sensor_User_Manual.WebHome@1675143909447-639.png]]
223
224
225 (% style="color:blue" %)**Probe Dimension:**
226
227 [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LSE01-LoRaWAN%20Soil%20Moisture%20%26%20EC%20Sensor%20User%20Manual/WebHome/image-20221008135912-1.png?rev=1.1||alt="image-20221008135912-1.png"]]
228
229
230 == 1.10 Installation in Soil ==
231
232
233 (% style="color:blue" %)**Measurement the soil surface**
234
235 [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LSE01-LoRaWAN%20Soil%20Moisture%20%26%20EC%20Sensor%20User%20Manual/WebHome/1654506634463-199.png?rev=1.1||alt="1654506634463-199.png"]] ​
236
237
238 (((
239 Choose the proper measuring position. Avoid the probe to touch rocks or hard things. Split the surface soil according to the measured deep. Keep the measured as original density. Vertical insert the probe into the soil to be measured. Make sure not shake when inserting.
240 )))
241
242
243 [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LSE01-LoRaWAN%20Soil%20Moisture%20%26%20EC%20Sensor%20User%20Manual/WebHome/1654506665940-119.png?rev=1.1||alt="1654506665940-119.png"]]
244
245 (((
246 Dig a hole with diameter > 20CM.
247 )))
248
249 (((
250 Horizontal insert the probe to the soil and fill the hole for long term measurement.
251 )))
252
253
254 = 2. Use SE01-NB to communicate with IoT Server =
255
256 == 2.1 Send data to IoT server via NB-IoT network ==
257
258
259 The SE01-NB is equipped with a NB-IoT module, the pre-loaded firmware in SE01-NB will get environment data from sensors and send the value to local NB-IoT network via the NB-IoT module.  The NB-IoT network will forward this value to IoT server via the protocol defined by SE01-NB.
260
261 Below shows the network structure:
262
263 [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/SE01-NB_NB-IoT_Soil_Moisture_EC_Sensor_User_Manual/WebHome/image-20231013105657-2.png?width=891&height=328&rev=1.1||alt="image-20231013105657-2.png"]]
264
265
266 There are two version: (% style="color:blue" %)**-GE**(%%) and (% style="color:blue" %)**-1D**(%%) version of SE01-NB.
267
268
269 (% style="color:blue" %)**GE Version**(%%): This version doesn't include SIM card or point to any IoT server. User needs to use AT Commands to configure below two steps to set SE01-NB send data to IoT server.
270
271 * Install NB-IoT SIM card and configure APN. See instruction of [[Attach Network>>url:http://wiki.dragino.com/xwiki/bin/view/Main/General%20Configure%20to%20Connect%20to%20IoT%20server%20for%20-NB%20%26%20-NS%20NB-IoT%20models/#H2.AttachNetwork]].
272
273 * Set up sensor to point to IoT Server. See instruction of [[Configure to Connect Different Servers>>url:http://wiki.dragino.com/xwiki/bin/view/Main/General%20Configure%20to%20Connect%20to%20IoT%20server%20for%20-NB%20%26%20-NS%20NB-IoT%20models/#H3.Configuretoconnecttodifferentservers]]. 
274
275 Below shows result of different server as a glance.
276
277 (% border="1" cellspacing="4" style="width:515px" %)
278 |(% style="background-color:#4f81bd; color:white; width:100px" %)**Servers**|(% style="background-color:#4f81bd; color:white; width:300px" %)**Dash Board**|(% style="background-color:#4f81bd; color:white; width:115px" %)**Comments**
279 |(% style="width:127px" %)[[Node-Red>>url:http://wiki.dragino.com/xwiki/bin/view/Main/General%20Configure%20to%20Connect%20to%20IoT%20server%20for%20-NB%20%26%20-NS%20NB-IoT%20models/#H3.5A0Node-RedA028viaA0MQTT29]]|(% style="width:385px" %)(((
280 (% style="text-align:center" %)
281 [[image:image-20230819113244-8.png||height="183" width="367"]]
282 )))|(% style="width:170px" %)
283 |(% style="width:127px" %)[[DataCake>>url:http://wiki.dragino.com/xwiki/bin/view/Main/General%20Configure%20to%20Connect%20to%20IoT%20server%20for%20-NB%20%26%20-NS%20NB-IoT%20models/#H3.4Datacake]]|(% style="width:385px" %)(((
284 (% style="text-align:center" %)
285 [[image:image-20230819113244-9.png||height="119" width="367"]]
286 )))|(% style="width:170px" %)
287 |(% style="width:127px" %)[[Tago.IO>>url:http://wiki.dragino.com/xwiki/bin/view/Main/General%20Configure%20to%20Connect%20to%20IoT%20server%20for%20-NB%20%26%20-NS%20NB-IoT%20models/#H3.7A0Tago.ioA028viaA0MQTT29]]|(% style="width:385px" %) |(% style="width:170px" %)
288 |(% style="width:127px" %)[[General UDP>>url:http://wiki.dragino.com/xwiki/bin/view/Main/General%20Configure%20to%20Connect%20to%20IoT%20server%20for%20-NB%20%26%20-NS%20NB-IoT%20models/#H3.1GeneralA0UDPA0Connection]]|(% style="width:385px" %)Raw Payload. Need Developer to design Dash Board|(% style="width:170px" %)
289 |(% style="width:127px" %)[[General MQTT>>url:http://wiki.dragino.com/xwiki/bin/view/Main/General%20Configure%20to%20Connect%20to%20IoT%20server%20for%20-NB%20%26%20-NS%20NB-IoT%20models/#H3.2GeneralA0MQTTA0Connection]]|(% style="width:385px" %)Raw Payload. Need Developer to design Dash Board|(% style="width:170px" %)
290 |(% style="width:127px" %)[[ThingSpeak>>url:http://wiki.dragino.com/xwiki/bin/view/Main/General%20Configure%20to%20Connect%20to%20IoT%20server%20for%20-NB%20%26%20-NS%20NB-IoT%20models/#H3.3A0ThingSpeakA028viaA0MQTT29]]|(% style="width:385px" %)(((
291 (% style="text-align:center" %)
292 [[image:image-20230819113244-10.png||height="104" width="367"]]
293 )))|(% style="width:170px" %)
294 |(% style="width:127px" %)[[ThingsBoard>>url:http://wiki.dragino.com/xwiki/bin/view/Main/General%20Configure%20to%20Connect%20to%20IoT%20server%20for%20-NB%20%26%20-NS%20NB-IoT%20models/#H3.6A0ThingsBoard.CloudA028viaA0MQTT29]]|(% style="width:385px" %)(((
295 (% style="text-align:center" %)
296 [[image:image-20230819113244-11.png||height="141" width="367"]]
297 )))|(% style="width:170px" %)
298
299 (% style="color:blue" %)**1D Version**(%%): This version has 1NCE SIM card pre-installed and configure to send value to DataCake. User Just need to select the sensor type in DataCake and Activate SE01-NB and user will be able to see data in DataCake. See here for [[DataCake Config Instruction>>url:http://wiki.dragino.com/xwiki/bin/view/Main/General%20Configure%20to%20Connect%20to%20IoT%20server%20for%20-NB%20%26%20-NS%20NB-IoT%20models/#H3.4Datacake]].
300
301
302 == 2.2 ​Payload Types ==
303
304
305 To meet different server requirement, SE01-NB supports different payload type.
306
307 **Includes:**
308
309 * [[General JSON format payload>>||anchor="H2.2.1GeneralJsonFormat28Type3D529"]]. (Type=5)
310
311 * [[HEX format Payload>>||anchor="H2.2.2HEXformatPayload28Type3D029"]]. (Type=0)
312
313 * [[ThingSpeak Format>>||anchor="H2.2.4ThingSpeakPayload28Type3D129"]]. (Type=1)
314
315 * [[ThingsBoard Format>>||anchor="H2.2.3ThingsBoardPayload28Type3D329"]]. (Type=3)
316
317 User can specify the payload type when choose the connection protocol. Example:
318
319 (% style="color:#037691" %)**AT+PRO=2,0**  (%%) ~/~/ Use UDP Connection & hex Payload
320
321 (% style="color:#037691" %)**AT+PRO=2,5**   (%%) ~/~/ Use UDP Connection & Json Payload
322
323 (% style="color:#037691" %)**AT+PRO=3,5 ** (%%) ~/~/ Use MQTT Connection & Json Payload
324
325
326 === 2.2.1 General Json Format(Type~=5) ===
327
328
329 This is the General Json Format. As below:
330
331 (% style="color:#4472c4" %)**{"IMEI":"866207052559857","Model":"SE01-NB","temperature":21.7,"humidity":7.2,"conduct soil":2206,"soil dielectric constant":4.5,"battery":3.53,"signal":24,"1":{21.8,7.4,2282,4.6,2023/11/06 07:05:43},"2":{22.0,8.4,2533,5.1,2023/11/06 06:42:58},"3":{22.5,10.0,2832,5.8,2023/11/06 06:27:58},"4":{22.4,4.0,573,3.0,2023/11/06 05:58:02},"5":{22.5,4.0,570,3.0,2023/11/06 05:29:55},"6":{22.6,4.0,572,3.0,2023/11/06 05:14:54},"7":{22.6,3.9,574,2.9,2023/11/06 04:59:54},"8":{22.7,3.9,576,2.9,2023/11/06 04:44:54}}**
332
333
334 [[image:image-20231106151312-2.png||height="826" width="1103"]]
335
336
337 (% style="color:red" %)**Notice, from above payload:**
338
339 * Temperature, Humidity, Conduct soil & Soil dielectric constant, Battery & Signal the value at uplink time.
340
341 * Json entry 1 ~~ 8 are the last 1 ~~ 8 sampling data as specify by (% style="color:#037691" %)**AT+NOUD=8 ** (%%)Command. Each entry includes (from left to right): Soil Temperature, Soil Moisture, Soil Conductivity(EC), Soil dielectric constant & Sampling time.
342
343 === 2.2.2 HEX format Payload(Type~=0) ===
344
345
346 This is the HEX Format. As below:
347
348 (% style="color:#4472c4" %)**f86620705255985705640dd2150100031b088d097c003165488cf1089c034b09e5003365488af208cc03e30b10003a6548876e08bb018c023d001e6548806a08cb018f023a001e654879d308cf018d023c001e6548764e08d60189023e001d654872ca08df01880240001d65486f4608ea01870243001d65486bc2**
349
350 [[image:image-20231103172659-2.png||height="176" width="1281"]]
351
352
353 If we use the MQTT client to subscribe to this MQTT topic, we can see the following information when the NB sensor uplink data.
354
355
356 [[image:image-20231106150911-1.png||height="787" width="1046"]]
357
358
359 (% style="color:blue" %)**Version:**
360
361 These bytes include the hardware and software version.
362
363 (% style="color:#037691" %)**Higher byte:**(%%) Specify Sensor Model: 0x05 for SE01-NB
364
365 (% style="color:#037691" %)**Lower byte:**(%%) Specify the software version: 0x64=100, means firmware version 100
366
367
368 (% style="color:blue" %)**BAT (Battery Info):**
369
370 Ex1: 0x0CC6 = 3270mV
371
372
373 (% style="color:blue" %)**Signal Strength:**
374
375 NB-IoT Network signal Strength.
376
377 **Ex1: 0x18 = 24**
378
379 **0**  -113dBm or less
380
381 **1**  -111dBm
382
383 **2...30** -109dBm... -53dBm
384
385 **31**   -51dBm or greater
386
387 **99**    Not known or not detectable
388
389
390 (% style="color:blue" %)**Soil Moisture **
391
392 (((
393 Get the moisture content of the soil. The value range of the register is 0-10000(Decimal), divide this value by 100 to get the percentage of moisture in the soil.
394 )))
395
396 (((
397 For example, if the data you get from the register is **__0x05 0xDC__**, the moisture content in the soil is (% style="color:blue" %)**05DC(H) = 1500(D) /100 = 15%.**
398 )))
399
400
401 (% style="color:blue" %)**Soil Temperature **
402
403 (((
404 Get the temperature in the soil. The value range of the register is -4000 - +800(Decimal), divide this value by 100 to get the temperature in the soil. For example, if the data you get from the register is 0x09 0xEC, the temperature content in the soil is
405 )))
406
407 (((
408 **Example**:
409 )))
410
411 (((
412 If payload is 0105H: ((0x0105 & 0x8000)>>15 === 0),temp = 0105(H)/100 = 2.61 °C
413 )))
414
415 (((
416 If payload is FF7EH: ((FF7E & 0x8000)>>15 ===1),temp = (FF7E(H)-FFFF(H))/100 = -1.29 °C
417 )))
418
419
420 (% style="color:blue" %)**Soil Conductivity (EC) **
421
422 (((
423 Obtain (% style="color:blue" %)**__soluble salt concentration__**(%%) in soil or (% style="color:blue" %)**__soluble ion concentration in liquid fertilizer__**(%%) or (% style="color:blue" %)**__planting medium__**(%%). The value range of the register is 0 - 20000(Decimal)( Can be greater than 20000).
424 )))
425
426 (((
427 For example, if the data you get from the register is 0x00 0xC8, the soil conductivity is 00C8(H) = 200(D) = 200 uS/cm.
428 )))
429
430 (((
431 Generally, the EC value of irrigation water is less than 800uS / cm.
432 )))
433
434
435 (% style="color:blue" %)**TimeStamp:   **
436
437 Unit TimeStamp Example: 64d49439(H) = 1691653177(D)
438
439 Put the decimal value into this link([[https:~~/~~/www.epochconverter.com)>>https://www.epochconverter.com]]) to get the time.
440
441
442 === 2.2.3 ThingsBoard Payload(Type~=3) ===
443
444
445 Type3 payload special design for ThingsBoard, it will also configure other default server to ThingsBoard.
446
447 (% style="color:#4472c4" %)** {
448 "IMEI": "866207052559857",
449 "Model": "SE01-NB",
450 "temperature": 22.3,
451 "humidity": 4.0,
452 "conduct soil": 572,
453 "soil dielectric constant": 3.0,
454 "battery": 3.55,
455 "signal": 23
456 }**
457
458
459 [[image:image-20231106151403-3.png||height="529" width="1122"]]
460
461
462 === 2.2.4 ThingSpeak Payload(Type~=1) ===
463
464
465 This payload meets ThingSpeak platform requirement. It includes six fields. Form 1~~6 are:
466
467 Temperature, Humidity, Conduct soil ,Soil dielectric constant, Battery & Signal. This payload type only valid for ThingsSpeak Platform
468
469 As below:
470
471 (% style="color:#4472c4" %)**field1=Temperature value&field2=Humidity value&field3=Conduct soil value&field4=Soil dielectric constant value&field5=Battery value&field6=Signal value**
472
473 [[image:image-20231106151456-4.png||height="911" width="956"]]
474
475
476 == 2.3 Test Uplink and Change Update Interval ==
477
478
479 By default, Sensor will send uplinks (% style="color:blue" %)**every 2 hours**(%%) & AT+NOUD=8
480
481 User can use below commands to change the (% style="color:blue" %)**uplink interval**.
482
483 (% style="color:#037691" %)**AT+TDC=600 ** (%%) ~/~/ Set Update Interval to 600s
484
485 User can also push the button for more than 1 seconds to activate an uplink.
486
487
488 == 2.4 Multi-Samplings and One uplink ==
489
490 (% style="color:red" %)Notice: The AT+NOUD feature is upgraded to Clock Logging, please refer [[Clock Logging Feature>>||anchor="H2.6A0Clocklogging28Sincefirmwareversionv1.2.129"]]
491
492 To save battery life, SE01-NB will sample temperature & humidity data every 15 minutes and send one uplink every 2 hours. So each uplink it will include 8 stored data + 1 real-time data. They are defined by:
493
494 * (% style="color:#037691" %)**AT+TR=900**   (%%) ~/~/ The unit is seconds, and the default is to record data once every 900 seconds (15 minutes, the minimum can be set to 180 seconds)
495
496 * (% style="color:#037691" %)**AT+NOUD=8**     (%%)~/~/  The device uploads 8 sets of recorded data by default. Up to 32 sets of record data can be uploaded.
497
498 The diagram below explains the relationship between TR, NOUD, and TDC more clearly:
499
500 [[image:1692424376354-959.png]]
501
502
503 == 2.5 Trggier an uplink by external interrupt ==
504
505
506 SE01-NB has an external trigger interrupt function. Users can use the GPIO_EXIT pin to trigger the upload of data packets.
507
508 (% style="color:blue" %)**AT command:**
509
510 * (% style="color:#037691" %)**AT+INTMOD **(%%) ~/~/ Set the trigger interrupt mode
511
512 * (% style="color:#037691" %)**AT+INTMOD=0 **(%%) ~/~/ Disable Interrupt
513
514 * (% style="color:#037691" %)**AT+INTMOD=1 **(%%) ~/~/ Trigger by rising and falling edge
515
516 * (% style="color:#037691" %)**AT+INTMOD=2 **(%%) ~/~/ Trigger by falling edge
517
518 * (% style="color:#037691" %)**AT+INTMOD=3  **(%%) ~/~/ Trigger by rising edge
519
520 == 2.6 Clock logging (Since firmware version v1.2.1) ==
521
522
523 Sometimes when we deploy lots of end nodes in field. We want all sensors sample data at the same time, and upload these data together for analyze. In such case, we can use clock loging feature.
524
525 We can use this command to set the start time of data recording and the time interval to meet the requirements of the specific collection time of data.
526
527 * (% style="color:blue" %)**AT command:**(%%)** (% style="color:#037691" %)AT+CLOCKLOG=a,b,c,d(%%)**
528
529 (% style="color:#037691" %)**a:**(%%)** 0:** Disable Clock logging.  ** 1: **Enable Clock Logging
530
531 (% style="color:#037691" %)**b: **(%%)Specify First sampling start second: range **(0 ~~ 3599, 65535)   ** ~/~/ (% style="color:red" %)**Note:**(%%)** **If parameter b is set to 65535, the log period starts after the node accesses the network and sends packets.
532
533 (% style="color:#037691" %)**c:**(%%)** **Specify the sampling interval: range **(0 ~~ 255 minutes)**
534
535 (% style="color:#037691" %)**d:**(%%)** **How many entries should be uplink on every TDC **(max 32)**
536
537 [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/SPH01-NB_NB-IoT_Soil_pH_Sensor_User_Manual/WebHome/image-20240315141254-1.png?rev=1.1||alt="image-20240315141254-1.png"]]
538
539 **Example:**
540
541 **AT+CLOCKLOG=1,65535,1,5**
542
543 After the node sends the first packet, data is recorded to the memory at intervals of 1 minute. For each TDC uplink, the uplink load will include: battery information + the last 5 memory records (payload + timestamp).
544
545 [[image:image-20240315160632-1.png||height="603" width="1270"]]
546
547 (% style="color:red" %)**Note: Users need to synchronize the server time before configuring this command. If the server time is not synchronized before this command is configured, the command takes effect only after the node is reset.**
548
549
550 == 2.7 Example Query saved historical records ==
551
552
553 * (% style="color:blue" %)**AT command:**(%%)** (% style="color:#037691" %)AT+CDP(%%)**
554
555 This command can be used to search the saved history, recording up to 32 groups of data, each group of historical data contains a maximum of 100 bytes.
556
557 [[image:image-20240315161052-2.png||height="609" width="795"]]
558
559
560 == 2.8 Uplink log query ==
561
562
563 * (% style="color:blue" %)**AT command:**(%%)** (% style="color:#037691" %)AT+GETLOG(%%)**
564
565 This command can be used to query upstream logs of data packets.
566
567 [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/PS-NB-NA_NB-IoT_Analog_Sensor_User_Manual/WebHome/image-20240407191922-2.png?width=903&height=631&rev=1.1||alt="image-20240407191922-2.png"]]
568
569
570
571
572 = 3. Configure SE01-NB =
573
574 == 3.1 Configure Methods ==
575
576
577 SE01-NB supports below configure method:
578
579 * AT Command via Bluetooth Connection (**Recommended**): [[BLE Configure Instruction>>http://wiki.dragino.com/xwiki/bin/view/Main/BLE%20Bluetooth%20Remote%20Configure/]].
580
581 * AT Command via UART Connection : See [[UART Connection>>http://wiki.dragino.com/xwiki/bin/view/Main/UART%20Access%20for%20LoRa%20ST%20v4%20base%20model/#H2.3UARTConnectionforSN50v3basemotherboard]].
582
583 == 3.2 AT Commands Set ==
584
585
586 AT+<CMD>?        : Help on <CMD>
587
588 AT+<CMD>         : Run <CMD>
589
590 AT+<CMD>=<value> : Set the value
591
592 AT+<CMD>=?       : Get the value
593
594
595 (% style="color:blue" %)**General Commands**      
596
597 AT                    : Attention       
598
599 AT?  : Short Help     
600
601 ATZ  : MCU Reset    
602
603 AT+TDC  : Application Data Transmission Interval
604
605 AT+CFG  : Print all configurations
606
607 AT+CFGMOD           : Working mode selection
608
609 AT+DEUI  : Get or set the Device ID
610
611 AT+INTMOD            : Set the trigger interrupt mode
612
613 AT+5VT           : Set extend the time of 5V power  
614
615 AT+PRO          : Choose agreement
616
617 AT+RXDL  : Extend the sending and receiving time
618
619 AT+DNSCFG  : Get or Set DNS Server
620
621 AT+GETSENSORVALUE   : Returns the current sensor measurement
622
623 AT+NOUD  : Get or Set the number of data to be uploaded
624
625 AT+CDP     : Read or Clear cached data
626
627 AT+SHTEMP:  Get or Set alarm of temp
628
629 AT+SHHUM:  Get or Set alarm of moisture
630
631 AT+SERVADDR :  Server Address
632
633
634 (% style="color:blue" %)**MQTT Management**
635
636 AT+CLIENT               : Get or Set MQTT client
637
638 AT+UNAME              : Get or Set MQTT Username
639
640 AT+PWD                  : Get or Set MQTT password
641
642 AT+PUBTOPIC  : Get or Set MQTT publish topic
643
644 AT+SUBTOPIC  : Get or Set MQTT subscription topic
645
646
647 (% style="color:blue" %)**Information**          
648
649 AT+FDR  : Factory Data Reset
650
651 AT+PWORD  : Serial Access Password
652
653 AT+LDATA  : Get the last upload data
654
655 AT+CDP  : Read or Clear cached data
656
657
658 = 4. Battery & Power Consumption =
659
660
661 SE01-NB use ER26500 + SPC1520 battery pack. See below link for detail information about the battery info and how to replace.
662
663 [[**Battery Info & Power Consumption Analyze**>>http://wiki.dragino.com/xwiki/bin/view/Main/How%20to%20calculate%20the%20battery%20life%20of%20Dragino%20sensors%3F/]] .
664
665
666 = 5. Firmware update =
667
668
669 User can change device firmware to::
670
671 * Update with new features.
672
673 * Fix bugs.
674
675 Firmware and changelog can be downloaded from : **[[Firmware download link>>https://www.dropbox.com/sh/6i8xatl2xk65d0i/AACgGFUvzzQGalxL_T12tk70a?dl=0]]**
676
677 Methods to Update Firmware:
678
679 * (Recommended way) OTA firmware update via BLE: [[**Instruction**>>url:http://wiki.dragino.com/xwiki/bin/view/Main/BLE_Firmware_Update_NB_Sensors_BC660K-GL/]].
680
681 * Update through UART TTL interface : **[[Instruction>>http://wiki.dragino.com/xwiki/bin/view/Main/UART_Access_for_NB_ST_BC660K-GL/#H4.2UpdateFirmware28Assumethedevicealreadyhaveabootloader29]]**.
682
683 = 6. FAQ =
684
685 == 6.1 How can I access t BC660K-GL AT Commands? ==
686
687
688 User can access to BC660K-GL directly and send AT Commands.
689
690 [[See BC660K-GL AT Command set>>url:https://www.dropbox.com/sh/5f6ssda5fum8rvs/AABT68l8ZzWOvZ5eg2qwOoFda?dl=0]]
691
692
693 == 6.2 ​Can I calibrate SE01-NB to different soil types? ==
694
695
696 (((
697 SE01-NB is calibrated for saline-alkali soil and loamy soil. If users want to use it for other soil, they can calibrate the value in the IoT platform base on the value measured by saline-alkali soil and loamy soil. The formula can be found at [[this link>>https://www.dragino.com/downloads/downloads/LoRa_End_Node/LSE01/Calibrate_to_other_Soil_20230522.pdf]].
698 )))
699
700
701 = 7. Order Info =
702
703
704 Part Number: (% style="color:blue" %)**SE01-NB-XX**
705
706 (% style="color:red" %)**XX**(%%):
707
708 * (% style="color:#037691" %)**GE**(%%): General version ( Exclude SIM card)
709
710 * (% style="color:#037691" %)**1D**(%%): with 1NCE* 10 years 500MB SIM card and Pre-configure to DataCake server
711
712 (% style="color:#037691" %)**1NCE SIM Card NB-IoT network coverage**(%%): Austria, Belgium, Bulgaria, Croatia, Czech Republic, Denmark, Finland, Germany, Great Britain, Greece, Hungary, Ireland, Italy, Latvia, Malta, Netherlands, Norway, Puerto Rico, Russia, Slovak , Republic, Slovenia, Spain, Sweden, Switzerland, Taiwan, USA, US Virgin Islands
713
714
715 = 8. ​Packing Info =
716
717
718 (% style="color:#037691" %)**Package Includes**:
719
720 * SE01-NB NB-IoT Soil Moisture & EC Sensor x 1
721
722 * External antenna x 1
723
724 (% style="color:#037691" %)**Dimension and weight**:
725
726 * Device Size: cm
727
728 * Device Weight: g
729
730 * Package Size / pcs : cm
731
732 * Weight / pcs : g
733
734 = 9. Support =
735
736
737 * 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.
738
739 * 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.cc>>mailto:Support@dragino.cc]].
740
741 (% style="display:none" %) (%%)
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0