Changes for page LDDS45 - LoRaWAN Distance Detection Sensor User Manual
Last modified by Mengting Qiu on 2025/02/26 15:04
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 1 removed)
Details
- Page properties
-
- Content
-
... ... @@ -92,6 +92,7 @@ 92 92 * Sewer 93 93 * Bottom water level monitoring 94 94 95 + 95 95 == 1.6 Pin mapping and power on == 96 96 97 97 ... ... @@ -183,10 +183,11 @@ 183 183 == 2.3 Uplink Payload == 184 184 185 185 ((( 186 -LDDS75 will uplink payload via LoRaWAN with below payload format: 187 +LLDS12 will uplink payload via LoRaWAN with below payload format: 188 +))) 187 187 188 - Uplink payload includes in total 4 bytes.189 - Payloadfor firmware versionv1.1.4. . Before v1.1.3, there ison twofields:BATand Distance190 +((( 191 +Uplink payload includes in total 11 bytes. 190 190 ))) 191 191 192 192 ((( ... ... @@ -196,23 +196,23 @@ 196 196 (% border="1" cellspacing="10" style="background-color:#ffffcc; width:510px" %) 197 197 |=(% style="width: 62.5px;" %)((( 198 198 **Size (bytes)** 199 -)))|=(% style="width: 62.5px;" %)**2**|=**2**|=1|=2|=**1** 200 -|(% style="width:62.5px" %)**Value**|(% style="width:62.5px" %)[[BAT>>||anchor="H2.3.1A0BatteryInfo"]]|((( 201 -[[Distance>>||anchor="H2.3.3A0Distance"]] 201 +)))|=(% style="width: 62.5px;" %)**2**|=(% style="width: 62.5px;" %)**2**|=**2**|=**2**|=**1**|=**1**|=**1** 202 +|(% style="width:62.5px" %)**Value**|(% style="width:62.5px" %)[[BAT>>||anchor="H2.3.1A0BatteryInfo"]]|(% style="width:62.5px" %)((( 203 +[[Temperature DS18B20>>||anchor="H2.3.2A0DS18B20Temperaturesensor"]] 204 +)))|[[Distance>>||anchor="H2.3.3A0Distance"]]|[[Distance signal strength>>||anchor="H2.3.4A0Distancesignalstrength"]]|((( 205 +[[Interrupt flag>>||anchor="H2.3.5A0InterruptPin"]] 206 +)))|[[LiDAR temp>>||anchor="H2.3.6A0LiDARtemp"]]|((( 207 +[[Message Type>>||anchor="H2.3.7A0MessageType"]] 208 +))) 202 202 203 -(unit: mm) 204 -)))|[[Digital Interrupt (Optional)>>||anchor="H2.3.4A0Distancesignalstrength"]]|((( 205 -[[Temperature (Optional )>>||anchor="H2.3.5A0InterruptPin"]] 206 -)))|[[Sensor Flag>>path:#Sensor_Flag]] 210 +[[image:1654833689380-972.png]] 207 207 208 -[[image:1654850511545-399.png]] 209 209 210 210 211 - 212 212 === 2.3.1 Battery Info === 213 213 214 214 215 -Check the battery voltage for LD DS75.217 +Check the battery voltage for LLDS12. 216 216 217 217 Ex1: 0x0B45 = 2885mV 218 218 ... ... @@ -220,22 +220,49 @@ 220 220 221 221 222 222 223 -=== 2.3.2 D istance ===225 +=== 2.3.2 DS18B20 Temperature sensor === 224 224 225 - Get thedistance.Flatobject range280mm-7500mm.227 +This is optional, user can connect external DS18B20 sensor to the +3.3v, 1-wire and GND pin . and this field will report temperature. 226 226 227 -For example, if the data you get from the register is 0x0B 0x05, the distance between the sensor and the measured object is 228 228 229 -** (% style="color:#4472C4" %) 0B05(H) = 2821 (D) = 2821 mm.**230 +**Example**: 230 230 232 +If payload is: 0105H: (0105 & FC00 == 0), temp = 0105H /10 = 26.1 degree 231 231 232 -* If the sensor value is 0x0000, it means system doesn’t detect ultrasonic sensor. 233 -* If the sensor value lower than 0x0118 (280mm), the sensor value will be invalid. Since v1.1.4, all value lower than 280mm will be set to 0x0014(20mm) which means the value is invalid. 234 +If payload is: FF3FH : (FF3F & FC00 == 1) , temp = (FF3FH - 65536)/10 = -19.3 degrees. 234 234 235 -=== 2.3.3 Interrupt Pin === 236 236 237 + 238 +=== 2.3.3 Distance === 239 + 240 +Represents the distance value of the measurement output, the default unit is cm, and the value range parsed as a decimal number is 0-1200. In actual use, when the signal strength value Strength. 241 + 242 + 243 +**Example**: 244 + 245 +If the data you get from the register is 0x0B 0xEA, the distance between the sensor and the measured object is 0BEA(H) = 3050 (D)/10 = 305cm. 246 + 247 + 248 + 249 +=== 2.3.4 Distance signal strength === 250 + 251 +Refers to the signal strength, the default output value will be between 0-65535. When the distance measurement gear is fixed, the farther the distance measurement is, the lower the signal strength; the lower the target reflectivity, the lower the signal strength. When Strength is greater than 100 and not equal to 65535, the measured value of Dist is considered credible. 252 + 253 + 254 +**Example**: 255 + 256 +If payload is: 01D7(H)=471(D), distance signal strength=471, 471>100,471≠65535, the measured value of Dist is considered credible. 257 + 258 +Customers can judge whether they need to adjust the environment based on the signal strength. 259 + 260 + 261 + 262 +=== 2.3.5 Interrupt Pin === 263 + 237 237 This data field shows if this packet is generated by interrupt or not. [[Click here>>||anchor="H4.2A0SetInterruptMode"]] for the hardware and software set up. 238 238 266 +Note: The Internet Pin is a separate pin in the screw terminal. See [[pin mapping>>||anchor="H1.6A0Pinmappingandpoweron"]]. 267 + 239 239 **Example:** 240 240 241 241 0x00: Normal uplink packet. ... ... @@ -243,30 +243,35 @@ 243 243 0x01: Interrupt Uplink Packet. 244 244 245 245 246 -=== 2.3.4 DS18B20 Temperature sensor === 247 247 248 - Thisis optional, user can connect external DS18B20 sensor to the +3.3v,1-wire and GNDpin . andthis field will report temperature.276 +=== 2.3.6 LiDAR temp === 249 249 250 - **Example**:278 +Characterize the internal temperature value of the sensor. 251 251 252 -If payload is: 0105H: (0105 & FC00 == 0), temp = 0105H /10 = 26.1 degree 280 +**Example: ** 281 +If payload is: 1C(H) <<24>>24=28(D),LiDAR temp=28℃. 282 +If payload is: F2(H) <<24>>24=-14(D),LiDAR temp=-14℃. 253 253 254 -If payload is: FF3FH : (FF3F & FC00 == 1) , temp = (FF3FH - 65536)/10 = -19.3 degrees. 255 255 256 -(% style="color:red" %)Note: DS18B20 feature is supported in the hardware version > v1.3 which made since early of 2021. 257 257 286 +=== 2.3.7 Message Type === 258 258 288 +((( 289 +For a normal uplink payload, the message type is always 0x01. 290 +))) 259 259 260 -=== 2.3.5 Sensor Flag === 292 +((( 293 +Valid Message Type: 294 +))) 261 261 262 -0x01: Detect Ultrasonic Sensor 263 263 264 -0x00: No Ultrasonic Sensor 297 +(% border="1" cellspacing="10" style="background-color:#ffffcc; width:499px" %) 298 +|=(% style="width: 160px;" %)**Message Type Code**|=(% style="width: 163px;" %)**Description**|=(% style="width: 173px;" %)**Payload** 299 +|(% style="width:160px" %)0x01|(% style="width:163px" %)Normal Uplink|(% style="width:173px" %)[[Normal Uplink Payload>>||anchor="H2.3A0200BUplinkPayload"]] 300 +|(% style="width:160px" %)0x02|(% style="width:163px" %)Reply configures info|(% style="width:173px" %)[[Configure Info Payload>>||anchor="H4.3A0GetFirmwareVersionInfo"]] 265 265 302 +=== 2.3.8 Decode payload in The Things Network === 266 266 267 -=== 268 -(% style="color:inherit; font-family:inherit" %)2.3.6 Decode payload in The Things Network(%%) === 269 - 270 270 While using TTN network, you can add the payload format to decode the payload. 271 271 272 272
- 1654850511545-399.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -88.3 KB - Content