Changes for page LA66 USB LoRaWAN Adapter User Manual
Last modified by Xiaoling on 2025/02/07 16:37
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 5 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -56,6 +56,7 @@ 56 56 57 57 58 58 59 + 59 59 == 1.3 Specification == 60 60 61 61 ... ... @@ -77,8 +77,10 @@ 77 77 78 78 79 79 81 + 80 80 == 1.4 Pin Mapping & LED == 81 81 84 + 82 82 [[image:image-20220813183239-3.png||height="526" width="662"]] 83 83 84 84 ... ... @@ -91,7 +91,7 @@ 91 91 ))) 92 92 93 93 94 -(% style="color:blue" %)**1. Connect the LA66 USB LoRaWAN adapter to PC** 97 +(% style="color:blue" %)**1. Connect the LA66 USB LoRaWAN adapter to PC** 95 95 96 96 97 97 [[image:image-20220723100027-1.png]] ... ... @@ -101,12 +101,14 @@ 101 101 102 102 [[image:image-20220602161617-8.png]] 103 103 107 + 104 104 [[image:image-20220602161718-9.png||height="457" width="800"]] 105 105 106 106 107 107 108 -(% style="color:blue" %)**2. Press the reset switch RST on the LA66 USB LoRaWAN Adapter to reset it.** 112 +(% style="color:blue" %)**2. Press the reset switch RST on the LA66 USB LoRaWAN Adapter to reset it.** 109 109 114 + 110 110 The following picture appears to prove that the LA66 USB LoRaWAN Adapter successfully Join the LoRaWAN network 111 111 112 112 ... ... @@ -114,8 +114,9 @@ 114 114 115 115 116 116 117 -(% style="color:blue" %)**3. See Uplink Command** 122 +(% style="color:blue" %)**3. See Uplink Command** 118 118 124 + 119 119 Command format: (% style="color:#4472c4" %)** AT+SENDB=<confirn_status>,<Fport>,<data_len>,<data>** 120 120 121 121 example: AT+SENDB=01,02,8,05820802581ea0a5 ... ... @@ -124,19 +124,81 @@ 124 124 125 125 126 126 127 -(% style="color:blue" %)**4. Check to see if TTN received the message** 133 +(% style="color:blue" %)**4. Check to see if TTN received the message** 128 128 129 -[[image:image-20220817084532-1.jpeg||height="563" width="1076"]] 130 130 136 +[[image:image-20220817093644-1.png]] 131 131 132 132 133 -== 1.6 Example: Send PC's CPU/RAM usage to TTN via python == 134 134 140 +== 1.6 Example: How to join helium == 135 135 142 + 143 + 144 +(% style="color:blue" %)**1. Create a new device.** 145 + 146 + 147 +[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LA66%20LoRaWAN%20Shield%20User%20Manual/WebHome/image-20220907165500-1.png?width=940&height=464&rev=1.1||alt="image-20220907165500-1.png"]] 148 + 149 + 150 + 151 +(% style="color:blue" %)**2. Save the device after filling in the necessary information.** 152 + 153 + 154 +[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LA66%20LoRaWAN%20Shield%20User%20Manual/WebHome/image-20220907165837-2.png?width=809&height=375&rev=1.1||alt="image-20220907165837-2.png" height="375" width="809"]] 155 + 156 + 157 + 158 +(% style="color:blue" %)**3. Use AT commands.** 159 + 160 + 161 +[[image:image-20220909151441-1.jpeg||height="695" width="521"]] 162 + 163 + 164 + 165 +(% style="color:blue" %)**4. Use the serial port tool** 166 + 167 + 168 +[[image:image-20220909151517-2.png||height="543" width="708"]] 169 + 170 + 171 + 172 +(% style="color:blue" %)**5. Use command AT+CFG to get device configuration** 173 + 174 + 175 +[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LA66%20LoRaWAN%20Shield%20User%20Manual/WebHome/image-20220907170308-3.png?width=617&height=556&rev=1.1||alt="image-20220907170308-3.png" height="556" width="617"]] 176 + 177 + 178 + 179 +(% style="color:blue" %)**6. Network successfully.** 180 + 181 + 182 +[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LA66%20LoRaWAN%20Shield%20User%20Manual/WebHome/image-20220907170436-4.png?rev=1.1||alt="image-20220907170436-4.png"]] 183 + 184 + 185 + 186 +(% style="color:blue" %)**7. Send uplink using command** 187 + 188 + 189 +[[image:image-20220912085244-1.png]] 190 + 191 + 192 +[[image:image-20220912085307-2.png]] 193 + 194 + 195 + 196 +[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LA66%20LoRaWAN%20Shield%20User%20Manual/WebHome/image-20220907170744-6.png?width=798&height=242&rev=1.1||alt="image-20220907170744-6.png" height="242" width="798"]] 197 + 198 + 199 + 200 +== 1.7 Example: Send PC's CPU/RAM usage to TTN via python == 201 + 202 + 136 136 **Use python as an example:**[[https:~~/~~/github.com/dragino/LA66/blob/main/Send_information_to_TTN_WindosPC.py>>https://github.com/dragino/LA66/blob/main/Send_information_to_TTN_WindosPC.py]] 137 137 138 138 (**Raspberry Pi example: **[[https:~~/~~/github.com/dragino/LA66/blob/main/Send_information_to_TTN_Raspberry%20Pi.py>>https://github.com/dragino/LA66/blob/main/Send_information_to_TTN_Raspberry%20Pi.py]]) 139 139 207 + 140 140 (% style="color:red" %)**Preconditions:** 141 141 142 142 (% style="color:red" %)**1. LA66 USB LoRaWAN Adapter works fine** ... ... @@ -151,24 +151,27 @@ 151 151 152 152 (% style="color:blue" %)**2.**(%%) Run the python script in PC and see the TTN 153 153 222 + 154 154 [[image:image-20220602115852-3.png||height="450" width="1187"]] 155 155 156 156 157 157 158 -== 1. 7Example: Send & Get Messages via LoRaWAN in RPi ==227 +== 1.8 Example: Send & Get Messages via LoRaWAN in RPi == 159 159 160 160 161 161 Assume user already input the LA66 USB LoRaWAN Adapter OTAA Keys in TTN and there is already TTN network coverage. 162 162 163 163 164 -(% style="color:blue" %)**1. Connect the LA66 USB LoRaWAN Adapter to the Raspberry Pi** 233 +(% style="color:blue" %)**1. Connect the LA66 USB LoRaWAN Adapter to the Raspberry Pi** 165 165 235 + 166 166 [[image:image-20220723100439-2.png]] 167 167 168 168 169 169 170 -(% style="color:blue" %)**2. Install Minicom in RPi.** 240 +(% style="color:blue" %)**2. Install Minicom in RPi.** 171 171 242 + 172 172 (% id="cke_bm_509388S" style="display:none" %) (%%)Enter the following command in the RPi terminal 173 173 174 174 (% style="background-color:yellow" %)**apt update** ... ... @@ -182,8 +182,9 @@ 182 182 183 183 184 184 185 -(% style="color:blue" %)**3. Press the reset switch RST on the LA66 USB LoRaWAN Adapter.** 256 +(% style="color:blue" %)**3. Press the reset switch RST on the LA66 USB LoRaWAN Adapter.** 186 186 258 + 187 187 The following picture appears to prove that the LA66 USB LoRaWAN Adapter successfully entered the network. 188 188 189 189 ... ... @@ -191,8 +191,9 @@ 191 191 192 192 193 193 194 -(% style="color:blue" %)**4. Send Uplink message** 266 +(% style="color:blue" %)**4. Send Uplink message** 195 195 268 + 196 196 Format: (% style="color:#4472c4" %)**AT+SENDB=<confirn_status>,<Fport>,<data_len>,<data>** 197 197 198 198 example: AT+SENDB=01,02,8,05820802581ea0a5 ... ... @@ -204,14 +204,15 @@ 204 204 205 205 Check to see if TTN received the message 206 206 280 + 207 207 [[image:image-20220602160627-7.png||height="369" width="800"]] 208 208 209 209 210 210 211 -== 1. 8Example: Use of LA66 USB LoRaWAN Adapter and mobile APP ==285 +== 1.9 Example: Use of LA66 USB LoRaWAN Adapter and mobile APP == 212 212 213 213 214 -=== 1. 8.1 Hardware and Software Connection ===288 +=== 1.9.1 Hardware and Software Connection === 215 215 216 216 217 217 ... ... @@ -229,8 +229,10 @@ 229 229 230 230 231 231 306 + 232 232 ==== (% style="color:blue" %)**Hardware Connection:**(%%) ==== 233 233 309 + 234 234 A USB to Type-C adapter is needed to connect to a Mobile phone. 235 235 236 236 Note: The package of LA66 USB adapter already includes this USB Type-C adapter. ... ... @@ -239,20 +239,27 @@ 239 239 240 240 241 241 318 + 242 242 ==== (% style="color:blue" %)**Download and Install App:**(%%) ==== 243 243 321 + 244 244 [[(% id="cke_bm_895007S" style="display:none" %)** **(%%)**Download Link for Android apk **>>https://www.dropbox.com/sh/zxwx16qb777uvkz/AABE_P8coGCQ4DAC8enH4bUya?dl=0]]. (Android Version Only) 245 245 324 + 246 246 [[image:image-20220813173738-1.png]] 247 247 248 248 249 249 329 + 250 250 ==== (% style="color:blue" %)**Use of APP:**(%%) ==== 251 251 332 + 252 252 Function and page introduction 253 253 335 + 254 254 [[image:image-20220723113448-7.png||height="995" width="450"]] 255 255 338 + 256 256 **Block Explain:** 257 257 258 258 1. Display LA66 USB LoRaWAN Module connection status ... ... @@ -282,8 +282,10 @@ 282 282 13. exit button 283 283 284 284 368 + 285 285 LA66 USB LoRaWAN Module not connected 286 286 371 + 287 287 [[image:image-20220723110520-5.png||height="677" width="508"]] 288 288 289 289 ... ... @@ -290,15 +290,18 @@ 290 290 291 291 Connect LA66 USB LoRaWAN Module 292 292 378 + 293 293 [[image:image-20220723110626-6.png||height="681" width="511"]] 294 294 295 295 296 296 297 -=== 1.8.2 Send data to TTNv3 and plot location info in Node-Red === 298 298 384 +=== 1.9.2 Send data to TTNv3 and plot location info in Node-Red === 299 299 386 + 300 300 (% style="color:blue" %)**1. Register LA66 USB LoRaWAN Module to TTNV3** 301 301 389 + 302 302 [[image:image-20220723134549-8.png]] 303 303 304 304 ... ... @@ -305,6 +305,7 @@ 305 305 306 306 (% style="color:blue" %)**2. Open Node-RED,And import the JSON file to generate the flow** 307 307 396 + 308 308 Sample JSON file please go to **[[this link>>https://www.dropbox.com/sh/zxwx16qb777uvkz/AABE_P8coGCQ4DAC8enH4bUya?dl=0]]** to download. 309 309 310 310 For the usage of Node-RED, please refer to: [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/Node-RED/>>http://wiki.dragino.com/xwiki/bin/view/Main/Node-RED/]] ... ... @@ -311,7 +311,9 @@ 311 311 312 312 After see LoRaWAN Online, walk around and the APP will keep sending location info to LoRaWAN server and then to the Node Red. 313 313 403 +LA66~-~-node-red~-~-decoder:[[dragino-end-node-decoder/Node-RED at main · dragino/dragino-end-node-decoder · GitHub>>url:https://github.com/dragino/dragino-end-node-decoder/tree/main/Node-RED]] 314 314 405 + 315 315 Example output in NodeRed is as below: 316 316 317 317 [[image:image-20220723144339-1.png]] ... ... @@ -318,13 +318,14 @@ 318 318 319 319 320 320 321 -== 1. 9Upgrade Firmware of LA66 USB LoRaWAN Adapter ==412 +== 1.10 Upgrade Firmware of LA66 USB LoRaWAN Adapter == 322 322 323 323 324 -The LA66 USB LoRaWAN Adapter is the same as the LA66 LoRaWAN Shield update method 415 +The LA66 USB LoRaWAN Adapter is the same as the LA66 LoRaWAN Shield update method. 325 325 326 -Just use the yellow jumper cap to short the BOOT corner and the RX corner, and then press the RESET button (without the jumper cap, you can directly short the BOOT corner and the RX corner with a wire to achieve the same effect) 417 +Just use the yellow jumper cap to short the BOOT corner and the RX corner, and then press the RESET button (without the jumper cap, you can directly short the BOOT corner and the RX corner with a wire to achieve the same effect). 327 327 419 + 328 328 [[image:image-20220723150132-2.png]] 329 329 330 330 ... ... @@ -359,7 +359,11 @@ 359 359 360 360 361 361 454 + 362 362 = 4. Reference = 363 363 364 364 365 365 * Hardware Design File for LA66 USB LoRaWAN Adapter : [[Download>>https://www.dropbox.com/sh/a3wbmdcvqjxaqw5/AADZfvAiykJTK624RgMquH86a?dl=0]] 459 +* Mobile Phone App Source Code: [[Download>>https://github.com/dragino/LA66_Mobile_App]]. 460 + 461 +
- image-20220817093644-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +217.0 KB - Content
- image-20220909151441-1.jpeg
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Bei - Size
-
... ... @@ -1,0 +1,1 @@ 1 +152.4 KB - Content
- image-20220909151517-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Bei - Size
-
... ... @@ -1,0 +1,1 @@ 1 +64.3 KB - Content
- image-20220912085244-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +1.7 KB - Content
- image-20220912085307-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +16.7 KB - Content