<
From version < 150.1
edited by Kilight Cao
on 2024/10/12 08:58
To version < 138.1 >
edited by Kilight Cao
on 2023/06/20 10:39
Change comment: Uploaded new attachment "image-20230620103923-3.png", version {1}

Summary

Details

Page properties
Content
... ... @@ -7,7 +7,7 @@
7 7  
8 8  )))
9 9  
10 -**Table of Contents:**
10 +**Table of Contents**
11 11  
12 12  {{toc/}}
13 13  
... ... @@ -25,9 +25,7 @@
25 25  (((
26 26  The LG01v2 is an (% style="color:blue" %)**open-source single channel LoRa Gateway**(%%). It lets you bridge LoRa wireless network to an IP network via (% style="color:blue" %)**WiFi , Ethernet or Cellular Network**(%%) (via Optional 4G module). The LoRa wireless allows users to send data and reach extremely long ranges at low data rates.
27 27  
28 -LG01v2 is specially designed for (% style="color:blue" %)**peer-to-peer LoRa**(%%) protocol instead of LoRaWAN protocol. The LG01v2 uses a single-channel LoRa module to minimize the deployment cost for a private p2p LoRa wireless network.
29 -
30 -(% style="color:red" %)**Note: The LG01v2 can't register and connect to the LoRaWAN server(Such as The Things NetWork, AWS, or Chirpstack..)**
28 +LG01v2 is specially design for (% style="color:blue" %)**peer to peer LoRa**(%%) protocol instead of LoRaWAN protocol. The LG01v2 use single channel LoRa module to minimize the deployment cost for a private p2p LoRa wireless network.
31 31  )))
32 32  
33 33  (((
... ... @@ -57,6 +57,8 @@
57 57  * Storage Temperature: -20 ~~ 65°C
58 58  * Power Input: 5V, 2A, DC
59 59  
58 +
59 +
60 60  == 1.3 Features ==
61 61  
62 62  
... ... @@ -67,6 +67,8 @@
67 67  * LoRa Gateway
68 68  * Built-in  (% style="color:#037691" %)//**Node-Red**// (%%)local Application server
69 69  
70 +
71 +
70 70  == 1.4 Block Diagram ==
71 71  
72 72  
... ... @@ -77,15 +77,21 @@
77 77  LG01-V2 has totally four LEDs, They are:
78 78  
79 79  
80 -(% style="color:blue" %)**➢ Power LED**[[image:image-20231014092959-4.png]](%%): This RED LED will be solid if the device is properly powered
82 +(% style="color:blue" %)**➢ Power LED**(%%): This RED LED will be solid if the device is properly powered
81 81  
82 -(% style="color:blue" %)**➢ ETH LED**[[image:image-20231014092934-2.png]](%%):  This RGB LED will blink GREEN when the ETH port is connecting
84 +(% style="color:blue" %)**➢ ETH LED**(%%):  This RGB LED will blink GREEN when the ETH port is connecting
83 83  
84 -(% style="color:blue" %)**➢ SYS LED**[[image:image-20231014092954-3.png]](%%):  Undefined yet
86 +(% style="color:blue" %)**➢ SYS LED**(%%):  This RGB LED will show different colors in different states:
85 85  
86 -(% style="color:blue" %)**➢ WIFI LED**[[image:image-20231014092843-1.png]](%%): This LED shows the WIFI interface connection status.
88 + **SOLID GREEN:** The device is alive with a LoRaWAN server connection.
87 87  
90 + ✓ **BLINKING GREEN:** a) Device has internet connection but no LoRaWAN Connection. or b) Device is in booting stage, in this stage, it will BLINKING GREEN for several seconds and then with BLINKING GREEN together
88 88  
92 + ✓** SOLID RED:** Device doesn't have an Internet connection.
93 +
94 +(% style="color:blue" %)**➢ WIFI LED**(%%): This LED shows the WIFI interface connection status.
95 +
96 +
89 89  == 1.6 Button Intruction ==
90 90  
91 91  
... ... @@ -372,6 +372,8 @@
372 372  * **LA66 Shield + UNO + DHT11**: The UNO will get the temperature and humidity and broadcast the value via LoRa protocol.
373 373  * **LG01v2** : LG01v2 is set to listening the LoRa Channel which LA66 is broadcasting. When LG01v2 get the data from LA66, LG01v2 will plot the data in built-in IoT server.
374 374  
383 +
384 +
375 375  === 5.2.2 Set Up LA66 Shield + UNO ===
376 376  
377 377  
... ... @@ -513,17 +513,12 @@
513 513  [[image:image-20221108180458-11.png||height="402" width="1137"]]
514 514  
515 515  
526 += (% style="color:inherit; font-family:inherit; font-size:29px" %)6. How users can access LG01(%%)v(% style="color:inherit; font-family:inherit; font-size:29px" %)2 using serial USB(%%) =
516 516  
517 -= 6. OTA System Update =
518 518  
529 +(% style="color:blue" %)**USB TTL to LG01v2  Connection:**
519 519  
520 -LG01v2 supports system auto update via OTA, please see **[[this URL>>url:http://wiki.dragino.com/xwiki/bin/view/OTA%20Update/]]** for the detail of this feature.
521 521  
522 -
523 -= 7. How users can access LG01v2 using serial USB =
524 -
525 -**USB TTL to LG01v2  Connection:**
526 -
527 527  Port 1 of the UART on the LG01v2 is GND
528 528  
529 529  (% class="box infomessage" %)
... ... @@ -535,17 +535,28 @@
535 535  **GND <~-~--> GND (Black line)**
536 536  )))
537 537  
543 +
538 538  **LG01v2 UART connection photo**
539 539  
540 -[[image:https://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20All%20Gateway%20models/HP0C/WebHome/image-20230421094319-2.png?width=392&height=351&rev=1.1||alt="image-20230421094319-2.png"]]
546 +[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20All%20Gateway%20models/HP0C/WebHome/image-20220804163015-1.png?width=466&height=621&rev=1.1||alt="image-20220804163015-1.png"]]
541 541  
542 -In the PC,you can use the serial port tool(such as [[putty>>url:http://www.chiark.greenend.org.uk/~~sgtatham/putty/download.html]] in Windows), you need to set the serial baud rate to (% style="color:blue" %)**115200**(%%) to access the serial console for LPS8v2. LPS8v2 will output system info once power on as below:
543 543  
544 -[[image:https://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20All%20Gateway%20models/HP0C/WebHome/image-20220804164928-3.png?width=332&height=320&rev=1.1||alt="image-20220804164928-3.png"]]
545 545  
546 -[[image:https://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20All%20Gateway%20models/HP0C/WebHome/image-20220804164747-2.png?width=594&height=622&rev=1.1||alt="image-20220804164747-2.png"]]
550 +In the PC, you can use the serial port tool(such as [[putty>>url:http://www.chiark.greenend.org.uk/~~sgtatham/putty/download.html]] in Windows), you need to set the serial baud rate to (% style="color:blue" %)**115200**(%%) to access the serial console for LG01v2. LG01v2 will output system info once power on as below:
547 547  
548 548  
553 +[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20All%20Gateway%20models/HP0C/WebHome/image-20220804164928-3.png?width=332&height=320&rev=1.1||alt="image-20220804164928-3.png"]]
554 +
555 +
556 +[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20All%20Gateway%20models/HP0C/WebHome/image-20220804164747-2.png?width=594&height=622&rev=1.1||alt="image-20220804164747-2.png"]]
557 +
558 +
559 += 7. OTA System Update =
560 +
561 +
562 +LG01v2 supports system auto update via OTA, please see **[[this URL>>url:http://wiki.dragino.com/xwiki/bin/view/OTA%20Update/]]** for the detail of this feature.
563 +
564 +
549 549  = 8. FAQ =
550 550  
551 551  == 8.1 How does LG01v2 communicate with Lora shield (LoRa.h) ==
... ... @@ -638,78 +638,6 @@
638 638  [[image:image-20221112163119-4.png||height="808" width="560"]]
639 639  
640 640  
641 -== 8.3 How does LG01v2 communicate with LoRaWAN node ==
642 -
643 -
644 -This example describes how to use LG01v2 and LSN50 to set up a  network,
645 -
646 -In this case, users need to set LSN50 to work in ABP mode and transmit in only one frequency.
647 -
648 -Assume we have a LG01v2 working in the frequency 868100000 now, below is the steps.
649 -
650 -
651 -**Step1: **Configure the LG01v2
652 -
653 -(% class="box infomessage" %)
654 -(((
655 -AT+FRE=868.100,868.100  ~-~--> TX and RX frequency set: 868100000
656 -AT+BW=0,0  ~-~--> TX and RX Bandwidth set: 125kHz
657 -AT+SF=12,12  ~-~--> TX and RX Spreading Factor set: SF12
658 -AT+SYNCWORD=1  ~-~-->  Syncword**(0: private,1: public), **the corresponding Lora shield syncword is 0x12
659 -)))
660 -
661 -**Step2:  **Run AT commands to make the LSN50 work in Single frequency and ABP mode.
662 -
663 -For more information on how to use AT commands in LSN50v2, please refer to this link: [[LSN50v2-S31-S31B Use AT Command>>http://wiki.dragino.com/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LSN50v2-S31-S31B%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20User%20Manual/#H4.A0UseATCommand]]
664 -
665 -Below are the AT commands:
666 -
667 -(% class="box infomessage" %)
668 -(((
669 -AT+FDR  ~-~--> Reset Parameters to Factory Default, Keys Reserve
670 -AT+NJM=0  ~-~-->  Set to ABP mode
671 -AT+ADR=0  ~-~-->  Set the Adaptive Data Rate Off
672 -AT+DR=0  ~-~--> Set Data Rate (Set AT+DR=3 for 915 band)
673 -AT+TDC=300000  ~-~-->  Set transmit interval to 5 minutes
674 -AT+CHS=868100000  ~-~--> Set transmit frequency to 868.1Mhz
675 -AT+DADDR=FFFFF111  ~-~--> Set Device Address to 26 01 1A F1
676 -ATZ  ~-~--> Reset MCU
677 -)))
678 -
679 -**Step3:  **Check result
680 -
681 -
682 -
683 -User can plot the temperature and humidity chat via LG01v2 built-in IoT server.
684 -
685 -User can import this example in Node-Red: [[attach:LG01v2_LSN50v2_S31.json||target="_blank"]]
686 -
687 -
688 -First the user needs to fill in the NwkSkey and AppSkey in the LoraWan Packet Decrypter node.
689 -
690 -[[image:image-20230620103535-2.png||height="591" width="1138"]]
691 -
692 -[[image:image-20230620103153-1.png||height="610" width="1141"]]
693 -
694 -
695 -The data will be displayed in the built-in node-red UI
696 -
697 -**Browser input: (% style="background-color:yellow" %)__//http:~/~/<local-IPV4-address>//__(%%)**
698 -
699 -[[image:image-20230620103923-3.png||height="476" width="1138"]]
700 -
701 -
702 -== 8.4 How can users factory reset LG01v2 ==
703 -
704 -
705 -Users can download the image of LG01v2 from this link:[[dragino-lg01v2-1.7-0210>>https://www.dropbox.com/scl/fi/g0si61lcrvdjyto4ma951/dragino-lg01v2-1.7-0210.zip?rlkey=t03oqo493r2p7ign488rs2jsv&dl=0]]
706 -
707 -
708 -Then follow the steps in the link below to restore factory Settings to LG01v2:
709 -
710 -[[How to flash a new image(OS) to the gateway>>url:https://wiki.dragino.com/xwiki/bin/view/Main/Armbian%20OS%20instruction/#H2.3A0Howtoflashanewimage28OS29tothegateway28LPS8V229]]
711 -
712 -
713 713  = 9. Trouble Shooting =
714 714  
715 715  == 9.1  Fallback IP does not work, how can users check ==
... ... @@ -752,6 +752,7 @@
752 752  
753 753  * [[Advance OS Reference Guide for L>>doc:Main.Armbian OS instruction.WebHome]]G01v2.
754 754  
699 +
755 755  
756 756  )))
757 757  
image-20231014092843-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Kilight
Size
... ... @@ -1,1 +1,0 @@
1 -596 bytes
Content
image-20231014092934-2.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Kilight
Size
... ... @@ -1,1 +1,0 @@
1 -620 bytes
Content
image-20231014092954-3.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Kilight
Size
... ... @@ -1,1 +1,0 @@
1 -618 bytes
Content
image-20231014092959-4.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Kilight
Size
... ... @@ -1,1 +1,0 @@
1 -563 bytes
Content
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0