Changes for page DS20L -- LoRaWAN Smart Distance Detector User Manual 01
Last modified by Mengting Qiu on 2023/12/14 11:15
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Saxer1 +XWiki.Xiaoling - Content
-
... ... @@ -241,11 +241,12 @@ 241 241 242 242 === 2.3.1 Device Status, FPORT~=5 === 243 243 244 + 244 244 Users can use the downlink command(**0x26 01**) to ask LDS12-LB to send device configure detail, include device configure status. LDS12-LB will uplink a payload via FPort=5 to server. 245 245 246 246 The Payload format is as below. 247 247 248 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:5 29px" %)249 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 249 249 |=(% style="width: 62.5px;background-color:#4F81BD;color:white" %)((( 250 250 **Size(bytes)** 251 251 )))|=(% style="width: 110px; background-color: rgb(79, 129, 189); color: white;" %)**1**|=(% style="width: 48px; background-color: rgb(79, 129, 189); color: white;" %)**2**|=(% style="background-color: rgb(79, 129, 189); color: white; width: 94px;" %)**1**|=(% style="background-color: rgb(79, 129, 189); color: white; width: 91px;" %)**1**|=(% style="background-color: rgb(79, 129, 189); color: white; width: 60px;" %)**2** ... ... @@ -304,8 +304,9 @@ 304 304 Ex2: 0x0B49 = 2889mV 305 305 306 306 307 -=== 2.3.2 DeviceStatus, FPORT~=5===308 +=== 2.3.2 Uplink Payload, FPORT~=2 === 308 308 310 + 309 309 ((( 310 310 LDS12-LB will uplink payload via LoRaWAN with below payload format: 311 311 ))) ... ... @@ -420,7 +420,7 @@ 420 420 |(% style="width:160px" %)0x01|(% style="width:163px" %)Normal Uplink|(% style="width:173px" %)[[Normal Uplink Payload>>||anchor="H2.3200BUplinkPayload"]] 421 421 |(% style="width:160px" %)0x02|(% style="width:163px" %)Reply configures info|(% style="width:173px" %)[[Configure Info Payload>>||anchor="H3.ConfigureLDS12-LB"]] 422 422 423 -=== 2.3. 8Decode payload in The Things Network ===425 +=== 2.3.3 Decode payload in The Things Network === 424 424 425 425 426 426 While using TTN network, you can add the payload format to decode the payload. ... ... @@ -759,6 +759,33 @@ 759 759 760 760 * Example 2: Downlink Payload: 06000003 ~/~/ Set the interrupt mode to rising edge trigger 761 761 764 +=== 3.3.3 Set Power Output Duration === 765 + 766 +Control the output duration 3V3 . Before each sampling, device will 767 + 768 +~1. first enable the power output to external sensor, 769 + 770 +2. keep it on as per duration, read sensor value and construct uplink payload 771 + 772 +3. final, close the power output. 773 + 774 +(% style="color:blue" %)**AT Command: AT+3V3T** 775 + 776 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 777 +|=(% style="width: 155px;background-color:#4F81BD;color:white" %)**Command Example**|=(% style="width: 197px;background-color:#4F81BD;color:white" %)**Function**|=(% style="width: 158px;background-color:#4F81BD;color:white" %)**Response** 778 +|(% style="width:154px" %)AT+3V3T=?|(% style="width:196px" %)Show 3V3 open time.|(% style="width:157px" %)0 (default) 779 +OK 780 +|(% style="width:154px" %)AT+3V3T=1000|(% style="width:196px" %)Close after a delay of 1000 milliseconds.|(% style="width:157px" %)OK 781 +|(% style="width:154px" %)AT+3V3T=0|(% style="width:196px" %)Always turn on the power supply of 3V3 pin.|(% style="width:157px" %)OK 782 + 783 +(% style="color:blue" %)**Downlink Command: 0x07**(%%) 784 +Format: Command Code (0x07) followed by 3 bytes. 785 + 786 +The first byte is 01,the second and third bytes are the time to turn on. 787 + 788 +* Example 1: Downlink Payload: 07 01 00 00 **~-~-->** AT+3V3T=0 789 +* Example 2: Downlink Payload: 07 01 01 F4 **~-~-->** AT+3V3T=500 790 + 762 762 = 4. Battery & Power Consumption = 763 763 764 764