Changes for page LoRaWAN IoT Kit v3 User Manual
Last modified by Xiaoling on 2023/07/24 09:53
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -37,8 +37,6 @@ 37 37 38 38 * Support various network structures 39 39 40 - 41 - 42 42 == 1.3 What can you learn from the kit? == 43 43 44 44 ... ... @@ -58,7 +58,6 @@ 58 58 59 59 * Learn different way to connect LoRaWAN network to IoT Server and compare their advantages / disadvantages. 60 60 61 - 62 62 == 1.4 What parts Dragino LoRa IoT v3 includes? == 63 63 64 64 ... ... @@ -84,8 +84,6 @@ 84 84 85 85 * 20 x dupont cable (male to female) 86 86 87 - 88 - 89 89 = 2. Example 1: Test a LoRaWAN network = 90 90 91 91 ... ... @@ -114,155 +114,168 @@ 114 114 115 115 = 3. Example 2: Test Built-In LoRaWAN Server = 116 116 112 + 117 117 This example describes how to use LPS8v2, LA66 Shield & LA66 USB to set up a LoRaWAN network and connect it to built-in LoRaWAN Server in. It also shows how to use external application server to monitor / manage the LoRa Nodes. 118 118 119 -[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image005.png]] 120 120 121 - This example isalmost thesame as Example1, the difference is that this example use the built-in LoRaWAN server (TTNv3 Stack) in LPS8v2. While Example1use the public TTN server.116 +[[image:1669019757521-444.png]] 122 122 123 123 119 +This example is almost the same as Example1, the difference is that this example use the built-in LoRaWAN server (TTNv3 Stack) in LPS8v2. While Example 1 use the public TTN server. 120 + 124 124 TTN v3 stack has the same configure method as the public TTN server. When user test example 2 here. User need to log in the TTNv3 stack in LPS8v2 as per below: 125 125 123 +**Input URL( __http:~/~/<hostname>:8080 or http:~/~/<local-IPV4-address> __) in your browser.** 126 126 127 - InputURL(__http:~/~/<hostname>:8080 or http:~/~/<local-IPV4-address>) in your browser.125 +**Such as __http:~/~/dragino-54ff12:8080 or http:~/~/<Local-IPV4-Address>__** 128 128 129 -Such as __http:~/~/dragino-54ff12:8080 or http:~/~/<Local-IPV4-Address>__ 130 130 131 131 (% style="color:blue" %)**Login account:** 132 132 133 -User ID: admin 130 +**User ID: admin** 134 134 135 -Password: dragino 132 +**Password: dragino** 136 136 137 -[[image: file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image006.png||alt="image-20220725171719-1.png"]]134 +[[image:1669019821266-501.png]] 138 138 139 139 140 140 141 141 = 4. Example 3: Test Built-in LoRaWAN server and Application server = 142 142 140 + 143 143 This example describes how to use LPS8v2, LA66 Shield & LA66 USB to set up a LoRaWAN network and connect it to built-in LoRaWAN Server in. It also shows how to use external application server to monitor / manage the LoRa Nodes. 144 144 145 145 146 -[[image: file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image007.png]]144 +[[image:1669019855783-448.png]] 147 147 146 + 148 148 This example is quite similiar as Example2, the difference is that this example use the built-in Application server (Node-Red) in LPS8v2. While Example 2 use the public Node-Red 149 149 150 - 151 151 Below is the Node-Red access instruction of LPS8v2: 152 152 153 -You can access the gateway's built-in AS server of Node-Red via the URL(__http:~/~/<hostname>:1880 or http:~/~/<local-IPV4-address>__) in your browser. 151 +You can access the gateway's built-in AS server of Node-Red via the **URL(__http:~/~/<hostname>:1880 or http:~/~/<local-IPV4-address>__)** in your browser. 154 154 155 -Such as __http:~/~/dragino-54ff12:1880 or http:~/~/<Local-IPV4-Address>__ 153 +**Such as __http:~/~/dragino-54ff12:1880 or [[http:~~/~~/<Local-IPV4-Address~>>>http://<Local-IPV4-Address>]]__** 156 156 157 -[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image008.png||alt="image-20220725172124-3.png"]] 158 158 156 +[[image:1669019884655-805.png]] 159 159 160 160 161 161 = 5. Example 4: Peer to Peer Test on end node = 162 162 161 + 163 163 This example describes how to test peer to peer communicate between LoRa End Node. 164 164 165 -[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image009.png]] 166 166 165 +[[image:1669019964124-630.png]] 166 + 167 + 167 167 In this example, the end nodes LA66 Shield and LA66 USB are not use LoRaWAN protocol. Users need to flash them with the firmware support private LoRa. 168 168 169 -* Software Location: [[LA66 Peer to Peer firmware>>url:http://wiki.dragino.com/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LA66%20LoRaWAN%20Shield%20User%20Manual/Instruction%20for%20LA66%20Peer%20to%20Peer%20firmware/]] 170 +* **Software Location: [[LA66 Peer to Peer firmware>>url:http://wiki.dragino.com/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LA66%20LoRaWAN%20Shield%20User%20Manual/Instruction%20for%20LA66%20Peer%20to%20Peer%20firmware/]]** 170 170 171 -* How to Flash Firmware: [[For LA66 Shield>>url:http://wiki.dragino.com/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LA66%20LoRaWAN%20Shield%20User%20Manual/#H1.9A0UpgradeFirmwareofLA66LoRaWANShield]] , For [[LA66 USB>>url:http://wiki.dragino.com/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LA66%20USB%20LoRaWAN%20Adapter%20User%20Manual/#H1.10A0UpgradeFirmwareofLA66USBLoRaWANAdapter]]. 172 +* **How to Flash Firmware: [[For LA66 Shield>>url:http://wiki.dragino.com/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LA66%20LoRaWAN%20Shield%20User%20Manual/#H1.9A0UpgradeFirmwareofLA66LoRaWANShield]] , For [[LA66 USB>>url:http://wiki.dragino.com/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LA66%20USB%20LoRaWAN%20Adapter%20User%20Manual/#H1.10A0UpgradeFirmwareofLA66USBLoRaWANAdapter]].** 172 172 173 173 This example will show how to get Temperature sensor value from LA66 Shield and send it to LA66 USB. LA66 USB is connected to mobile phone. So user can see the temperature value in mobile phone directly . User can also send message from mobile phone to LA66 to control the RGB LED. 174 174 175 175 176 - 177 177 == 5.1 Set Up LA66 Shield + UNO == 178 178 179 179 === 5.1.1 Set up LA66 Module === 180 180 181 + 181 181 LA66 Module is loaded with the firmware [[LA66 Peer to Peer firmware>>url:http://wiki.dragino.com/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LA66%20LoRaWAN%20Shield%20User%20Manual/Instruction%20for%20LA66%20Peer%20to%20Peer%20firmware/]] and user can use AT Command to set up LA66 with below parameters: 182 182 183 183 184 -AT+FRE=904.100,904.100 ~-~--> TX and RX frequency set: 9041100000 185 +(% style="color:#037691" %)**AT+FRE=904.100,904.100 ** (%%) ~-~--> TX and RX frequency set: 9041100000 185 185 186 -AT+BW=0,0 187 +(% style="color:#037691" %)**AT+BW=0,0 ** (%%) ~-~--> TX and RX Bandwidth set: 125kHz 187 187 188 -AT+SF=12,12 189 +(% style="color:#037691" %)**AT+SF=12,12 ** (%%) ~-~--> TX and RX Spreading Factor set: SF10 189 189 190 -AT+CRC=1,1 191 +(% style="color:#037691" %)**AT+CRC=1,1 ** (%%) ~-~--> 0: CRC OFF ,1: CRC ON 191 191 192 -AT+HEADER=0,0 193 +(% style="color:#037691" %)**AT+HEADER=0,0** (%%) ~-~--> Header Type: explicit, explicit 193 193 194 -AT+CR=1,1 195 +(% style="color:#037691" %)**AT+CR=1,1 ** (%%) ~-~--> CR: 4/5, 4/5 195 195 196 -AT+IQ=0,0 197 +(% style="color:#037691" %)**AT+IQ=0,0** (%%) ~-~--> Invert IQ: 0,0 197 197 198 -AT+PREAMBLE=8,8 199 +(% style="color:#037691" %)**AT+PREAMBLE=8,8 ** (%%) ~-~--> TX and RX Preamble Length set: 8 199 199 200 -AT+SYNCWORD=0 201 +(% style="color:#037691" %)**AT+SYNCWORD=0** (%%) ~-~--> Syncword**(0: private,1: public)** 201 201 202 -AT+RXMOD=6,0 203 +(% style="color:#037691" %)**AT+RXMOD=6,0 ** (%%) ~-~--> Rx Timeout and Reply mode 203 203 204 204 205 205 206 206 === 5.1.2 Hardware Connection === 207 207 208 -[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image010.png]] 209 209 210 -There is a sensor DHT11 (Temperature & Humidity sensor) and LED RGB connected to LA66 Shield + UNO. Please use the connection as we show in the photo. 211 211 211 +[[image:1669020260360-253.png]] 212 212 213 213 214 +There is a sensor DHT11 (Temperature & Humidity sensor) and LED RGB connected to LA66 Shield + UNO. Please use the connection as we show in the photo. 214 214 216 + 215 215 === 5.1.3 Set up Arduino UNO === 216 216 219 + 217 217 The sketch for this example is [[Log-Temperature-Sensor-and- Control-RBG-LED.ino>>url:https://www.dropbox.com/sh/r5l3h5fhifrqbxn/AACgNoQ-aYnvWOxGwUDWxNlFa?dl=0]] 218 218 219 219 220 -Upload the code to UNO: 223 +(% style="color:blue" %)**Upload the code to UNO:** 221 221 222 -[[image: file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image011.png]]225 +[[image:1669020288319-334.png]] 223 223 224 224 225 -Check the LA66 Shield data: [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image012.png]] 226 226 229 +(% style="color:blue" %)**Check the LA66 Shield data:** 227 227 231 +[[image:1669020309356-484.png]] 232 + 233 + 228 228 == 5.2 Set Up LA66 USB == 229 229 236 + 230 230 LA66 USB is loaded with the firmware [[LA66 Peer to Peer firmware>>url:http://wiki.dragino.com/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LA66%20LoRaWAN%20Shield%20User%20Manual/Instruction%20for%20LA66%20Peer%20to%20Peer%20firmware/]] and user can use AT Command to set up LA66 USB with below parameters: 231 231 232 232 233 -AT+FRE=904.100,904.100 ~-~->TX and RX frequency set: 904100000 240 +(% style="color:#037691" %)**AT+FRE=904.100,904.100**(%%) ~-~-> TX and RX frequency set: 904100000 234 234 235 -AT+BW=0,0 242 +(% style="color:#037691" %)**AT+BW=0,0** (%%) ~-~-> TX and RX Bandwidth set: 125kHz 236 236 237 -AT+SF=10,10 244 +(% style="color:#037691" %)**AT+SF=10,10** (%%) ~-~-> TX and RX Spreading Factor set: SF10 238 238 239 -AT+CRC=1,1 246 +(% style="color:#037691" %)**AT+CRC=1,1** (%%) ~-~-> 0: CRC OFF ,1: CRC ON 240 240 241 -AT+HEADER=0,0 248 +(% style="color:#037691" %)**AT+HEADER=0,0** (%%) ~-~-> Header Type: explicit, explicit 242 242 243 -AT+CR=1,1 250 +(% style="color:#037691" %)**AT+CR=1,1** (%%) ~-~-> CR: 4/5, 4/5 244 244 245 -AT+IQ=0,0 252 +(% style="color:#037691" %)**AT+IQ=0,0** (%%) ~-~-> Invert IQ: 0,0 246 246 247 -AT+PREAMBLE=8,8 ~-~->TX and RX Preamble Length set: 8 254 +(% style="color:#037691" %)**AT+PREAMBLE=8,8** (%%) ~-~-> TX and RX Preamble Length set: 8 248 248 249 -AT+SYNCWORD=0 ~-~->Syncword**(0: private,1: public)** 256 +(% style="color:#037691" %)**AT+SYNCWORD=0** (%%) ~-~-> Syncword**(0: private,1: public)** 250 250 251 -AT+RXMOD=65535,0 258 +(% style="color:#037691" %)**AT+RXMOD=65535,0** (%%) ~-~-> Set the receive mode 252 252 253 -AT+RXDAFORM=1 ~-~->ASCII to string 260 +(% style="color:#037691" %)**AT+RXDAFORM=1** (%%) ~-~-> ASCII to string 254 254 262 + 255 255 Users using USB to Type-C adapter is needed to connect to a Mobile phone, Users need to download the USB Serial APP in their phones. 256 256 257 257 For example, [[USB Serial Console>>url:https://play.google.com/store/apps/details?id=jp.sugnakys.usbserialconsole]] (Android Version Only) 258 258 259 259 260 -[[image: file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image013.png]]268 +[[image:1669020888886-358.png]] 261 261 262 262 263 263 The serial port configuration for LA66 USB is as follows: 264 264 265 - [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image014.jpg]][[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image015.jpg]]273 + 266 266 267 267 268 268 ... ... @@ -429,3 +429,4 @@ 429 429 430 430 4. User Manual: [[LPS8v2>>url:http://wiki.dragino.com/xwiki/bin/view/Main/User%20Manual%20for%20All%20Gateway%20models/HP0C/]], [[LA66 LoRaWAN Shield>>url:http://wiki.dragino.com/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LA66%20LoRaWAN%20Shield%20User%20Manual/]] , [[LA66 USB LoRaWAN Adapter>>url:http://wiki.dragino.com/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LA66%20USB%20LoRaWAN%20Adapter%20User%20Manual/]] 431 431 440 +