Dragino LG01v2 User Manual

Lora gateway
Hide thumbs Also See for LG01v2:

Advertisement

Quick Links

LG01v2 -- LoRa Gateway User Manual
last modified by Kilight Cao
on 2023/06/20 10:40

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the LG01v2 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Dragino LG01v2

  • Page 1 LG01v2 -- LoRa Gateway User Manual last modified by Kilight Cao on 2023/06/20 10:40...
  • Page 2: Table Of Contents

    1. Introduction ..................................4 1.1 What is LG01v2 ................................4 5.2.5 Plot data chart in LG01v2 ............................ 28 6. How users can access LG01v2 using serial USB ....................... 30 7. OTA System Update ............................... 33 8. FAQ ....................................33 8.1 How does LG01v2 communicate with Lora shield (LoRa.h) .................. 33 8.2 How does LG01v2 communicate with Heltec LoRa Node ..................
  • Page 3 2.1.1 Find IP address of LG01-v2 • Method 1:  Connect via Ethernet with DHCP IP from the router • Method 2:  Connect via LG01v2 Fallback IP • Method 3:  Connect via WiFi with DHCP IP from the router • 2.1.2 Access Configure Web UI...
  • Page 4: Introduction

    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. LG01v2 uses Open Source Linux system. User can modify the Linux part and develop customize software base on 1.2Ghz Quad-Core CPU...
  • Page 5 1.2 Specifications Hardware System: • CPU: Quad-core Cortex-A7 1.2Ghz • RAM: 512MB • eMMC: 4GB Interface: • 10M/100M RJ45 Ports x 1 • WiFi 802.11 b/g/n Operating Condition: • Work Temperature: -20 ~ 65°C • Storage Temperature: -20 ~ 65°C •...
  • Page 6 find what IP address the router has assigned to the LG01-V2. You can also use this IP to connect. Method 2:  Connect via LG01v2 Fallback IP Steps to connect via fallback IP: 1. Connect the PC's Ethernet port to LG01v2's WAN port...
  • Page 7 As in the below photo: Configure computer Ethernet port steps video: fallback ip.mp4 If you still can't access the LG01v2 fallback ip, follow this connection to debug : Trouble Shooting 3. In the PC, use IP address 172.31.255.254 to access the LG01v2 via Web or Console.
  • Page 8 Method 3:  Connect via WiFi with DHCP IP from the router Fill in the WiFi information by checking the box and clicking Save&Apply...
  • Page 9 Wi-Fi configuration successful 2.1.2 Access Configure Web UI Web Interface Open a browser on the PC and type the LG01v2 ip address (depends on your connect method) http://IP_ADDRESS  or http://172.31.255.254(Fallback IP)
  • Page 10 You will see the login interface of LG01v2 as shown below. The account details for Web Login are: User Name: root Password:   dragino 3. Web Configure Pages 3.1 Home Shows the system running status:...
  • Page 11 3.2 Network Settings 3.2.1 Network --> WiFi 3.4.2 Network --> System Status...
  • Page 12 3.5 System 3.5.1  System --> System Overview Shows the system info:...
  • Page 13 3.5.2 System --> Backup/Restore...
  • Page 14 3.5.3 System --> System General In the System-> System General interface, Users can customize the configuration System Password and set Timezone. In addition, Users can customize the FallBack IP address. 3.5.4 System --> Remoteit In the System-> Remoteit interface, users can configure the gateway to be accessed remotely via Remote.it. the users can refer to this link to configure them: Monitor &...
  • Page 15 3.5.5 System --> Package Management In the System --> Package Management interface, Users can check the current version of Core Packages.
  • Page 17                 For the Node-Red, you can use the local IP address and the port is 1880 to access it. 4.1 Application Server -- Node-Red 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. Such as http://dragino-54ff12:1880  or http://<Local-IPV4-Address>...
  • Page 18 5. How to configure the Lora Gateway 5.1 Configure and Debug LoRa wireless of LG01v2 First, the user needs to access the Linux console of LG01v2 via ssh IP address:     IP address of LG01v2 Port:               22 User Name:   root Password:      dragino(default)
  • Page 19 Users can access the Lora configuration page by running the following command, then select the option ''serial port setup": root@dragino-2406ef:~# minicom -s And then, change the setting: Serial Device : /dev/ttyUSB0 Bps/Par/Bits : 9600 8N1 Note: Enter the corresponding letter to change the configuration, like A,B,C...
  • Page 20 AT+CR=1,1                                          --->  TX and RX Coding Rate AT+IQ=0,0                                           --->  TX and RX InvertIQ AT+PREAMBLE=8,8                            --->  TX and RX Preamble Length AT+SYNCWORD=0                             --->  Syncword(0: private,1: public) AT+RXMOD=65535,0                         --->  Rx Timeout and Reply mode AT+RXDAFORM=1                                5.2 Example: LG01v2 5.2.1 Introduce for the example:...
  • Page 21 • LA66 Shield + UNO + DHT11: The UNO will get the temperature and humidity and broadcast the value via LoRa protocol. • 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.
  • Page 22 1. Open Arduino IDE...
  • Page 23 2. Open project Users can download Arduino files from this link: Log-Temperature-Sensor-and-send-data-to-Node-red.ino Then click Compile and Upload to LA66 Shield, ...
  • Page 24 3. Open the Serial Monitor to check the LA66 Shield data The UNO will now reads the temperature and humidity data from the sensor and broadcast it via LoRa wireless,...
  • Page 25 Sending out data as below.
  • Page 26 5.2.3 Set Up LG01v2 Configure LG01v2 LoRa channel parameters so it can get data from LA66 Shield LG01v2 as Receiver: (configured as AT+RXMOD=65535,2) LG01-V2 configuration: AT+FRE=868.100,868.100                    ---> TX and RX frequency set: 868100000 AT+BW=0,0                                          ---> TX and RX Bandwidth set: 125kHz AT+SF=12,12                                        ---> TX and RX Spreading Factor set: SF12 AT+POWER=14 ...
  • Page 27 After the above configuration is complete, users can send test simulation data to check whether the configuration is correct, In LA66 sheild serial console send:(AT+SEND=1,hello world,2,3). When LG01v2 replies with ACK when it receives a packet sent by LA66 sheild. In the real-time log of LG01v2:...
  • Page 28: Plot Data Chart In Lg01V2

    5.2.5 Plot data chart in LG01v2 User can plot the temperature and humidity chat via LG01v2 built-in IoT server. User can import this example in Node-Red: Log-Temperature-Sensor-and-send-data-to-Node-red.json...
  • Page 29 The temperature and humidity chart is displayed in the built-in node-red UI Browser input: http://<local-IPV4-address>...
  • Page 30: How Users Can Access Lg01V2 Using Serial Usb

    6. How users can access LG01 2 using serial USB USB TTL to LG01v2  Connection: Port 1 of the UART on the LG01v2 is GND TXD  <---> UART RXD (Gray line) RXD  <---> UART TXD (White line) GND <---> GND (Black line)
  • Page 31 In the PC, you can use the serial port tool(such as putty in Windows), you need to set the serial baud rate to 115200 to access the serial console for LG01v2. LG01v2 will output system info once power on as below:...
  • Page 33: Ota System Update

    LG01v2 supports system auto update via OTA, please see this URL for the detail of this feature. 8. FAQ 8.1 How does LG01v2 communicate with Lora shield (LoRa.h) This example describes how to use LG01v2, LoRa Shield to set up a LoRa network,...
  • Page 34 Prerequisites: The configurations of LG01v2 and Lora shield must match LG01v2 configuration: AT+FRE=868.100,868.100                    ---> TX and RX frequency set: 868100000 AT+BW=0,0                                          ---> TX and RX Bandwidth set: 125kHz AT+SF=12,12                                        ---> TX and RX Spreading Factor set: SF12 AT+POWER=14                                    ---> TX Power Range AT+CRC=1,1                                         ---> TX and RX CRC Type AT+HEADER=0,0 ...
  • Page 35 Test LG01v2 to receive Lora Shield data:...
  • Page 36: How Does Lg01V2 Communicate With Heltec Lora Node

    Test the LG01v2 to send data: 8.2 How does LG01v2 communicate with Heltec LoRa Node This example describes how to use LG01v2 and Heltec LoRa Node to set up a LoRa network,...
  • Page 37 Prerequisites: The configurations of LG01v2 and Lora shield must match LG01v2 configuration: AT+FRE=868.100,868.100                    ---> TX and RX frequency set: 868100000 AT+BW=0,0                                          ---> TX and RX Bandwidth set: 125kHz AT+SF=12,12                                        ---> TX and RX Spreading Factor set: SF12 AT+POWER=14                                    ---> TX Power Range AT+CRC=1,1                                         ---> TX and RX CRC Type AT+HEADER=0,0 ...
  • Page 38 And we can see the logread of gateway as below, means the packet arrive gateway:...
  • Page 39: How Does Lg01V2 Communicate With Lorawan Node

    8.3 How does LG01v2 communicate with LoRaWAN node...
  • Page 40 This example describes how to use LG01v2 and LSN50 to set up a  network, In this case, users need to set LSN50 to work in ABP mode and transmit in only one frequency. Assume we have a LG01v2 working in the frequency 868100000 now, below is the steps. Step1: Configure the LG01v2 AT+FRE=868.100,868.100 ...
  • Page 42 The data will be displayed in the built-in node-red UI Browser input: http://<local-IPV4-address>...
  • Page 43: Trouble Shooting

    9. Trouble Shooting 9.1  Fallback IP does not work, how can users check When the computer has completed the above fallback IP configuration,the LG01v2 Web UI is still not accessible via fallback IP. 1.Check whether the configuration is correct Run the CMD command to ipconfig and ping 172.31.255.254.
  • Page 44: Supports

    If the firewall is not down, this will affect access to the gateway. 10. Supports If you are experiencing issues and can't solve them, you can send mail to support@dragino.com. With your question as detailed as possible. We will reply and help you in the shortest.
  • Page 45: Order Info

    11. Reference • Install Tago Core: Refer Install Tago Core in LG01v2 in Instruction. • Advance OS Reference Guide for LG01v2.   12. Order Info LG01v2-XXX-YYY XXX: Frequency Band • 868: For frequency : 863 ~ 870Mhz • 915: For frequency : 902 ~ 928Mhz YYY: 4G Cellular Option •...
  • Page 46  ...

This manual is also suitable for:

Lg01v2-915

Table of Contents