Changes for page LTS5 LoRa HMI Touch Screen
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
on 2025/07/17 15:30
Change comment:
There is no comment for this version
To version 177.1
edited by BoYang Xie
on 2025/02/08 18:17
on 2025/02/08 18:17
Change comment:
Uploaded new attachment "image-20250208181700-8.jpeg", version {1}
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 6 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,6 +1,7 @@ 1 1 2 2 3 -[[image:image-20241226135550-1.png||data-xwiki-image-style-alignment="center"]] 3 +(% style="text-align:center" %) 4 +[[image:image-20241226135550-1.png]] 4 4 5 5 6 6 ... ... @@ -30,9 +30,6 @@ 30 30 31 31 The LA66 LoRa module can be programmed to support either private LoRa protocols or the LoRaWAN protocol. 32 32 33 - 34 -**//Note: Due to the current incomplete functionality, it is not recommended to purchase at this time.//** 35 - 36 36 == 1.2 Features == 37 37 38 38 ... ... @@ -172,7 +172,7 @@ 172 172 173 173 In the **PROJECT SETTINGS** dialog box, configure/modify the project settings as shown in the image below. 174 174 175 -* **UI Files Export Path**: Select a**folder**on your computer to store the**UI files**.173 +* **UI Files Export Root**: Select a folder on your computer to store the UI files. 176 176 * **LVGL Include Path**: Set this to **lvgl.h** 177 177 * Click on the **APPLY CHANGES** button. 178 178 ... ... @@ -185,8 +185,6 @@ 185 185 === **Add widgets** === 186 186 187 187 188 -After creating a project, a **Screen** will be automatically added. Its name is **Screen1** by default. 189 - 190 190 To add a widget, navigate to the **Widgets** panel, and then click on the widget you want to add to the screen. You can reposition the widgets in the screen area by clicking and dragging them. Now add a **Label**, **Button**, and **Image** as shown in the image below. The added widgets are also displayed in the **Hierarchy **panel. 191 191 192 192 [[image:image-20240928111412-6.png||height="526" width="864"]] ... ... @@ -296,7 +296,7 @@ 296 296 For more information, please visit the official link: [[SquareLine Studio 1.4.2 Documentation ~| SquareLine Studio>>url:https://docs.squareline.io/docs/squareline/]]. 297 297 298 298 299 -== 2.4 Integrate UI Code intoanESP-IDF Project ==295 +== 2.4 Integrate UI Code to ESP-IDF Project == 300 300 301 301 302 302 To integrate, first export the UI code, then make some modifications, and finally relocate the UI code to a specific position within the project. ... ... @@ -368,73 +368,32 @@ 368 368 369 369 The project can be found at [[this link>>url:https://github.com/dragino/LoRa-HMI-Touch-Screen/tree/main/Example/P2P]]. 370 370 371 -== 5.1 FirmwareFlashing ==367 +== 5.1 firmware flashing approach. == 372 372 369 +5.1.1 Download this project 373 373 374 - Thefollowingsoftware toolsarequiredtoflash firmwareo theESP32LA66.371 +5.1.2 Download esp32 firmware flash tool in [[this link>>https://docs.espressif.com/projects/esp-test-tools/en/latest/esp32/production_stage/tools/flash_download_tool.html]]. 375 375 376 -* Download the ESP32 firmware flash tool from [[this link>>https://docs.espressif.com/projects/esp-test-tools/en/latest/esp32/production_stage/tools/flash_download_tool.html]]. 377 -* Download the LA66 firmware flash tool from [[this link>>https://www.dropbox.com/scl/fo/9kqeqf6wmet10o9hgxuwa/h?rlkey=4ikrg6kg5v0yjxwhp0i37wrv7&e=1&dl=0]]. 373 +5.1.3 Download la66 firmware flash tool in [[this link>>https://www.dropbox.com/scl/fo/9kqeqf6wmet10o9hgxuwa/h?rlkey=4ikrg6kg5v0yjxwhp0i37wrv7&e=1&dl=0]]. 378 378 379 - ===5.1.1Uploadthe Firmware totheESP32===375 +5.1.4 Upload firmware to esp32 380 380 381 -Open //**flash_download_tool.exe**//and follow the steps below.377 +Open flash_download_tool.exe, and then follow the steps below. 382 382 383 -* **Chip Type**: ESP32-S3 384 -* **WorkMode**: Develop 385 -* **LoadMode**: UART 386 -* Click on the **OK** button. 387 - 388 388 [[image:1738893226894-758.png||height="170" width="176"]] 389 389 381 +[[image:image-20250207100150-7.png||height="476" width="538"]] 390 390 391 - Inthe **SPIDownload**tab,383 +5.1.5 Upload firmware to la66 392 392 393 -* Select the checkboxes for ESP32_LoRaC-P2P_CommonFW_v1.0.0.bin. 394 -* SPI Flashing Config(default configuration): 395 -** **SPI SPEED**: 40MHz 396 -** **SPI MODE**: DIO 397 -** Check **DoNotChgBin** option. 398 -* **COM**: Select the correct COM port. 399 -* **BAUD**: 1152000 400 -* Click on the **START** button. 385 +Open Dragino_Sensor_Manager_Utility.exe, and then follow the steps below. 401 401 402 -[[image:image-20250 505122103-4.png||height="551" width="705"]]387 +[[image:image-20250207101415-8.png||height="522" width="618"]] 403 403 404 - The progress bar will indicate the firmware update progress and display a **FINISH**messageonce theupdateis complete.389 +[[image:image-20250207101515-9.png||height="522" width="618"]] 405 405 391 +== 5.2 AT command and P2P data format == 406 406 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 - 409 - 410 -[[image:1752737375843-555.png]] 411 - 412 - 413 -[[image:1752737128542-192.png||height="574" width="674"]] 414 - 415 - 416 -=== 5.1.2 Upload the Firmware to the LA66 === 417 - 418 -Open **Dragino_Sensor_Manager_Utility.exe**, and then follow the steps below. 419 - 420 -* Click on the UART Update Firmware tab. 421 -* Select the correct COM port. 422 -* Click on the Upload_File button and select the LA66_P2P_FW_v1.0.0.bin file. 423 -* Click on the Start button. 424 - 425 - 426 - 427 -[[image:image-20250505121328-2.png]] 428 - 429 - 430 -[[image:image-20250505121531-3.png]] 431 - 432 -(% class="wikigeneratedid" %) 433 -The progress bar will indicate the firmware update progress. 434 - 435 - 436 -== 5.2 AT commands and LTS5 Panel Data Formats == 437 - 438 438 AT+SEND=1,014b69746368656e2d467269676531FFFFA84041000181D4A8**01**A4CBBB0A8E085C02,0,3 439 439 440 440 AT+SEND=1,014b69746368656e2d467269676531FFFFA84041000181D4A8**02**A4CB00,0,3 ... ... @@ -447,9 +447,9 @@ 447 447 448 448 AT+SEND=1,014b69746368656e2d467269676531FFFFA84041000181D4A8**06**A4CB00,0,3 449 449 450 -** LTS5 panel data format**:405 +**Data format**: 451 451 452 -~1. AT+SEND=1,**01** 407 +~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 ... ... @@ -503,10 +503,6 @@ 503 503 504 504 [[image:image-20250207144605-12.png||height="634" width="548"]] 505 505 506 -LTS5 receives this message and displays it on its screen as the image below shows. 507 - 508 -[[image:image-20250208181700-8.jpeg||height="528" width="704"]] 509 - 510 510 = 6. Example Project 4: LoRaWAN_CLASS_C = 511 511 512 512 ... ... @@ -558,24 +558,6 @@ 558 558 1. downlink Dev Name F24B69746368656E2D467269676531FFFF 559 559 1. downlink Sensor Data 5501A4CBBB0A8E085C02 or 5504A4CB01. Both of them are vaild formats for LTS5. Note: 0x55 as prefix and any other prefix except 0xF1, 0xF2, 0xF3 means downlink is Sensor Data. 560 560 561 -[[image:image-20250208175819-1.png||height="503" width="502"]] 562 - 563 - 564 -[[image:image-20250208175918-2.png||height="505" width="502"]] 565 - 566 - 567 -[[image:image-20250208180010-3.png||height="507" width="503"]] 568 - 569 - 570 -[[image:image-20250208181019-4.jpeg||height="592" width="790"]] 571 - 572 - 573 -[[image:image-20250208181328-7.png||height="505" width="504"]] 574 - 575 - 576 -[[image:image-20250208181139-5.jpeg||height="594" width="792"]] 577 - 578 - 579 579 = 7. The method for adding a new type of panel to the project = 580 580 581 581 If you don't have this need, then this part of the content can be ignored. ... ... @@ -587,14 +587,8 @@ 587 587 Image 7.1: a panel about water_leak 588 588 589 589 590 -2. **Export the UI file .**523 +2. **Export the UI file: **You need to adjust the export path first, then click '**Export -> Export UI Files**' on the menu bar. This step was introduced earlier. After that, you can get the UI files as shown in Image 7.2. 591 591 592 -You need to adjust the export path first, then click '**Export -> Export UI Files**' on the menu bar. The method for exporting UI files using the SquareLine software has already been described earlier. 593 - 594 -Next, create a new folder named "ui_water_leak" under "app_components/extra_lib/", and then cut all the UI files you just exported into this newly created folder. 595 - 596 -Image 7.2 shows the result of the operation. 597 - 598 598 [[image:image-20241121141120-4.png||height="383" width="795"]] 599 599 600 600 Image 7.2: Exported UI files ... ... @@ -878,8 +878,7 @@ 878 878 = 11. Reference material = 879 879 880 880 881 -* Datasheet: [[https:~~/~~/www.dropbox.com/scl/fo/fr7wjsdfh9huchg59p7bv/APASCR0elWtp_EbUZ1W9K-A?rlkey=pcuptw3dtg5pw9vgt4ag6hs9z&st=ds6hdztg&dl=0>>https://www.dropbox.com/scl/fo/fr7wjsdfh9huchg59p7bv/APASCR0elWtp_EbUZ1W9K-A?rlkey=pcuptw3dtg5pw9vgt4ag6hs9z&st=ds6hdztg&dl=0]] 882 -* schematic: [[LTS5-V1>>https://www.dropbox.com/scl/fo/grwr5b4x1tk2omyjwg06y/ACleSdi5f7p5zRB2mfPH7CE?rlkey=vhcs83jrj9tkmw8wa9m9wo5rx&st=hkhe3bbj&dl=0]] 808 +* Datasheet 883 883 * Source Code: [[dragino/LoRa-HMI-Touch-Screen: Open Source LoRa / LoRaWAN HMI Touch Screen Project>>url:https://github.com/dragino/LoRa-HMI-Touch-Screen/tree/main]] 884 884 * Mechinical 885 885
- 1752737128542-192.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.xieby - Size
-
... ... @@ -1,1 +1,0 @@ 1 -52.4 KB - Content
- 1752737375843-555.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.xieby - Size
-
... ... @@ -1,1 +1,0 @@ 1 -9.4 KB - Content
- image-20250505112032-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.xieby - Size
-
... ... @@ -1,1 +1,0 @@ 1 -43.9 KB - Content
- image-20250505121328-2.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.xieby - Size
-
... ... @@ -1,1 +1,0 @@ 1 -12.2 KB - Content
- image-20250505121531-3.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.xieby - Size
-
... ... @@ -1,1 +1,0 @@ 1 -21.3 KB - Content
- image-20250505122103-4.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.xieby - Size
-
... ... @@ -1,1 +1,0 @@ 1 -46.1 KB - Content