Last modified by Xiaoling on 2025/06/10 18:03

From version 177.1
edited by BoYang Xie
on 2025/02/08 18:17
Change comment: Uploaded new attachment "image-20250208181700-8.jpeg", version {1}
To version 186.1
edited by BoYang Xie
on 2025/05/05 12:15
Change comment: Uploaded new attachment "image-20250505121531-3.png", version {1}

Summary

Details

Page properties
Content
... ... @@ -170,7 +170,7 @@
170 170  
171 171  In the **PROJECT SETTINGS** dialog box, configure/modify the project settings as shown in the image below.
172 172  
173 -* **UI Files Export Root**: Select a folder on your computer to store the UI files.
173 +* **UI Files Export Path**: Select a **folder** on your computer to store the **UI files**.
174 174  * **LVGL Include Path**: Set this to **lvgl.h**
175 175  * Click on the **APPLY CHANGES** button.
176 176  
... ... @@ -183,6 +183,8 @@
183 183  === **Add widgets** ===
184 184  
185 185  
186 +After creating a project, a **Screen** will be automatically added. Its name is **Screen1** by default.
187 +
186 186  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.
187 187  
188 188  [[image:image-20240928111412-6.png||height="526" width="864"]]
... ... @@ -292,7 +292,7 @@
292 292  For more information, please visit the official link: [[SquareLine Studio 1.4.2 Documentation ~| SquareLine Studio>>url:https://docs.squareline.io/docs/squareline/]].
293 293  
294 294  
295 -== 2.4 Integrate UI Code to ESP-IDF Project ==
297 +== 2.4 Integrate UI Code into an ESP-IDF Project ==
296 296  
297 297  
298 298  To integrate, first export the UI code, then make some modifications, and finally relocate the UI code to a specific position within the project.
... ... @@ -364,32 +364,64 @@
364 364  
365 365  The project can be found at [[this link>>url:https://github.com/dragino/LoRa-HMI-Touch-Screen/tree/main/Example/P2P]].
366 366  
367 -== 5.1 firmware flashing approach. ==
369 +== 5.1 Firmware Flashing ==
368 368  
369 -5.1.1 Download this project
370 370  
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 +The following software tools are required to flash firmware to the ESP32 and LA66.
372 372  
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]].
374 +* 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]].
375 +* Download the LA66 firmware flash tool from [[this link>>https://www.dropbox.com/scl/fo/9kqeqf6wmet10o9hgxuwa/h?rlkey=4ikrg6kg5v0yjxwhp0i37wrv7&e=1&dl=0]].
374 374  
375 -5.1.4 Upload firmware to esp32
377 +=== 5.1.1 Upload the Firmware to the ESP32 ===
376 376  
377 -Open flash_download_tool.exe, and then follow the steps below.
379 +Open //**flash_download_tool.exe**// and follow the steps below.
378 378  
381 +* **Chip Type**: ESP32-S3
382 +* **WorkMode**: Develop
383 +* **LoadMode**: UART
384 +* Click on the **OK** button.
385 +
379 379  [[image:1738893226894-758.png||height="170" width="176"]]
380 380  
388 +
389 +In the **SPIDownload** tab,
390 +
391 +* Select the checkboxes for //bootloader.bin, partition-table.bin, ota_data_initial.bin//, and //project.bin//.
392 +* SPI Flashing Config:
393 +** **SPI SPEED**: 40MHz
394 +** **SPI MODE**: DIO
395 +** Check **DoNotChgBin** option.
396 +* **COM**: Select the correct COM port.
397 +* **BAUD**: 1152000
398 +* Click on the **START** button.
399 +
381 381  [[image:image-20250207100150-7.png||height="476" width="538"]]
382 382  
383 -5.1.5 Upload firmware to la66
384 384  
385 -Open Dragino_Sensor_Manager_Utility.exe, and then follow the steps below.
403 +The progress bar will indicate the firmware update progress and display a **FINISH** message once the update is complete.
386 386  
405 +
406 +=== 5.1.2 Upload the Firmware to the LA66 ===
407 +
408 +Open **Dragino_Sensor_Manager_Utility.exe**, and then follow the steps below.
409 +
410 +* Click on the UART Update Firmware tab.
411 +* Select the correct COM port.
412 +* Click on the Upload_File button and select the DRAGINO-LRWAN-AT.bin file.
413 +* Click on the Start button.
414 +
387 387  [[image:image-20250207101415-8.png||height="522" width="618"]]
388 388  
417 +
389 389  [[image:image-20250207101515-9.png||height="522" width="618"]]
390 390  
391 -== 5.2 AT command and P2P data format ==
392 392  
421 +(% class="wikigeneratedid" %)
422 +The progress bar will indicate the firmware update progress.
423 +
424 +
425 +== 5.2 AT commands and LTS5 Panel Data Formats ==
426 +
393 393  AT+SEND=1,014b69746368656e2d467269676531FFFFA84041000181D4A8**01**A4CBBB0A8E085C02,0,3
394 394  
395 395  AT+SEND=1,014b69746368656e2d467269676531FFFFA84041000181D4A8**02**A4CB00,0,3
... ... @@ -402,9 +402,9 @@
402 402  
403 403  AT+SEND=1,014b69746368656e2d467269676531FFFFA84041000181D4A8**06**A4CB00,0,3
404 404  
405 -**Data format**:
439 +**LTS5 panel data format**:
406 406  
407 -~1. AT+SEND=1,**01** **4b69746368656e2d467269676531FFFF A84041000181D4A8 01  A4CB  BB0A  8E08  5C02**,0,3
441 +~1. AT+SEND=1,**01**  **4b69746368656e2d467269676531FFFF  A84041000181D4A8  01  A4CB  BB0A  8E08  5C02**,0,3
408 408  
409 409  **01:** encrypt. 1 Byte. 01 ~-~-> no encryption. This 1-byte information is now invalid; simply write 0x01 instead.
410 410  
... ... @@ -458,6 +458,10 @@
458 458  
459 459  [[image:image-20250207144605-12.png||height="634" width="548"]]
460 460  
495 +LTS5 receives this message and displays it on its screen as the image below shows.
496 +
497 +[[image:image-20250208181700-8.jpeg||height="528" width="704"]]
498 +
461 461  = 6. Example Project 4: LoRaWAN_CLASS_C =
462 462  
463 463  
... ... @@ -509,6 +509,24 @@
509 509  1. downlink Dev Name F24B69746368656E2D467269676531FFFF
510 510  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.
511 511  
550 +[[image:image-20250208175819-1.png||height="503" width="502"]]
551 +
552 +
553 +[[image:image-20250208175918-2.png||height="505" width="502"]]
554 +
555 +
556 +[[image:image-20250208180010-3.png||height="507" width="503"]]
557 +
558 +
559 +[[image:image-20250208181019-4.jpeg||height="592" width="790"]]
560 +
561 +
562 +[[image:image-20250208181328-7.png||height="505" width="504"]]
563 +
564 +
565 +[[image:image-20250208181139-5.jpeg||height="594" width="792"]]
566 +
567 +
512 512  = 7. The method for adding a new type of panel to the project =
513 513  
514 514  If you don't have this need, then this part of the content can be ignored.
... ... @@ -806,6 +806,7 @@
806 806  
807 807  
808 808  * Datasheet
865 +* schematic: [[LTS5-V1>>attach:LTS5-V1.pdf]]
809 809  * 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]]
810 810  * Mechinical
811 811  
image-20250505112032-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.xieby
Size
... ... @@ -1,0 +1,1 @@
1 +43.9 KB
Content
image-20250505121328-2.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.xieby
Size
... ... @@ -1,0 +1,1 @@
1 +12.2 KB
Content
image-20250505121531-3.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.xieby
Size
... ... @@ -1,0 +1,1 @@
1 +21.3 KB
Content