Changes for page SN50v3-LB/LS -- LoRaWAN Sensor Node User Manual
Last modified by Bei Jinggeng on 2025/01/10 15:51
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Attachments (0 modified, 1 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Saxer1 +XWiki.Xiaoling - Content
-
... ... @@ -609,13 +609,24 @@ 609 609 [[image:image-20230817170702-1.png||height="161" width="1044"]] 610 610 611 611 612 - (%style="color:blue"%)**AT+PWMSET=AA(Defaultis0) ==> Corresponding downlink:0BAA**612 +When the device detects the following PWM signal ,decoder will converts the pulse period and high-level duration to frequency and duty cycle. 613 613 614 - When AA is 0, the unit of PWM capturetime is microsecond. The capture frequencyrange is between 20HZ and 100000HZ.614 +Frequency: 615 615 616 -When AA is 1, the unit of PWM capture time is millisecond. The capture frequency range is between 5HZ and 250HZ. 616 +(% class="MsoNormal" %) 617 +(% lang="EN-US" %)If (% style="background-attachment:initial; background-clip:initial; background-image:initial; background-origin:initial; background-position:initial; background-repeat:initial; background-size:initial; color:blue; font-family:Arial,sans-serif" %)**AT+PWMSET**(%%)**=0,**(% lang="EN-US" %)Frequency= 1000000/(%%)Pulse period(HZ); 617 617 619 +(% class="MsoNormal" %) 620 +(% lang="EN-US" %)If (% style="background-attachment:initial; background-clip:initial; background-image:initial; background-origin:initial; background-position:initial; background-repeat:initial; background-size:initial; color:blue; font-family:Arial,sans-serif" %)**AT+PWMSET**(%%)**=1,**(% lang="EN-US" %)Frequency= 1000/(%%)Pulse period(HZ); 618 618 622 +(% class="MsoNormal" %) 623 +Duty cycle: 624 + 625 +Duty cycle= Duration of high level/ Pulse period*100 ~(%). 626 + 627 +[[image:image-20230818092200-1.png||height="344" width="627"]] 628 + 629 + 619 619 ===== 2.3.2.10.b Downlink, PWM output ===== 620 620 621 621 [[image:image-20230817173800-3.png||height="412" width="685"]] ... ... @@ -875,10 +875,11 @@ 875 875 The signal captured by the input should preferably be processed by hardware filtering and then connected in. The software processing method is to capture four values, discard the first captured value, and then take the middle value of the second, third, and fourth captured values. 876 876 ))) 877 877 * ((( 878 -Since the device can only detect a pulse period of 50ms when AT+PWMSET=0 (counting in microseconds), it is necessary to change the value of PWMSET according to the frequency of input capture. 889 +Since the device can only detect a pulse period of 50ms when [[AT+PWMSET=0>>||anchor="H3.3.8PWMsetting"]] (counting in microseconds), it is necessary to change the value of PWMSET according to the frequency of input capture. 890 + 891 + 879 879 ))) 880 880 881 - 882 882 ==== 2.3.3.13 Working MOD ==== 883 883 884 884 ... ... @@ -1127,6 +1127,32 @@ 1127 1127 * Example 1: Downlink Payload: 0A01 **~-~-->** AT+MOD=1 1128 1128 * Example 2: Downlink Payload: 0A04 **~-~-->** AT+MOD=4 1129 1129 1142 +=== 3.3.8 PWM setting === 1143 + 1144 +Feature: Set the time acquisition unit for PWM input capture. 1145 + 1146 +(% style="color:blue" %)**AT Command: AT+PWMSET** 1147 + 1148 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 1149 +|=(% style="width: 155px;background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 197px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 158px;background-color:#D9E2F3;color:#0070C0" %)**Response** 1150 +|(% style="width:154px" %)AT+PWMSET=?|(% style="width:196px" %)0|(% style="width:157px" %)((( 1151 +0(default) 1152 + 1153 +OK 1154 +))) 1155 +|(% style="width:154px" %)AT+PWMSET=0|(% style="width:196px" %)The unit of PWM capture time is microsecond. The capture frequency range is between 20HZ and 100000HZ. |(% style="width:157px" %)((( 1156 +OK 1157 + 1158 +))) 1159 +|(% style="width:154px" %)AT+PWMSET=1|(% style="width:196px" %)The unit of PWM capture time is millisecond. The capture frequency range is between 5HZ and 250HZ. |(% style="width:157px" %)OK 1160 + 1161 +(% style="color:blue" %)**Downlink Command: 0x0C** 1162 + 1163 +Format: Command Code (0x0C) followed by 1 bytes. 1164 + 1165 +* Example 1: Downlink Payload: 0C00 **~-~-->** AT+PWMSET=0 1166 +* Example 2: Downlink Payload: 0C01 **~-~-->** AT+PWMSET=1 1167 + 1130 1130 = 4. Battery & Power Consumption = 1131 1131 1132 1132
- image-20230818092200-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Saxer - Size
-
... ... @@ -1,0 +1,1 @@ 1 +98.9 KB - Content