<
From version < 58.1 >
edited by Kilight Cao
on 2022/11/03 15:11
To version < 32.1 >
edited by Kilight Cao
on 2022/11/01 16:09
>
Change comment: Uploaded new attachment "LoRa_Shield_Sketch_For_MQTT.ino", version {1}

Summary

Details

Page properties
Content
... ... @@ -88,7 +88,7 @@
88 88  == **1.6 Button Intruction** ==
89 89  
90 90  
91 -LG01v2 has a black toggle button, which is:
91 +LG01-V2 has a black toggle button, which is:
92 92  
93 93  
94 94  (% style="color:blue" %)**//➢ //Long press 4-5s  : **(%%)the gateway will reload the Network and Initialize wifi configuration
... ... @@ -119,7 +119,7 @@
119 119  === (% style="color:blue" %)**Method 1**(%%):  Connect via Ethernet with DHCP IP from the router ===
120 120  
121 121  
122 -Connect the LG01v2 Ethernet port to your router and LG01v2 can obtain an IP address from your router. In the router's management portal, you should be able to find what IP address the router has assigned to the LG01v2.
122 +Connect the LG01-V2 Ethernet port to your router and LG01-V2 can obtain an IP address from your router. In the router's management portal, you should be able to find what IP address the router has assigned to the LG01-V2.
123 123  
124 124  You can also use this IP to connect.
125 125  
... ... @@ -132,7 +132,7 @@
132 132  
133 133  [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20All%20Gateway%20models/HP0C/WebHome/image-20220622100542-2.png?width=1256&height=369&rev=1.1||alt="image-20220622100542-2.png"]]
134 134  
135 -The LG01v2 has a fall-back IP address on its WAN port. you have to access the gateway Web-UI to configure the WiFi connection via the fallback IP address.
135 +The LG01-V2 has a fall-back IP address on its WAN port. you have to access the gateway Web-UI to configure the WiFi connection via the fallback IP address.
136 136  
137 137  
138 138  (% style="color:#037691" %)**Steps to connect via fallback IP:**
... ... @@ -217,10 +217,10 @@
217 217  
218 218  
219 219  
220 -= **4. How to configure the Lora Gateway** =
220 += **4. How to configure the LA66 module** =
221 221  
222 222  
223 -== **4.1 Access the Lora configuration page** ==
223 +== **4.1 Access the LA66 module** ==
224 224  
225 225  
226 226  Users can access the LA66 module by running the following command, then select the option **''serial port setup"**:
... ... @@ -249,48 +249,24 @@
249 249  
250 250  Enter **AT+CFG **in the interface to get the configuration,
251 251  
252 +[[image:image-20221029172156-1.png||height="315" width="358"]]
252 252  
253 -(% class="box infomessage" %)
254 -(((
255 -AT+FRE=868.100,868.100  ~-~--> TX and RX frequency
256 -AT+GROUPMOD=0,0  ~-~--> TX and RX group
257 -AT+BW=0,0  ~-~--> TX and RX Bandwidth
258 -AT+SF=12,12  ~-~--> TX and RX Spreading Factor
259 -AT+POWER=14  ~-~--> TX Power Range
260 -AT+CRC=1,1  ~-~--> TX and RX CRC Type
261 -AT+HEADER=0,0  ~-~--> TX and RX Header Type
262 -AT+CR=1,1  ~-~--> TX and RX Coding Rate
263 -AT+IQ=0,0  ~-~--> TX and RX InvertIQ
264 -AT+PREAMBLE=8,8  ~-~--> TX and RX Preamble Length
265 -AT+SYNCWORD=0  ~-~-->  Syncword**(0: private,1: public)**
266 -AT+RXMOD=65535,0  ~-~-->  Rx Timeout and Reply mode
267 -AT+RXDAFORM=1                              
268 -)))
269 269  
270 -
271 271  == **4.2 Example: LG01v2 Peer-to-Peer** ==
272 272  
273 273  
274 -
275 -[[image:image-20221103143618-5.png||height="274" width="612"]]
276 -
277 -
278 -The user can run the AT command to set the LG01v2 RX window always open as a Receiver, the LA66 Shield uses **AT+SEND=1,hello world,2,3** to simulate sending data,
279 -
280 -**Prerequisites: **The configuration of LG01v2 and  LA66 Shield must match, users can use **AT+CFG** to check all configurations.
281 -
282 -
283 283  (% style="color:red" %)**LG01v2 as Receiver: (configured as AT+RXMOD=65535,2)**
284 284  
285 -[[image:image-20221102140053-4.png]]
260 +[[image:image-20221031091652-2.png]]
286 286  
287 287  
288 -(% style="color:red" %)**LA66 Shield as Sender: (AT+SEND=1,hello world,2,3)**
263 +(% style="color:red" %)**Sender:**
289 289  
290 -[[image:1667456058832-484.png||height="291" width="353"]]
291 291  
266 +[[image:image-20221031092053-4.png]]
292 292  
293 -Instruction for Peer-to-Peer firmware:[[ **Instruction **>>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/]]
268 +
269 +Instruction for LA66 Peer-to-Peer firmware :[[ **Instruction **>>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/]]
294 294  )))
295 295  
296 296  
... ... @@ -364,51 +364,9 @@
364 364  = **7. FAQ** =
365 365  
366 366  
367 -== **7.1 How does LG01v2 communicate with Lora shield (LoRa.h)** ==
343 +7.1
368 368  
369 369  
370 -This example describes how to use LG01v2, LoRa Shield to set up a LoRa network
371 -
372 -[[image:image-20221103144405-6.png||height="253" width="712"]]
373 -
374 -
375 -(% style="color:red" %)**Prerequisites: The configurations of LG01v2 and Lora shield must match**
376 -
377 -**LG01v2 configuration:**
378 -
379 -(% class="box infomessage" %)
380 -(((
381 -AT+FRE=868.100,868.100  ~-~--> TX and RX frequency set: 868100000
382 -AT+BW=0,0  ~-~--> TX and RX Bandwidth set: 125kHz
383 -AT+SF=12,12  ~-~--> TX and RX Spreading Factor set: SF12
384 -AT+POWER=14  ~-~--> TX Power Range
385 -AT+CRC=1,1  ~-~--> TX and RX CRC Type
386 -AT+HEADER=0,0  ~-~--> TX and RX Header Type
387 -AT+CR=1,1  ~-~--> TX and RX Coding Rate
388 -AT+IQ=0,0  ~-~--> TX and RX InvertIQ
389 -AT+PREAMBLE=8,8  ~-~--> TX and RX Preamble Length set: 8
390 -AT+SYNCWORD=0  ~-~-->  Syncword**(0: private,1: public), **the corresponding Lora shield syncword is 0x12
391 -AT+RXMOD=65535,0  ~-~-->  Rx Timeout and Reply mode,RX window always open
392 -AT+RXDAFORM=1    
393 -)))
394 -
395 -**Lora shield configuration:**
396 -
397 -Lora Shield example: [[attach:LoRa_Shield_Sketch_For_MQTT.ino||target="_blank"]] , [[attach:arduino-LoRa-master.zip||target="_blank"]]
398 -
399 -[[image:image-20221101161318-2.png]]
400 -
401 -
402 -**Test LG01v2 to receive Lora Shield data:**
403 -
404 -[[image:image-20221101161951-3.png]]
405 -
406 -
407 -**Test the LG01v2 to send data:**
408 -
409 -[[image:image-20221101162527-4.png]]
410 -
411 -
412 412  = (% style="color:inherit; font-family:inherit; font-size:29px" %)**8. Supports**(%%) =
413 413  
414 414  
1667456058832-484.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Kilight
Size
... ... @@ -1,1 +1,0 @@
1 -21.0 KB
Content
arduino-LoRa-master.zip
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Kilight
Size
... ... @@ -1,1 +1,0 @@
1 -28.6 KB
Content
image-20221101161318-2.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Kilight
Size
... ... @@ -1,1 +1,0 @@
1 -46.3 KB
Content
image-20221101161951-3.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Kilight
Size
... ... @@ -1,1 +1,0 @@
1 -131.0 KB
Content
image-20221101162527-4.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Kilight
Size
... ... @@ -1,1 +1,0 @@
1 -290.1 KB
Content
image-20221102105419-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Kilight
Size
... ... @@ -1,1 +1,0 @@
1 -37.3 KB
Content
image-20221102110604-2.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Kilight
Size
... ... @@ -1,1 +1,0 @@
1 -35.9 KB
Content
image-20221102114002-3.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Kilight
Size
... ... @@ -1,1 +1,0 @@
1 -50.1 KB
Content
image-20221102140053-4.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Kilight
Size
... ... @@ -1,1 +1,0 @@
1 -45.6 KB
Content
image-20221103140645-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Kilight
Size
... ... @@ -1,1 +1,0 @@
1 -39.1 KB
Content
image-20221103142228-2.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Kilight
Size
... ... @@ -1,1 +1,0 @@
1 -37.7 KB
Content
image-20221103142416-3.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Kilight
Size
... ... @@ -1,1 +1,0 @@
1 -325.9 KB
Content
image-20221103143528-4.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Kilight
Size
... ... @@ -1,1 +1,0 @@
1 -25.2 KB
Content
image-20221103143618-5.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Kilight
Size
... ... @@ -1,1 +1,0 @@
1 -25.1 KB
Content
image-20221103144405-6.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Kilight
Size
... ... @@ -1,1 +1,0 @@
1 -32.8 KB
Content
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0