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, 4 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,21 +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 129 130 - 131 131 [[image:image-20220817093644-1.png]] 132 132 133 133 134 134 135 -== 1.6 Example: SendPC's CPU/RAM usagetoTTN viapython==140 +== 1.6 Example: How to join helium == 136 136 137 137 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 + 138 138 **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]] 139 139 140 140 (**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]]) 141 141 207 + 142 142 (% style="color:red" %)**Preconditions:** 143 143 144 144 (% style="color:red" %)**1. LA66 USB LoRaWAN Adapter works fine** ... ... @@ -153,24 +153,27 @@ 153 153 154 154 (% style="color:blue" %)**2.**(%%) Run the python script in PC and see the TTN 155 155 222 + 156 156 [[image:image-20220602115852-3.png||height="450" width="1187"]] 157 157 158 158 159 159 160 -== 1. 7Example: Send & Get Messages via LoRaWAN in RPi ==227 +== 1.8 Example: Send & Get Messages via LoRaWAN in RPi == 161 161 162 162 163 163 Assume user already input the LA66 USB LoRaWAN Adapter OTAA Keys in TTN and there is already TTN network coverage. 164 164 165 165 166 -(% 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** 167 167 235 + 168 168 [[image:image-20220723100439-2.png]] 169 169 170 170 171 171 172 -(% style="color:blue" %)**2. Install Minicom in RPi.** 240 +(% style="color:blue" %)**2. Install Minicom in RPi.** 173 173 242 + 174 174 (% id="cke_bm_509388S" style="display:none" %) (%%)Enter the following command in the RPi terminal 175 175 176 176 (% style="background-color:yellow" %)**apt update** ... ... @@ -184,8 +184,9 @@ 184 184 185 185 186 186 187 -(% 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.** 188 188 258 + 189 189 The following picture appears to prove that the LA66 USB LoRaWAN Adapter successfully entered the network. 190 190 191 191 ... ... @@ -193,8 +193,9 @@ 193 193 194 194 195 195 196 -(% style="color:blue" %)**4. Send Uplink message** 266 +(% style="color:blue" %)**4. Send Uplink message** 197 197 268 + 198 198 Format: (% style="color:#4472c4" %)**AT+SENDB=<confirn_status>,<Fport>,<data_len>,<data>** 199 199 200 200 example: AT+SENDB=01,02,8,05820802581ea0a5 ... ... @@ -206,14 +206,15 @@ 206 206 207 207 Check to see if TTN received the message 208 208 280 + 209 209 [[image:image-20220602160627-7.png||height="369" width="800"]] 210 210 211 211 212 212 213 -== 1. 8Example: Use of LA66 USB LoRaWAN Adapter and mobile APP ==285 +== 1.9 Example: Use of LA66 USB LoRaWAN Adapter and mobile APP == 214 214 215 215 216 -=== 1. 8.1 Hardware and Software Connection ===288 +=== 1.9.1 Hardware and Software Connection === 217 217 218 218 219 219 ... ... @@ -231,8 +231,10 @@ 231 231 232 232 233 233 306 + 234 234 ==== (% style="color:blue" %)**Hardware Connection:**(%%) ==== 235 235 309 + 236 236 A USB to Type-C adapter is needed to connect to a Mobile phone. 237 237 238 238 Note: The package of LA66 USB adapter already includes this USB Type-C adapter. ... ... @@ -241,20 +241,27 @@ 241 241 242 242 243 243 318 + 244 244 ==== (% style="color:blue" %)**Download and Install App:**(%%) ==== 245 245 321 + 246 246 [[(% 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) 247 247 324 + 248 248 [[image:image-20220813173738-1.png]] 249 249 250 250 251 251 329 + 252 252 ==== (% style="color:blue" %)**Use of APP:**(%%) ==== 253 253 332 + 254 254 Function and page introduction 255 255 335 + 256 256 [[image:image-20220723113448-7.png||height="995" width="450"]] 257 257 338 + 258 258 **Block Explain:** 259 259 260 260 1. Display LA66 USB LoRaWAN Module connection status ... ... @@ -284,8 +284,10 @@ 284 284 13. exit button 285 285 286 286 368 + 287 287 LA66 USB LoRaWAN Module not connected 288 288 371 + 289 289 [[image:image-20220723110520-5.png||height="677" width="508"]] 290 290 291 291 ... ... @@ -292,15 +292,18 @@ 292 292 293 293 Connect LA66 USB LoRaWAN Module 294 294 378 + 295 295 [[image:image-20220723110626-6.png||height="681" width="511"]] 296 296 297 297 298 298 299 -=== 1.8.2 Send data to TTNv3 and plot location info in Node-Red === 300 300 384 +=== 1.9.2 Send data to TTNv3 and plot location info in Node-Red === 301 301 386 + 302 302 (% style="color:blue" %)**1. Register LA66 USB LoRaWAN Module to TTNV3** 303 303 389 + 304 304 [[image:image-20220723134549-8.png]] 305 305 306 306 ... ... @@ -307,6 +307,7 @@ 307 307 308 308 (% style="color:blue" %)**2. Open Node-RED,And import the JSON file to generate the flow** 309 309 396 + 310 310 Sample JSON file please go to **[[this link>>https://www.dropbox.com/sh/zxwx16qb777uvkz/AABE_P8coGCQ4DAC8enH4bUya?dl=0]]** to download. 311 311 312 312 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/]] ... ... @@ -313,7 +313,9 @@ 313 313 314 314 After see LoRaWAN Online, walk around and the APP will keep sending location info to LoRaWAN server and then to the Node Red. 315 315 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]] 316 316 405 + 317 317 Example output in NodeRed is as below: 318 318 319 319 [[image:image-20220723144339-1.png]] ... ... @@ -320,13 +320,14 @@ 320 320 321 321 322 322 323 -== 1. 9Upgrade Firmware of LA66 USB LoRaWAN Adapter ==412 +== 1.10 Upgrade Firmware of LA66 USB LoRaWAN Adapter == 324 324 325 325 326 -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. 327 327 328 -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). 329 329 419 + 330 330 [[image:image-20220723150132-2.png]] 331 331 332 332 ... ... @@ -360,7 +360,12 @@ 360 360 * (% style="color:red" %)**PP**(%%): Peer to Peer LoRa Protocol 361 361 362 362 453 + 454 + 363 363 = 4. Reference = 364 364 365 365 366 366 * 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-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