Changes for page WSC1-L-Dragino LoRaWAN Weather Station User Manual
Last modified by Mengting Qiu on 2025/06/10 18:53
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -347,14 +347,25 @@ 347 347 348 348 === 2.4.3 Decoder in TTN V3 === 349 349 350 +((( 350 350 In LoRaWAN platform, user only see HEX payload by default, user needs to use payload formatters to decode the payload to see human-readable value. 352 +))) 351 351 354 +((( 355 + 356 +))) 352 352 358 +((( 353 353 Download decoder for suitable platform from: 360 +))) 354 354 362 +((( 355 355 [[https:~~/~~/www.dragino.com/downloads/index.php?dir=LoRa_End_Node/Weather_Station/WSC1-L/>>url:https://www.dragino.com/downloads/index.php?dir=LoRa_End_Node/Weather_Station/WSC1-L/]] 364 +))) 356 356 366 +((( 357 357 and put as below: 368 +))) 358 358 359 359 [[image:1656051152438-578.png]] 360 360 ... ... @@ -362,12 +362,21 @@ 362 362 363 363 == 2.5 Show data on Application Server == 364 364 376 +((( 365 365 Application platform provides a human friendly interface to show the sensor data, once we have sensor data in TTN V3, we can use Datacake to connect to TTN V3 and see the data in Datacake. Below are the steps: 378 +))) 366 366 380 +((( 381 + 382 +))) 367 367 384 +((( 368 368 (% style="color:blue" %)**Step 1**(%%): Be sure that your device is programmed and properly connected to the LoRaWAN network. 386 +))) 369 369 388 +((( 370 370 (% style="color:blue" %)**Step 2**(%%): Configure your Application to forward data to Datacake you will need to add integration. Go to TTN V3 Console ~-~-> Applications ~-~-> Integrations ~-~-> Add Integrations. 390 +))) 371 371 372 372 [[image:1656051197172-131.png]] 373 373 ... ... @@ -454,25 +454,51 @@ 454 454 455 455 == 3.3 Add or Delete RS485 Sensor == 456 456 477 +((( 457 457 Feature: User can add or delete 3^^rd^^ party sensor as long they are RS485/Modbus interface,baud rate support 9600.Maximum can add 4 sensors. 479 +))) 458 458 481 +((( 459 459 (% style="color:#037691" %)**AT Command: ** 483 +))) 460 460 485 +((( 461 461 (% style="color:blue" %)**AT+DYSENSOR=Type_Code, Query_Length, Query_Command , Read_Length , Valid_Data ,has_CRC,timeout** 487 +))) 462 462 463 -* Type_Code range: A1 ~~ A4 464 -* Query_Length: RS485 Query frame length, Value cannot be greater than 10 465 -* Query_Command: RS485 Query frame data to be sent to sensor, cannot be larger than 10 bytes 466 -* Read_Length: RS485 response frame length supposed to receive. Max can receive 467 -* Valid_Data: valid data from RS485 Response, Valid Data will be added to Payload and upload via LoRaWAN. 468 -* has_CRC: RS485 Response crc check (0: no verification required 1: verification required). If CRC=1 and CRC error, valid data will be set to 0. 469 -* timeout: RS485 receive timeout (uint:ms). Device will close receive window after timeout 489 +* ((( 490 +Type_Code range: A1 ~~ A4 491 +))) 492 +* ((( 493 +Query_Length: RS485 Query frame length, Value cannot be greater than 10 494 +))) 495 +* ((( 496 +Query_Command: RS485 Query frame data to be sent to sensor, cannot be larger than 10 bytes 497 +))) 498 +* ((( 499 +Read_Length: RS485 response frame length supposed to receive. Max can receive 500 +))) 501 +* ((( 502 +Valid_Data: valid data from RS485 Response, Valid Data will be added to Payload and upload via LoRaWAN. 503 +))) 504 +* ((( 505 +has_CRC: RS485 Response crc check (0: no verification required 1: verification required). If CRC=1 and CRC error, valid data will be set to 0. 506 +))) 507 +* ((( 508 +timeout: RS485 receive timeout (uint:ms). Device will close receive window after timeout 509 +))) 470 470 511 +((( 471 471 **Example:** 513 +))) 472 472 515 +((( 473 473 User need to change external sensor use the type code as address code. 517 +))) 474 474 519 +((( 475 475 With a 485 sensor, after correctly changing the address code to A1, the RS485 query frame is shown in the following table: 521 +))) 476 476 477 477 [[image:image-20220624143553-10.png]] 478 478 ... ... @@ -587,6 +587,7 @@ 587 587 |=(% style="width: 157px;" %)**Command Example**|=(% style="width: 130px;" %)**Function**|=(% style="width: 87px;" %)**Response** 588 588 |(% style="width:157px" %)AT+STYPE=80221|(% style="width:130px" %)Set sensor types|(% style="width:87px" %)OK 589 589 636 + 590 590 Eg: The setting command **AT+STYPE=802212** means: 591 591 592 592 (% border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:495px" %)