Changes for page LG01v2 -- LoRa Gateway User Manual
Last modified by Kilight Cao on 2024/10/12 08:58
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -55,8 +55,6 @@ 55 55 * Storage Temperature: -20 ~~ 65°C 56 56 * Power Input: 5V, 2A, DC 57 57 58 - 59 - 60 60 == 1.3 Features == 61 61 62 62 ... ... @@ -67,8 +67,6 @@ 67 67 * LoRa Gateway 68 68 * Built-in (% style="color:#037691" %)//**Node-Red**// (%%)local Application server 69 69 70 - 71 - 72 72 == 1.4 Block Diagram == 73 73 74 74 ... ... @@ -380,8 +380,6 @@ 380 380 * **LA66 Shield + UNO + DHT11**: The UNO will get the temperature and humidity and broadcast the value via LoRa protocol. 381 381 * **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. 382 382 383 - 384 - 385 385 === 5.2.2 Set Up LA66 Shield + UNO === 386 386 387 387 ... ... @@ -654,6 +654,62 @@ 654 654 [[image:image-20221112163119-4.png||height="808" width="560"]] 655 655 656 656 651 +== 8.3 How does LG01v2 communicate with LoRaWAN node == 652 + 653 + 654 +This example describes how to use LG01v2 and LSN50 to set up a network, 655 + 656 +In this case, users need to set LSN50 to work in ABP mode and transmit in only one frequency. 657 + 658 +Assume we have a LG01v2 working in the frequency 868100000 now, below is the steps. 659 + 660 + 661 +**Step1: **Configure the LG01v2 662 + 663 +(% class="box infomessage" %) 664 +((( 665 +AT+FRE=868.100,868.100 ~-~--> TX and RX frequency set: 868100000 666 +AT+BW=0,0 ~-~--> TX and RX Bandwidth set: 125kHz 667 +AT+SF=12,12 ~-~--> TX and RX Spreading Factor set: SF12 668 +AT+SYNCWORD=1 ~-~--> Syncword**(0: private,1: public), **the corresponding Lora shield syncword is 0x12 669 +))) 670 + 671 +**Step2: **Run AT commands to make the LSN50 work in Single frequency and ABP mode. Below are the AT commands: 672 + 673 +(% class="box infomessage" %) 674 +((( 675 +AT+FDR ~-~--> Reset Parameters to Factory Default, Keys Reserve 676 +AT+NJM=0 ~-~--> Set to ABP mode 677 +AT+ADR=0 ~-~--> Set the Adaptive Data Rate Off 678 +AT+DR=0 ~-~--> Set Data Rate (Set AT+DR=3 for 915 band) 679 +AT+TDC=300000 ~-~--> Set transmit interval to 5 minutes 680 +AT+CHS=868100000 ~-~--> Set transmit frequency to 868.1Mhz 681 +AT+DADDR=FFFFF111 ~-~--> Set Device Address to 26 01 1A F1 682 +ATZ ~-~--> Reset MCU 683 +))) 684 + 685 +**Step3: **Check result 686 + 687 + 688 + 689 +User can plot the temperature and humidity chat via LG01v2 built-in IoT server. 690 + 691 +User can import this example in Node-Red: [[attach:LG01v2_LSN50v2_S31.json||target="_blank"]] 692 + 693 + 694 +First the user needs to fill in the NwkSkey and AppSkey in the LoraWan Packet Decrypter node. 695 + 696 +[[image:image-20230620103535-2.png||height="591" width="1138"]] 697 + 698 +[[image:image-20230620103153-1.png||height="610" width="1141"]] 699 + 700 + 701 +The data will be displayed in the built-in node-red UI 702 + 703 +**Browser input: (% style="background-color:yellow" %)__//http:~/~/<local-IPV4-address>//__(%%)** 704 + 705 +[[image:image-20230620103923-3.png||height="476" width="1138"]] 706 + 657 657 = 9. Trouble Shooting = 658 658 659 659 == 9.1 Fallback IP does not work, how can users check == ... ... @@ -696,7 +696,6 @@ 696 696 697 697 * [[Advance OS Reference Guide for L>>doc:Main.Armbian OS instruction.WebHome]]G01v2. 698 698 699 - 700 700 701 701 ))) 702 702