Changes for page LWL02 -- LoRaWAN Water Leak Sensor User Manual
Last modified by Mengting Qiu on 2024/05/29 11:20
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 1 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -3,10 +3,14 @@ 3 3 4 4 5 5 6 +**Contents:** 6 6 8 +{{toc/}} 7 7 8 8 9 9 12 + 13 + 10 10 = 1. Introduction = 11 11 12 12 == 1.1 What is LWL02 LoRaWAN Water Leak Sensor == ... ... @@ -177,32 +177,32 @@ 177 177 178 178 == 4.4 Downlink Payload == 179 179 180 -(% border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width: 510px" %)184 +(% border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:410px" %) 181 181 |=(% style="width: 180px;" %)**Downlink Control Type**|=(% style="width: 80px;" %)**Type Code**|=(% style="width: 150px;" %)**Downlink payload size(bytes)** 182 182 |(% style="width:180px" %)TDC (Transmit Time Interval—Keep Alive Interval)|(% style="width:80px" %)0x01|(% style="width:150px" %)4 183 183 |(% style="width:180px" %)RESET|(% style="width:80px" %)0x04|(% style="width:224px" %)2 184 -|(% style="width:180px" %)[[Set confirmed mode>> path:#code05]]|(% style="width:80px" %)0x05|(% style="width:150px" %)2185 -|(% style="width:180px" %)[[Clear Counting>> path:#codeA6]]|(% style="width:80px" %)0xA6|(% style="width:150px" %)2186 -|(% style="width:180px" %)[[Enable/Disable Alarm>> path:#code70]]|(% style="width:80px" %)0xA7|(% style="width:150px" %)2187 -|(% style="width:180px" %)[[Control ADR/DR>> path:#codeA8]]|(% style="width:80px" %)0xA8|(% style="width:150px" %)3188 -|(% style="width:180px" %)[[Set Alarm Timeout>> path:#Alarm_Timeout]]|(% style="width:80px" %)0xA9|(% style="width:150px" %)4188 +|(% style="width:180px" %)[[Set confirmed mode>>||anchor="HTypeCode0x05"]]|(% style="width:80px" %)0x05|(% style="width:150px" %)2 189 +|(% style="width:180px" %)[[Clear Counting>>||anchor="HTypeCode0xA6"]]|(% style="width:80px" %)0xA6|(% style="width:150px" %)2 190 +|(% style="width:180px" %)[[Enable/Disable Alarm>>||anchor="HTypeCode0xA7"]]|(% style="width:80px" %)0xA7|(% style="width:150px" %)2 191 +|(% style="width:180px" %)[[Control ADR/DR>>||anchor="HTypeCode0xA8"]]|(% style="width:80px" %)0xA8|(% style="width:150px" %)3 192 +|(% style="width:180px" %)[[Set Alarm Timeout>>||anchor="HTypeCode0xA9"]]|(% style="width:80px" %)0xA9|(% style="width:150px" %)4 189 189 190 190 Example Downlink payload setting in TTN V3: 191 191 192 -[[image: file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image015.png]]196 +[[image:1654673412319-976.png]] 193 193 194 194 195 -**Type Code 0x01** 199 +=== (% style="color:#037691" %)**Type Code 0x01**(%%) === 196 196 197 197 If the payload=0100003C, means to control the LWL02’s Keep Alive interval to 0x00003C=60(S) 198 198 199 199 200 -**Type Code 0x04** 204 +=== (% style="color:#037691" %)**Type Code 0x04**(%%) === 201 201 202 202 If payload = 0x04FF, it will reset the LWL02. 203 203 204 204 205 -**Type Code 0x05** 209 +=== (% style="color:#037691" %)**Type Code 0x05**(%%) === 206 206 207 207 0x05 00: Set uplink to LoRaWAN unconfirmed mode 208 208 ... ... @@ -209,13 +209,13 @@ 209 209 0x05 01: Set uplink to LoRaWAN confirmed mode 210 210 211 211 212 -**Type Code 0xA6** 216 +=== (% style="color:#037691" %)**Type Code 0xA6**(%%) === 213 213 214 214 Example: 0xA601: Clear Counting 215 215 For LWL02: reset both count number and time. 216 216 217 217 218 -**Type Code 0xA7** 222 +=== (% style="color:#037691" %)**Type Code 0xA7**(%%) === 219 219 220 220 0xA7 01 : Equal to AT+DISALARM=1 221 221 ... ... @@ -222,7 +222,7 @@ 222 222 0xA7 00 : Equal to AT+DISALARM=0 223 223 224 224 225 -**Type Code 0xA8** 229 +=== (% style="color:#037691" %)**Type Code 0xA8**(%%) === 226 226 227 227 Format: 0xA8 aa bb 228 228 ... ... @@ -233,13 +233,13 @@ 233 233 Example: 0x A8 00 02 : Set ADR=0 and DR=1 234 234 235 235 236 -**Type Code 0xA9** 240 +=== (% style="color:#037691" %)**Type Code 0xA9**(%%) === 237 237 238 238 See [[Alarm Base Timeout>>path:#Alarm_Timeout]] for detail. 239 239 240 240 241 241 242 -1. 246 +1. 243 243 11. Integrate with Datacake 244 244 245 245 Datacake provides a human friendly interface to show the sensor data, once we have data in TTN V3, we can use Datacake to connect to TTN V3 and see the data in Datacake. Below are the steps: ... ... @@ -304,7 +304,7 @@ 304 304 305 305 306 306 307 -1. 311 +1. 308 308 11. LEDs 309 309 310 310 |**Action**|**LED behavior**
- 1654673412319-976.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +44.9 KB - Content