EDA ED-GWL501 User Manual

EDA ED-GWL501 User Manual

An indoor light gateway based on raspberry pi zero 2 w

Advertisement

Quick Links

User Manual of ED-GWL501
ED-GWL501
AN INDOOR LIGHT GATEWAY BASED ON RASPBERRY PI ZERO 2 W
DESIGN
Shanghai EDA Technology Co.,Ltd
2023-02-03
EDA Technology Co.,LTD– Electronics Development Accelerator

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ED-GWL501 and is the answer not in the manual?

Questions and answers

Summary of Contents for EDA ED-GWL501

  • Page 1 User Manual of ED-GWL501 ED-GWL501 AN INDOOR LIGHT GATEWAY BASED ON RASPBERRY PI ZERO 2 W DESIGN Shanghai EDA Technology Co.,Ltd 2023-02-03 EDA Technology Co.,LTD– Electronics Development Accelerator...
  • Page 2 Shanghai EDA Technology Co., the liability claim for Shanghai EDA Technology Co., Ltd can be exempted. Shanghai EDA Technology Co., Ltd expressly reserves the right to modify or supplement the contents or part of this hardware manual without special notice.
  • Page 3: Table Of Contents

    Operating System Installation ......................25 Image Download ........................25 System flash ..........................26 FAQ ..............................26 6.1.1 Default Username and Password ................. 26 About Us ............................. 26 About EDATEC ........................26 Contact Us ..........................26 EDA Technology Co.,LTD– Electronics Development Accelerator...
  • Page 4: Product Overview

    User Manual of ED-GWL501 1 Product Overview ED-GWL501 is an indoor light gateway designed based on Raspberry Pi Zero 2 W. This product uses the LoRa gateway module of the new generation SX1302 and SX1303 baseband chips, which has the characteristics of long transmission distance, large node capacity and high receiving sensitivity.
  • Page 5: System Diagram

    APT. Software resources Provide example guidance for LoRaWAN networks such as ChipStack. Dimensions 105(L) x 90(W) x 25(H) mm Certification CE / FCC Support online updating BSP 1.3 System Diagram 1.4 Functional Layout EDA Technology Co.,LTD– Electronics Development Accelerator...
  • Page 6: Packing List

    LoRa antenna IPX connector LoRa mini-PCIe port CSI port IPX connector of GPS antenna Micro USB Power supply port 1.5 Packing List  1x ED-GWL501 host  [option] WiFi/BT antenna  [option 4G version] 1x 4G/LTE antenna EDA Technology Co.,LTD– Electronics Development Accelerator...
  • Page 7: Order Code

    4. Insert the network cable into the Ethernet port, and the network cable is connected with network devices such as routers and switches that can access the Internet. 5. Plug in the DC power input port (+12V DC) of ED-GWL501 and supply power to the power adapter. EDA Technology Co.,LTD– Electronics Development Accelerator...
  • Page 8: First Start

    User Manual of ED-GWL501 2.3 First Start ED-GWL501 has no power switch. Plug in the power cord and the system will start. 2.3.1 Raspberry Pi OS (Lite) If you use the system image provided by us, after the system starts, you will automatically log in with the user name pi, and the default password is raspberry.
  • Page 9: Use Ssh

    If there is no display screen, you can download the nmap tool to scan the IP under the current network. Nmap supports Linux, macOS, Windows and other platforms. If you want to use nmap to scan the network segments from 192.168.3.0 to 255, you can use the following command: nmap -sn 192.168.3.0/24 EDA Technology Co.,LTD– Electronics Development Accelerator...
  • Page 10: Wiring Guide

    3.1 Internal I/O 3.1.1 micro-SD Card ED-GWL501 is internally integrated with Raspberry Pi Zero 2 W, which has a micro SD card slot. Please insert the micro SD card of the burned system face up into the micro SD card slot.
  • Page 11: Led Indication

    GPIO 23: level=0 fsel=0 func=INPUT level of 0 indicates that the GPIO23 pin is low. 4.2 LED Indication ED-GWL501 has an RGB three-color LED indicator. Corresponding to the GPIO pin of CPU is as follows RGB LED PIN GPIO Blue...
  • Page 12: Ethernet Configuration

    5. Please enter passphrase. Leave it empty if none,input password, then restart. 4.5 Bluetooth ED-GWL501 supports Bluetooth 4.2 and Bluetooth Low Power Consumption (BLE), and the Bluetooth function is turned on by default. Bluetoothctl can be used to scan, pair and connect Bluetooth devices. Please refer to the...
  • Page 13: Usage

    Find the name of the turned-on Bluetooth device, where the name of the turned-on Bluetooth device is test. devices Device 6A:7F:60:69:8B:79 6A-7F-60-69-8B-79 Device 67:64:5A:A3:2C:A2 67-64-5A-A3-2C-A2 Device 56:6A:59:B0:1C:D1 Lefun Device 34:12:F9:91:FF:68 test Pair device pair 34:12:F9:91:FF:68 Attempting to pair with 34:12:F9:91:FF:68 EDA Technology Co.,LTD– Electronics Development Accelerator...
  • Page 14: Gps

    Changing 34:12:F9:91:FF:68 trust succeeded 4.6 GPS The ED-GWL501 gateway integrates L76K GPS module, which is connected with UART0 serial port of CPU. The module reports GNSS information through NMEA 0183 general protocol output statement. 4.6.1 Modify config.txt To Enable Serial Port sudo nano /boot/config.txt...
  • Page 15: Use The U-Center Tool To View The Positioning Information

    0 :::2000 :::* LISTEN 720/ser2net If not, restart the ser2net service. sudo systemctl restart ser2net Download and install the u-center tool. If you are prompted that the MSVCR120.dll file is missing, please install vcredist_x86.exe. EDA Technology Co.,LTD– Electronics Development Accelerator...
  • Page 16 User Manual of ED-GWL501 Open u-center,Choose Receiver->Port->Network connection->New… Enter your device IP and port number 2000. You will see the GPS positioning information immediately after the configuration is completed. EDA Technology Co.,LTD– Electronics Development Accelerator...
  • Page 17: Lorawan

    If the weather conditions are bad, it may take longer or it may not be possible to locate it. 4.7 LoRaWAN ED-GWL501 supports LoRaWAN open source service platform ChipStack, please refer to the following steps for installation and configuration. 4.7.1 Install LoRa Service And ChirpStack Client We install it by APT.
  • Page 18: Configuring Lora Service

    [all] dtparam=i2c_arm=on dtparam=spi=on gpio=16=op,dl gpio=20=op,dl gpio=21=op,dl Modify /etc/modules and add i2c-dev at the end. i2c-dev ED-GWL501 use i2c-1 and spidev0.0。 4.7.2 Configuring LoRa Service 4.7.2.1 Pktfwd Config # update region $ cat /etc/ed_gwl/region EU868 # EU868 / US915 pktfwd use 1700 as UDP port $ sudo systemctl restart ed-pktfwd.service...
  • Page 19 # Generic MQTT authentication. [integration.mqtt.auth.generic] # MQTT server (e.g. scheme://host:port where scheme is tcp, ssl or ws) server="tcp://127.0.0.1:1883" # Connect with the given username (optional) username="" # Connect with the given password (optional) password="" EDA Technology Co.,LTD– Electronics Development Accelerator...
  • Page 20: Install Chirpstack Server

    $ cd chirpstack-docker $ nano docker-compose.yml # Remove the chirpstack-gateway-bridge, because we run the bridge on gateway. Delete the red font part. $ nano docker-compose.yml version: "3" services: chirpstack: image: chirpstack/chirpstack:4 command: -c /etc/chirpstack restart: unless-stopped EDA Technology Co.,LTD– Electronics Development Accelerator...
  • Page 21 - mosquitto chirpstack-rest-api: image: chirpstack/chirpstack-rest-api:4 restart: unless-stopped command: --server chirpstack:8080 --bind 0.0.0.0:8090 --insecure ports: - 8090:8090 depends_on: - chirpstack postgres: image: postgres:14-alpine restart: unless-stopped volumes: - ./configuration/postgresql/initdb:/docker-entrypoint-initdb.d - postgresqldata:/var/lib/postgresql/data environment: - POSTGRES_PASSWORD=root redis: image: redis:7-alpine EDA Technology Co.,LTD– Electronics Development Accelerator...
  • Page 22: Adding Lora Gateway And Terminal

    Open chirpstack management interface in PC browser, click Gateway -> Add gateway, fill in the Gateway ID corresponding to the device, set the Name, and then click Submit. If the network connection is correct, wait a moment to see that the added gateway becomes Online. EDA Technology Co.,LTD– Electronics Development Accelerator...
  • Page 23 User Manual of ED-GWL501 4.7.4.3 Add Device Profile Click device profile-> add device profile to further improve the device information. 4.7.4.4 Add Application Click Applications -> Add application EDA Technology Co.,LTD– Electronics Development Accelerator...
  • Page 24 Add Device You should know the DevEUI and AppKey of LoRa terminal products, which are provided by LoRa terminal equipment manufacturers. Click Application -> your application -> Add device to add LoRa terminal device EDA Technology Co.,LTD– Electronics Development Accelerator...
  • Page 25: Operating System Installation

    We have provided the factory image. If the system is restored to factory settings, please click the following link to download the factory image. Raspberry Pi OS Lite, 32-bit - Release date: 2023-02-09 - System: 32-bit EDA Technology Co.,LTD– Electronics Development Accelerator...
  • Page 26: System Flash

     Click Burn, wait for burn and verification to be completed, and pop up the card reader device.  Open the top cover of ED-GWL501 equipment and insert the micro SD card with burned image into the card slot. ...
  • Page 27 User Manual of ED-GWL501 Website – https://www.edatec.cn Address – Room 301, Building 24, No.1661 Jialuo Highway, Jiading District, Shanghai EDA Technology Co.,LTD– Electronics Development Accelerator...

Table of Contents