Changes for page LSN50v2-D20-D22-D23 LoRaWAN Temperature Sensor User Manual
Last modified by Xiaoling on 2025/04/24 17:18
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 3 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -104,7 +104,6 @@ 104 104 105 105 106 106 107 - 108 108 == 1.4 Pin mapping and power on == 109 109 110 110 [[image:1654930101285-501.png]] ... ... @@ -208,7 +208,6 @@ 208 208 ))) 209 209 210 210 211 - 212 212 === 1.5.2 P01A-15 probe === 213 213 214 214 A01A-15 is mainly used for plane distance measurement; it can carry out targeted measurement on plane objects and can measure long distances and high accuracy. ... ... @@ -392,7 +392,7 @@ 392 392 **Register the device:** 393 393 ))) 394 394 395 -(% style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %)[[image:1654935135620-998.png]](% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" tabindex="-1" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||data-widget="image" draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]][[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %) (% title="Click and drag to resize" %)393 +(% style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %)[[image:1654935135620-998.png]](% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" tabindex="-1" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||data-widget="image" draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]][[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %) 396 396 397 397 (% style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %) 398 398 ... ... @@ -430,11 +430,11 @@ 430 430 (% style="color:blue" %)**Step 3**(%%)**:** The LDDS04 will auto join to the TTN network. After join success, it will start to upload messages to TTN and you can see the messages in the panel. 431 431 ))) 432 432 433 -(% style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %)[[image:1654935473814-664.png||height="203" width="744"]](% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" tabindex="-1" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||data-widget="image" draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]][[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %) (% title="Click and drag to resize" %)431 +(% style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %)[[image:1654935473814-664.png||height="203" width="744"]](% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" tabindex="-1" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||data-widget="image" draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]][[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %) 434 434 435 435 436 436 437 -== 2. 3Uplink Payload ==435 +== 2.4 Uplink Payload == 438 438 439 439 ((( 440 440 ((( ... ... @@ -463,21 +463,13 @@ 463 463 464 464 [[Interrupt flag>>path:#Int_pin]] 465 465 )))|((( 466 -[[Distance of>>path:#Distance]] 467 - 468 -[[UT sensor1>>path:#Distance]] 464 +[[Distance of UT sensor1>>path:#Distance]] 469 469 )))|((( 470 -[[Distance of>>path:#Distance]] 471 - 472 -[[UT sensor2>>path:#Distance]] 466 +[[Distance of UT sensor2>>path:#Distance]] 473 473 )))|((( 474 -[[Distance of>>path:#Distance]] 475 - 476 -[[UT sensor3>>path:#Distance]] 468 +[[Distance of UT sensor3>>path:#Distance]] 477 477 )))|((( 478 -[[Distance of>>path:#Distance]] 479 - 480 -[[UT sensor4>>path:#Distance]] 470 +[[Distance of UT sensor4>>path:#Distance]] 481 481 )))|((( 482 482 [[Message>>path:#Message_Type]] 483 483 ... ... @@ -488,7 +488,7 @@ 488 488 489 489 490 490 491 -=== 2. 3.1 Battery Info ===481 +=== 2.4.1 Battery Info === 492 492 493 493 494 494 Check the battery voltage for LDDS45. ... ... @@ -499,82 +499,125 @@ 499 499 500 500 501 501 502 -=== 2. 3.2Distance ===492 +=== 2.4.2 Interrupt Pin === 503 503 504 -((( 505 -Get the distance. Flat object range 30mm - 4500mm. 506 -))) 494 +This data field shows if this packet is generated by interrupt or not. [[Click here>>||anchor="H4.3A0SetInterruptMode"]] for the hardware and software set up. 507 507 508 -((( 509 -For example, if the data you get from the register is __0x0B 0x05__, the distance between the sensor and the measured object is(% style="color:#4472c4" %)** 0B05(H) = 2821 (D) = 2821 mm.** 510 -))) 496 +Note: The Internet Pin is a separate pin in the screw terminal. See [[pin mapping>>path:#pins]]. 511 511 512 512 513 -* If the sensor value is 0x0000, it means system doesn’t detect ultrasonic sensor. 514 -* If the sensor value lower than 0x001E (30mm), the sensor value will be 0x00. 499 +**Example:** 515 515 516 -= ==2.3.3Interrupt Pin===501 +(0x0D4A & 0x8000) >>15 = 0: Normal uplink packet. 517 517 518 - Thisdatafieldshowsifthispacket is generated by interruptor not. [[Clickhere>>||anchor="H4.3A0SetInterruptMode"]] for the hardware and software set up.503 +(0x8D41 & 0x8000) >>15 = 1: Interrupt Uplink Packet. 519 519 520 -**Example:** 521 521 522 -0x00: Normal uplink packet. 523 523 524 - 0x01:InterruptUplink Packet.507 +=== 2.4.3 Distance === 525 525 509 +((( 510 +The measuring distance of the four distance measuring modules, the default unit is cm. 526 526 527 527 528 - === 2.3.4 DS18B20 Temperature sensor ===513 +**Example**: 529 529 530 - This is optional,user can connect externalDS18B20sensortothe+3.3v,1-wireandGNDpin.and this field will report temperature.515 +Uplink Payload: 0D 4A 03 16 03 18 03 1A 03 15 01 531 531 532 -**Example**: 533 533 534 - If payloadis:0105H: (0105 & FC00 == 0), temp = 0105H /10 = 26.1 degree518 +Data analysis: 535 535 536 - If payloadis:FF3FH:(FF3F & FC00 ==1), temp=(FF3FH- 65536)/10 =-19.3 degrees.520 +Distance of UT sensor1 : 0316(H) = 790 (D)/10 = 79cm. 537 537 522 +Distance of UT sensor2 : 0318(H) = 792 (D)/10 = 79.2cm. 538 538 524 +Distance of UT sensor3 : 031A(H) = 794 (D)/10 = 79.4cm. 539 539 540 - ===2.3.5SensorFlag===526 +Distance of UT sensor4 : 0315(H) = 789 (D)/10 = 78.9cm. 541 541 528 + 529 +))) 530 + 531 + 532 +=== 2.4.4 Message Type === 533 + 542 542 ((( 543 - 0x01:DetectUltrasonicSensor535 +For a normal uplink payload, the message type is always 0x01. 544 544 ))) 545 545 546 546 ((( 547 - 0x00: No UltrasonicSensor539 +Valid Message Type: 548 548 ))) 549 549 550 550 543 +(% border="1" cellspacing="10" style="background-color:#ffffcc; width:499px" %) 544 +|=(% style="width: 160px;" %)**Message Type Code**|=(% style="width: 163px;" %)**Description**|=(% style="width: 173px;" %)**Payload** 545 +|(% style="width:160px" %)0x01|(% style="width:163px" %)Normal Uplink|(% style="width:173px" %)[[Normal Uplink Payload>>||anchor="H2.3A0200BUplinkPayload"]] 546 +|(% style="width:160px" %)0x02|(% style="width:163px" %)Reply configures info|(% style="width:173px" %)[[Configure Info Payload>>||anchor="H4.3A0GetFirmwareVersionInfo"]] 551 551 552 - === 2.3.6Decodepayload inTheThings Network===548 +[[image:1654936589640-122.png||height="248" width="806"]] 553 553 550 + 551 + 552 +=== 2.4.5 Decode payload in The Things Network === 553 + 554 554 While using TTN network, you can add the payload format to decode the payload. 555 555 556 +[[image:1654936675588-151.png||height="379" width="762"]] 556 556 557 -(% aria-label="1654850829385-439.png image widget" contenteditable="false" role="region"tabindex="-1" %)[[image:1654850829385-439.png||data-widget="image"]](% style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %)(% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" tabindex="-1" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||data-widget="image" draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220, 220, 220, 0.5); display:none" tabindex="-1" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" tabindex="-1" title="Click and drag to resize" %)(% title="Click and drag to resize" %)558 +(% style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %) 558 558 559 -((( 560 -The payload decoder function for TTN V3 is here: 561 -))) 560 +The payload decoder function for TTN is here: 562 562 562 +LDDS04 TTN Payload Decoder: [[https:~~/~~/www.dragino.com/downloads/index.php?dir=LoRa_End_Node/LDDS04/Decoder/>>url:https://www.dragino.com/downloads/index.php?dir=LoRa_End_Node/LLDS12/Decoder/]] 563 + 564 + 565 +**//function Decoder(bytes, port) {//** 566 + 567 +**// var decode = {};//** 568 + 569 +**// var value=(bytes[0]<<8 | bytes[1]) & 0x3FFF;//** 570 + 571 +**// decode.BatV= value/1000;//** 572 + 573 +**// decode.EXTI_Trigger=(bytes[0] & 0x80)? "TRUE":"FALSE";//** 574 + 575 +**// decode.distance1_cm=(bytes[2]<<8 | bytes[3])/10;//** 576 + 577 +**// decode.distance2_cm=(bytes[4]<<8 | bytes[5])/10;//** 578 + 579 +**// decode.distance3_cm=(bytes[6]<<8 | bytes[7])/10//** 580 + 581 +**// decode.distance4_cm=(bytes[8]<<8 | bytes[9])/10;//** 582 + 583 +**// decode.mes_type= bytes[10];//** 584 + 585 + 586 +**// if(!((bytes[0]==0x03)&&(bytes[10]==0x02~)~)~)//** 587 + 588 +**// {//** 589 + 590 +**// return decode;//** 591 + 592 +**// }//** 593 + 594 +**//}//** 595 + 596 +(% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" tabindex="-1" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||data-widget="image" draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]][[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %)(% title="Click and drag to resize" %) 597 + 563 563 ((( 564 -((( 565 -LDDS45 TTN V3 Payload Decoder: [[http:~~/~~/www.dragino.com/downloads/index.php?dir=LoRa_End_Node/LDDS75/Payload_Decoder/>>url:http://www.dragino.com/downloads/index.php?dir=LoRa_End_Node/LSE01/Payload_Decoder/]] 599 + 566 566 ))) 567 -))) 568 568 569 569 570 570 571 -== 2. 4Uplink Interval ==604 +== 2.5 Uplink Interval == 572 572 573 -The LDDS4 5by default uplink the sensor data every 20 minutes. User can change this interval by AT Command or LoRaWAN Downlink Command. See this link: [[Change Uplink Interval>>doc:Main.End Device AT Commands and Downlink Command.WebHome||anchor="H4.1ChangeUplinkInterval"]]606 +The LDDS04 by default uplink the sensor data every 20 minutes. User can change this interval by AT Command or LoRaWAN Downlink Command. See this link: [[Change Uplink Interval>>doc:Main.End Device AT Commands and Downlink Command.WebHome||anchor="H4.1ChangeUplinkInterval"]] 574 574 575 575 576 576 577 -== 2. 5Show Data in DataCake IoT Server ==610 +== 2.6 Show Data in DataCake IoT Server == 578 578 579 579 ((( 580 580 [[DATACAKE>>url:https://datacake.co/]] provides a human friendly interface to show the sensor data, once we have data in TTN, we can use [[DATACAKE>>url:https://datacake.co/]] to connect to TTN and see the data in DATACAKE. Below are the steps: ... ... @@ -601,7 +601,7 @@ 601 601 602 602 (% style="color:blue" %)**Step 3**(%%)**: Create an account or log in Datacake.** 603 603 604 -(% style="color:blue" %)**Step 4**(%%)**: Searchthe LDDS45andadd DevEUI.**637 +(% style="color:blue" %)**Step 4**(%%)**: Create LDDS04 product. ** 605 605 606 606 (% aria-label="1654851029373-510.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:1654851029373-510.png||data-widget="image"]](% style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %)(% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" tabindex="-1" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||data-widget="image" draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220, 220, 220, 0.5); display:none" tabindex="-1" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" tabindex="-1" title="Click and drag to resize" %)(% title="Click and drag to resize" %) 607 607
- 1654936589640-122.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +63.7 KB - Content
- 1654936672046-871.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +59.2 KB - Content
- 1654936675588-151.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +59.2 KB - Content