Last modified by BoYang Xie on 2025/07/24 16:47

From version 195.12
edited by BoYang Xie
on 2025/07/24 16:44
Change comment: There is no comment for this version
To version 193.1
edited by BoYang Xie
on 2025/07/17 15:29
Change comment: Uploaded new attachment "1752737375843-555.png", version {1}

Summary

Details

Page properties
Content
... ... @@ -406,17 +406,10 @@
406 406  
407 407  If you want to compile your own ESP32 project and burn the firmware instead of using the pre-provided firmware in the Firmware folder, please use the following method.
408 408  
409 -~1. The first method is to use the IDF plugin in VSCode for flashing. Just click the button circled in red in the picture.
410 410  
411 -[[image:1752737375843-555.png]]
410 +[[image:1752737128542-192.png||height="574" width="674"]]
412 412  
413 -2. The second method is to use the FLASH DOWNLOAD TOOL. Select the 4 bin files under the build folder in the project as shown in the following figure.
414 414  
415 -Click the "CombineBin" button (indicated by the red box) in the following figure to combine the selected 4 bin files. The combined firmware can be found in the "flash_download_tool_3.9.7/combine/" directory of this software. The ESP32_LoRaC-P2P_CommonFW_v1.0.0.bin firmware is a combined firmware.
416 -
417 -[[image:1752738269428-241.png||height="574" width="674"]]
418 -
419 -
420 420  === 5.1.2 Upload the Firmware to the LA66 ===
421 421  
422 422  Open **Dragino_Sensor_Manager_Utility.exe**, and then follow the steps below.
... ... @@ -439,28 +439,39 @@
439 439  
440 440  == 5.2 AT commands and LTS5 Panel Data Formats ==
441 441  
435 +AT+SEND=1,014b69746368656e2d467269676531FFFFA84041000181D4A8**01**A4CBBB0A8E085C02,0,3
442 442  
443 -**Currently, there are two types of panel data formats in LTS5. One is the temperature and humidity type, and the other is the "switch" type. Here is the detailed introduction.**
437 +AT+SEND=1,014b69746368656e2d467269676531FFFFA84041000181D4A8**02**A4CB00,0,3
444 444  
439 +AT+SEND=1,014b69746368656e2d467269676531FFFFA84041000181D4A8**03**A4CB00,0,3
440 +
441 +AT+SEND=1,014b69746368656e2d467269676531FFFFA84041000181D4A8**04**A4CB00,0,3
442 +
443 +AT+SEND=1,014b69746368656e2d467269676531FFFFA84041000181D4A8**05**A4CB00,0,3
444 +
445 +AT+SEND=1,014b69746368656e2d467269676531FFFFA84041000181D4A8**06**A4CB00,0,3
446 +
447 +**LTS5 panel data format**:
448 +
445 445  ~1. AT+SEND=1,**01**  **4b69746368656e2d467269676531FFFF  A84041000181D4A8  01  A4CB  BB0A  8E08  5C02**,0,3
446 446  
447 447  **01:** encrypt. 1 Byte. 01 ~-~-> no encryption. This 1-byte information is now invalid; simply write 0x01 instead.
448 448  
449 -**4b69746368656e2d467269676531FFFF: **Device Name. 16 Bytes. The Device Name for this piece of information is "Kitchen-Frige1", and the subsequent 'FFFF' is intended to pad it up to 16 Bytes, but it is not necessary as the LTS5 can handle shorter names as well.
453 +**4b69746368656e2d467269676531FFFF: **Device Name. 16 Bytes. The Device Name for this piece of information is "Kitchen-Frige1," and the subsequent "FFFF" is intended to pad it up to 16 Bytes. The Device Name for this piece of information is 'Kitchen-Frige1,' and the subsequent 'FFFF' is intended to pad it up to 16 Bytes, but it is not necessary as the system can handle shorter names as well.
450 450  
451 451  **A84041000181D4A8:** Device EUI. 8 Bytes. The last three Bytes will be extracted by the ESP32-S3 and displayed on the screen.
452 452  
453 453  **01: **Panel Type. 1 Byte. 0x01~-~->Tem & Hum,
454 454  
455 - 0x02~-~->Door,
459 + 0x02~-~->Door,
456 456  
457 - 0x03~-~->Water Leak,
461 + 0x03~-~->Water Leak,
458 458  
459 - 0x04~-~->Occupied,
463 + 0x04~-~->Occupied,
460 460  
461 - 0x05~-~->Button,
465 + 0x05~-~->Button,
462 462  
463 - 0x06~-~->Alarm,
467 + 0x06~-~->Alarm,
464 464  
465 465  **A4CB: **Battery level//. //2 Bytes. Battery Voltage =0xCBA4&0x3FFF=0x0BA4=2980mV
466 466  
... ... @@ -470,7 +470,6 @@
470 470  
471 471  **5C02:**The humidity of the built-in sensor in LHT65N. 2 Bytes. Humidity: 0x025C/10=60.4%
472 472  
473 -
474 474  2. AT+SEND=1,**01**  **4b69746368656e2d467269676531FFFF**  **A84041000181D4A8**  **02  A4CB  00**,0,3
475 475  
476 476  Specific sections of the data share the same function.
... ... @@ -477,31 +477,14 @@
477 477  
478 478  **00: Status. **1 Byte//. //If Panel Type is 0x02, **Status: 00~-~->Open; 01~-~->Close.**
479 479  
480 - If Panel Type is 0x03, **Status: 00~-~->Normal; 01~-~->Water Leaking.**
483 + If Panel Type is 0x03, **Status: 00~-~->Normal; 01~-~->Water Leaking.**
481 481  
482 - If Panel Type is 0x04, **Status: 00~-~->Free; 01~-~->Occupied.**
485 + If Panel Type is 0x04, **Status: 00~-~->Free; 01~-~->Occupied.**
483 483  
484 - If Panel Type is 0x05, **Status: 00~-~->OFF; 01~-~->ON.**
487 + If Panel Type is 0x05, **Status: 00~-~->OFF; 01~-~->ON.**
485 485  
486 - If Panel Type is 0x06, **Status: 00~-~->OFF; 01~-~->Alarm.**
489 + If Panel Type is 0x06, **Status: 00~-~->OFF; 01~-~->Alarm.**
487 487  
488 -
489 -Below are examples of AT commands for each type.
490 -
491 -
492 -AT+SEND=1,014b69746368656e2d467269676531FFFFA84041000181D4A8**01**A4CBBB0A8E085C02,0,3
493 -
494 -AT+SEND=1,014b69746368656e2d467269676531FFFFA84041000181D4A8**02**A4CB00,0,3
495 -
496 -AT+SEND=1,014b69746368656e2d467269676531FFFFA84041000181D4A8**03**A4CB00,0,3
497 -
498 -AT+SEND=1,014b69746368656e2d467269676531FFFFA84041000181D4A8**04**A4CB00,0,3
499 -
500 -AT+SEND=1,014b69746368656e2d467269676531FFFFA84041000181D4A8**05**A4CB00,0,3
501 -
502 -AT+SEND=1,014b69746368656e2d467269676531FFFFA84041000181D4A8**06**A4CB00,0,3
503 -
504 -
505 505  == 5.3 Usage ==
506 506  
507 507  After burning the firmware into LTS5, you can use an LA66 equipped with peer-to-peer firmware to send data to LTS5 via AT commands.
1752738269428-241.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.xieby
Size
... ... @@ -1,1 +1,0 @@
1 -52.7 KB
Content