Last modified by Xiaoling on 2023/07/24 09:53

From version 16.2
edited by Xiaoling
on 2022/11/21 16:56
Change comment: There is no comment for this version
To version 15.1
edited by Xiaoling
on 2022/11/21 16:54
Change comment: Uploaded new attachment "1669020888886-358.png", version {1}

Summary

Details

Page properties
Content
... ... @@ -37,6 +37,8 @@
37 37  
38 38  * Support various network structures
39 39  
40 +
41 +
40 40  == 1.3 What can you learn from the kit? ==
41 41  
42 42  
... ... @@ -56,6 +56,7 @@
56 56  
57 57  * Learn different way to connect LoRaWAN network to IoT Server and compare their advantages / disadvantages.
58 58  
61 +
59 59  == 1.4 What parts Dragino LoRa IoT v3 includes? ==
60 60  
61 61  
... ... @@ -81,6 +81,8 @@
81 81  
82 82  * 20 x dupont cable (male to female)
83 83  
87 +
88 +
84 84  = 2. Example 1: Test a LoRaWAN network =
85 85  
86 86  
... ... @@ -109,168 +109,155 @@
109 109  
110 110  = 3. Example 2: Test Built-In LoRaWAN Server =
111 111  
112 -
113 113  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.
114 114  
119 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image005.png]]
115 115  
116 -[[image:1669019757521-444.png]]
117 -
118 -
119 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 120  
123 +
121 121  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:
122 122  
123 -**Input URL( __http:~/~/<hostname>:8080 or http:~/~/<local-IPV4-address> __) in your browser.**
124 124  
125 -**Such as  __http:~/~/dragino-54ff12:8080  or http:~/~/<Local-IPV4-Address>__**
127 +Input URL( __http:~/~/<hostname>:8080 or http:~/~/<local-IPV4-address> __) in your browser.
126 126  
129 +Such as  __http:~/~/dragino-54ff12:8080  or http:~/~/<Local-IPV4-Address>__
127 127  
128 128  (% style="color:blue" %)**Login account:**
129 129  
130 -**User ID:  admin**
133 +User ID:  admin
131 131  
132 -**Password:  dragino**
135 +Password:  dragino
133 133  
134 -[[image:1669019821266-501.png]]
137 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image006.png||alt="image-20220725171719-1.png"]]
135 135  
136 136  
137 137  
138 138  = 4. Example 3: Test Built-in LoRaWAN server and Application server =
139 139  
140 -
141 141  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.
142 142  
143 143  
144 -[[image:1669019855783-448.png]]
146 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image007.png]]
145 145  
146 -
147 147  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
148 148  
150 +
149 149  Below is the Node-Red access instruction of LPS8v2:
150 150  
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.
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.
152 152  
153 -**Such as __http:~/~/dragino-54ff12:1880  or [[http:~~/~~/<Local-IPV4-Address~>>>http://<Local-IPV4-Address>]]__**
155 +Such as __http:~/~/dragino-54ff12:1880  or http:~/~/<Local-IPV4-Address>__
154 154  
157 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image008.png||alt="image-20220725172124-3.png"]]
155 155  
156 -[[image:1669019884655-805.png]]
157 157  
158 158  
159 159  = 5. Example 4: Peer to Peer Test on end node =
160 160  
161 -
162 162  This example describes how to test peer to peer communicate between LoRa End Node.
163 163  
165 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image009.png]]
164 164  
165 -[[image:1669019964124-630.png]]
166 -
167 -
168 168  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.
169 169  
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/]]**
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/]]
171 171  
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]].**
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]].
173 173  
174 174  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.
175 175  
176 176  
176 +
177 177  == 5.1 Set Up LA66 Shield + UNO ==
178 178  
179 179  === 5.1.1 Set up LA66 Module ===
180 180  
181 -
182 182  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:
183 183  
184 184  
185 -(% style="color:#037691" %)**AT+FRE=904.100,904.100   ** (%%) ~-~-->  TX and RX frequency set: 9041100000
184 +AT+FRE=904.100,904.100  ~-~--> TX and RX frequency set: 9041100000
186 186  
187 -(% style="color:#037691" %)**AT+BW=0,0 ** (%%) ~-~-->  TX and RX Bandwidth set: 125kHz
186 +AT+BW=0,0  ~-~--> TX and RX Bandwidth set: 125kHz
188 188  
189 -(% style="color:#037691" %)**AT+SF=12,12    ** (%%) ~-~-->  TX and RX Spreading Factor set: SF10
188 +AT+SF=12,12  ~-~--> TX and RX Spreading Factor set: SF10
190 190  
191 -(% style="color:#037691" %)**AT+CRC=1,1  ** (%%) ~-~-->  0: CRC OFF ,1: CRC ON
190 +AT+CRC=1,1  ~-~--> 0: CRC OFF ,1: CRC ON
192 192  
193 -(% style="color:#037691" %)**AT+HEADER=0,0**       (%%) ~-~-->  Header Type: explicit, explicit
192 +AT+HEADER=0,0  ~-~--> Header Type: explicit, explicit
194 194  
195 -(% style="color:#037691" %)**AT+CR=1,1  ** (%%) ~-~-->  CR: 4/5, 4/5
194 +AT+CR=1,1  ~-~--> CR: 4/5, 4/5
196 196  
197 -(% style="color:#037691" %)**AT+IQ=0,0**        (%%) ~-~-->  Invert IQ: 0,0
196 +AT+IQ=0,0  ~-~--> Invert IQ: 0,0
198 198  
199 -(% style="color:#037691" %)**AT+PREAMBLE=8,8  ** (%%) ~-~-->  TX and RX Preamble Length set: 8
198 +AT+PREAMBLE=8,8  ~-~--> TX and RX Preamble Length set: 8
200 200  
201 -(% style="color:#037691" %)**AT+SYNCWORD=0**     (%%) ~-~-->  Syncword**(0: private,1: public)**
200 +AT+SYNCWORD=0  ~-~--> Syncword**(0: private,1: public)**
202 202  
203 -(% style="color:#037691" %)**AT+RXMOD=6,0   ** (%%) ~-~-->  Rx Timeout and Reply mode
202 +AT+RXMOD=6,0  ~-~--> Rx Timeout and Reply mode
204 204  
205 205  
206 206  
207 207  === 5.1.2 Hardware Connection ===
208 208  
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.
210 210  
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.
215 215  
216 -
217 217  === 5.1.3 Set up Arduino UNO ===
218 218  
219 -
220 220  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]]
221 221  
222 222  
223 -(% style="color:blue" %)**Upload the code to UNO:**
220 +Upload the code to UNO:
224 224  
225 -[[image:1669020288319-334.png]]
222 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image011.png]]
226 226  
227 227  
225 +Check the LA66 Shield data: [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image012.png]]
228 228  
229 -(% style="color:blue" %)**Check the LA66 Shield data:**
230 230  
231 -[[image:1669020309356-484.png]]
232 -
233 -
234 234  == 5.2 Set Up LA66 USB ==
235 235  
236 -
237 237  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:
238 238  
239 239  
240 -(% style="color:#037691" %)**AT+FRE=904.100,904.100**(%%)  ~-~->  TX and RX frequency set: 904100000 
233 +AT+FRE=904.100,904.100  ~-~->TX and RX frequency set: 904100000 
241 241  
242 -(% style="color:#037691" %)**AT+BW=0,0**    (%%) ~-~->  TX and RX Bandwidth set: 125kHz
235 +AT+BW=0,0     ~-~->TX and RX Bandwidth set: 125kHz
243 243  
244 -(% style="color:#037691" %)**AT+SF=10,10**  (%%) ~-~->  TX and RX Spreading Factor set: SF10 
237 +AT+SF=10,10   ~-~->TX and RX Spreading Factor set: SF10 
245 245  
246 -(% style="color:#037691" %)**AT+CRC=1,1** (%%) ~-~->  0: CRC OFF ,1: CRC ON
239 +AT+CRC=1,1     ~-~->0: CRC OFF ,1: CRC ON
247 247  
248 -(% style="color:#037691" %)**AT+HEADER=0,0**  (%%) ~-~->  Header Type: explicit, explicit
241 +AT+HEADER=0,0     ~-~->Header Type: explicit, explicit
249 249  
250 -(% style="color:#037691" %)**AT+CR=1,1**   (%%) ~-~->  CR: 4/5, 4/5
243 +AT+CR=1,1       ~-~->CR: 4/5, 4/5
251 251  
252 -(% style="color:#037691" %)**AT+IQ=0,0**    (%%) ~-~->  Invert IQ: 0,0
245 +AT+IQ=0,0       ~-~->Invert IQ: 0,0
253 253  
254 -(% style="color:#037691" %)**AT+PREAMBLE=8,8**  (%%) ~-~->  TX and RX Preamble Length set: 8
247 +AT+PREAMBLE=8,8 ~-~->TX and RX Preamble Length set: 8
255 255  
256 -(% style="color:#037691" %)**AT+SYNCWORD=0**   (%%) ~-~->  Syncword**(0: private,1: public)**
249 +AT+SYNCWORD=0  ~-~->Syncword**(0: private,1: public)**
257 257  
258 -(% style="color:#037691" %)**AT+RXMOD=65535,0**  (%%) ~-~->  Set the receive mode
251 +AT+RXMOD=65535,0      ~-~->Set the receive mode
259 259  
260 -(% style="color:#037691" %)**AT+RXDAFORM=1**  (%%) ~-~->  ASCII to string
253 +AT+RXDAFORM=1  ~-~->ASCII to string
261 261  
262 -
263 263  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.
264 264  
265 265  For example, [[USB Serial Console>>url:https://play.google.com/store/apps/details?id=jp.sugnakys.usbserialconsole]] (Android Version Only)
266 266  
267 267  
268 -[[image:1669020888886-358.png]]
260 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image013.png]]
269 269  
270 270  
271 271  The serial port configuration for LA66 USB is as follows:
272 272  
273 -
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]]
274 274  
275 275  
276 276  
... ... @@ -437,4 +437,3 @@
437 437  
438 438  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/]]
439 439  
440 -
image-20221121165511-2.jpeg
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -33.5 KB
Content