Changes for page LTS5 LoRa HMI Touch Screen
Last modified by Xiaoling on 2025/06/10 18:03
From version 188.2
edited by Xiaoling
on 2025/06/10 17:55
on 2025/06/10 17:55
Change comment:
There is no comment for this version
To version 171.1
edited by BoYang Xie
on 2025/02/08 17:59
on 2025/02/08 17:59
Change comment:
Uploaded new attachment "image-20250208175918-2.png", version {1}
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 10 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Xiaoling1 +XWiki.xieby - 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 ... ... @@ -169,7 +169,7 @@ 169 169 170 170 In the **PROJECT SETTINGS** dialog box, configure/modify the project settings as shown in the image below. 171 171 172 -* **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. 173 173 * **LVGL Include Path**: Set this to **lvgl.h** 174 174 * Click on the **APPLY CHANGES** button. 175 175 ... ... @@ -182,8 +182,6 @@ 182 182 === **Add widgets** === 183 183 184 184 185 -After creating a project, a **Screen** will be automatically added. Its name is **Screen1** by default. 186 - 187 187 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. 188 188 189 189 [[image:image-20240928111412-6.png||height="526" width="864"]] ... ... @@ -293,7 +293,7 @@ 293 293 For more information, please visit the official link: [[SquareLine Studio 1.4.2 Documentation ~| SquareLine Studio>>url:https://docs.squareline.io/docs/squareline/]]. 294 294 295 295 296 -== 2.4 Integrate UI Code intoanESP-IDF Project ==295 +== 2.4 Integrate UI Code to ESP-IDF Project == 297 297 298 298 299 299 To integrate, first export the UI code, then make some modifications, and finally relocate the UI code to a specific position within the project. ... ... @@ -365,64 +365,32 @@ 365 365 366 366 The project can be found at [[this link>>url:https://github.com/dragino/LoRa-HMI-Touch-Screen/tree/main/Example/P2P]]. 367 367 368 -== 5.1 FirmwareFlashing ==367 +== 5.1 firmware flashing approach. == 369 369 369 +5.1.1 Download this project 370 370 371 - 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]]. 372 372 373 -* 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]]. 374 -* 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]]. 375 375 376 - ===5.1.1Uploadthe Firmware totheESP32===375 +5.1.4 Upload firmware to esp32 377 377 378 -Open //**flash_download_tool.exe**//and follow the steps below.377 +Open flash_download_tool.exe, and then follow the steps below. 379 379 380 -* **Chip Type**: ESP32-S3 381 -* **WorkMode**: Develop 382 -* **LoadMode**: UART 383 -* Click on the **OK** button. 384 - 385 385 [[image:1738893226894-758.png||height="170" width="176"]] 386 386 381 +[[image:image-20250207100150-7.png||height="476" width="538"]] 387 387 388 - Inthe **SPIDownload**tab,383 +5.1.5 Upload firmware to la66 389 389 390 -* Select the checkboxes for ESP32_LoRaC-P2P_CommonFW_v1.0.0.bin. 391 -* SPI Flashing Config(default configuration): 392 -** **SPI SPEED**: 40MHz 393 -** **SPI MODE**: DIO 394 -** Check **DoNotChgBin** option. 395 -* **COM**: Select the correct COM port. 396 -* **BAUD**: 1152000 397 -* Click on the **START** button. 385 +Open Dragino_Sensor_Manager_Utility.exe, and then follow the steps below. 398 398 399 -[[image:image-20250 505122103-4.png||height="551" width="705"]]387 +[[image:image-20250207101415-8.png||height="522" width="618"]] 400 400 401 - 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"]] 402 402 391 +== 5.2 AT command and P2P data format == 403 403 404 -=== 5.1.2 Upload the Firmware to the LA66 === 405 - 406 -Open **Dragino_Sensor_Manager_Utility.exe**, and then follow the steps below. 407 - 408 -* Click on the UART Update Firmware tab. 409 -* Select the correct COM port. 410 -* Click on the Upload_File button and select the LA66_P2P_FW_v1.0.0.bin file. 411 -* Click on the Start button. 412 - 413 - 414 - 415 -[[image:image-20250505121328-2.png]] 416 - 417 - 418 -[[image:image-20250505121531-3.png]] 419 - 420 -(% class="wikigeneratedid" %) 421 -The progress bar will indicate the firmware update progress. 422 - 423 - 424 -== 5.2 AT commands and LTS5 Panel Data Formats == 425 - 426 426 AT+SEND=1,014b69746368656e2d467269676531FFFFA84041000181D4A8**01**A4CBBB0A8E085C02,0,3 427 427 428 428 AT+SEND=1,014b69746368656e2d467269676531FFFFA84041000181D4A8**02**A4CB00,0,3 ... ... @@ -435,9 +435,9 @@ 435 435 436 436 AT+SEND=1,014b69746368656e2d467269676531FFFFA84041000181D4A8**06**A4CB00,0,3 437 437 438 -** LTS5 panel data format**:405 +**Data format**: 439 439 440 -~1. AT+SEND=1,**01** 407 +~1. AT+SEND=1,**01** **4b69746368656e2d467269676531FFFF A84041000181D4A8 01 A4CB BB0A 8E08 5C02**,0,3 441 441 442 442 **01:** encrypt. 1 Byte. 01 ~-~-> no encryption. This 1-byte information is now invalid; simply write 0x01 instead. 443 443 ... ... @@ -491,10 +491,6 @@ 491 491 492 492 [[image:image-20250207144605-12.png||height="634" width="548"]] 493 493 494 -LTS5 receives this message and displays it on its screen as the image below shows. 495 - 496 -[[image:image-20250208181700-8.jpeg||height="528" width="704"]] 497 - 498 498 = 6. Example Project 4: LoRaWAN_CLASS_C = 499 499 500 500 ... ... @@ -546,24 +546,6 @@ 546 546 1. downlink Dev Name F24B69746368656E2D467269676531FFFF 547 547 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. 548 548 549 -[[image:image-20250208175819-1.png||height="503" width="502"]] 550 - 551 - 552 -[[image:image-20250208175918-2.png||height="505" width="502"]] 553 - 554 - 555 -[[image:image-20250208180010-3.png||height="507" width="503"]] 556 - 557 - 558 -[[image:image-20250208181019-4.jpeg||height="592" width="790"]] 559 - 560 - 561 -[[image:image-20250208181328-7.png||height="505" width="504"]] 562 - 563 - 564 -[[image:image-20250208181139-5.jpeg||height="594" width="792"]] 565 - 566 - 567 567 = 7. The method for adding a new type of panel to the project = 568 568 569 569 If you don't have this need, then this part of the content can be ignored. ... ... @@ -860,8 +860,7 @@ 860 860 = 11. Reference material = 861 861 862 862 863 -* 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]] 864 -* schematic: [[LTS5-V1>>attach:LTS5-V1.pdf]] 808 +* Datasheet 865 865 * 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]] 866 866 * Mechinical 867 867
- image-20250208180010-3.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.xieby - Size
-
... ... @@ -1,1 +1,0 @@ 1 -36.7 KB - Content
- image-20250208181019-4.jpeg
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.xieby - Size
-
... ... @@ -1,1 +1,0 @@ 1 -546.8 KB - Content
- image-20250208181139-5.jpeg
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.xieby - Size
-
... ... @@ -1,1 +1,0 @@ 1 -320.5 KB - Content
- image-20250208181317-6.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.xieby - Size
-
... ... @@ -1,1 +1,0 @@ 1 -34.8 KB - Content
- image-20250208181328-7.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.xieby - Size
-
... ... @@ -1,1 +1,0 @@ 1 -34.8 KB - Content
- image-20250208181700-8.jpeg
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.xieby - Size
-
... ... @@ -1,1 +1,0 @@ 1 -526.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