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

From version 193.2
edited by BoYang Xie
on 2025/07/17 15:30
Change comment: There is no comment for this version
To version 195.12
edited by BoYang Xie
on 2025/07/24 16:44
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -406,13 +406,17 @@
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.
409 409  
410 410  [[image:1752737375843-555.png]]
411 411  
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.
412 412  
413 -[[image:1752737128542-192.png||height="574" width="674"]]
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.
414 414  
417 +[[image:1752738269428-241.png||height="574" width="674"]]
415 415  
419 +
416 416  === 5.1.2 Upload the Firmware to the LA66 ===
417 417  
418 418  Open **Dragino_Sensor_Manager_Utility.exe**, and then follow the steps below.
... ... @@ -435,39 +435,28 @@
435 435  
436 436  == 5.2 AT commands and LTS5 Panel Data Formats ==
437 437  
438 -AT+SEND=1,014b69746368656e2d467269676531FFFFA84041000181D4A8**01**A4CBBB0A8E085C02,0,3
439 439  
440 -AT+SEND=1,014b69746368656e2d467269676531FFFFA84041000181D4A8**02**A4CB00,0,3
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.**
441 441  
442 -AT+SEND=1,014b69746368656e2d467269676531FFFFA84041000181D4A8**03**A4CB00,0,3
443 -
444 -AT+SEND=1,014b69746368656e2d467269676531FFFFA84041000181D4A8**04**A4CB00,0,3
445 -
446 -AT+SEND=1,014b69746368656e2d467269676531FFFFA84041000181D4A8**05**A4CB00,0,3
447 -
448 -AT+SEND=1,014b69746368656e2d467269676531FFFFA84041000181D4A8**06**A4CB00,0,3
449 -
450 -**LTS5 panel data format**:
451 -
452 452  ~1. AT+SEND=1,**01**  **4b69746368656e2d467269676531FFFF  A84041000181D4A8  01  A4CB  BB0A  8E08  5C02**,0,3
453 453  
454 454  **01:** encrypt. 1 Byte. 01 ~-~-> no encryption. This 1-byte information is now invalid; simply write 0x01 instead.
455 455  
456 -**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.
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.
457 457  
458 458  **A84041000181D4A8:** Device EUI. 8 Bytes. The last three Bytes will be extracted by the ESP32-S3 and displayed on the screen.
459 459  
460 460  **01: **Panel Type. 1 Byte. 0x01~-~->Tem & Hum,
461 461  
462 - 0x02~-~->Door,
455 + 0x02~-~->Door,
463 463  
464 - 0x03~-~->Water Leak,
457 + 0x03~-~->Water Leak,
465 465  
466 - 0x04~-~->Occupied,
459 + 0x04~-~->Occupied,
467 467  
468 - 0x05~-~->Button,
461 + 0x05~-~->Button,
469 469  
470 - 0x06~-~->Alarm,
463 + 0x06~-~->Alarm,
471 471  
472 472  **A4CB: **Battery level//. //2 Bytes. Battery Voltage =0xCBA4&0x3FFF=0x0BA4=2980mV
473 473  
... ... @@ -477,6 +477,7 @@
477 477  
478 478  **5C02:**The humidity of the built-in sensor in LHT65N. 2 Bytes. Humidity: 0x025C/10=60.4%
479 479  
473 +
480 480  2. AT+SEND=1,**01**  **4b69746368656e2d467269676531FFFF**  **A84041000181D4A8**  **02  A4CB  00**,0,3
481 481  
482 482  Specific sections of the data share the same function.
... ... @@ -483,14 +483,31 @@
483 483  
484 484  **00: Status. **1 Byte//. //If Panel Type is 0x02, **Status: 00~-~->Open; 01~-~->Close.**
485 485  
486 - If Panel Type is 0x03, **Status: 00~-~->Normal; 01~-~->Water Leaking.**
480 + If Panel Type is 0x03, **Status: 00~-~->Normal; 01~-~->Water Leaking.**
487 487  
488 - If Panel Type is 0x04, **Status: 00~-~->Free; 01~-~->Occupied.**
482 + If Panel Type is 0x04, **Status: 00~-~->Free; 01~-~->Occupied.**
489 489  
490 - If Panel Type is 0x05, **Status: 00~-~->OFF; 01~-~->ON.**
484 + If Panel Type is 0x05, **Status: 00~-~->OFF; 01~-~->ON.**
491 491  
492 - If Panel Type is 0x06, **Status: 00~-~->OFF; 01~-~->Alarm.**
486 + If Panel Type is 0x06, **Status: 00~-~->OFF; 01~-~->Alarm.**
493 493  
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 +
494 494  == 5.3 Usage ==
495 495  
496 496  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,0 +1,1 @@
1 +XWiki.xieby
Size
... ... @@ -1,0 +1,1 @@
1 +52.7 KB
Content