An indoor light gateway based on raspberry pi 4b (25 pages)
Summary of Contents for EDA ED-GWL2110
Page 1
User Manual of ED-GWL2110 ED-GWL2110 AN OUTDOOR GATEWAY BASED ON RASPBERRY PI CM4 Shanghai EDA Technology Co.,Ltd 2023-03-23 EDA Technology Co.,LTD– Electronics Development Accelerator...
Page 2
Disclaimers Shanghai EDA Technology Co., Ltd does not guarantee that the information in this manual is up to date, correct, complete or of high quality. Shanghai EDA Technology Co., Ltd also does not guarantee the further use of this information.
Install LoRa Service and ChirpStack Client..............21 3.11.2 Configuring LoRa Service ..................... 22 3.11.3 Install ChirpStack Server ....................24 3.11.4 Adding LoRa Gateway and Terminal ................27 3.12 Encryption chip ......................... 30 OS Installation ............................. 30 Image Download ........................30 EDA Technology Co.,LTD– Electronics Development Accelerator...
Page 4
User Manual of ED-GWL2110 System Flash ........................... 30 FAQ ..............................31 5.1.1 Default Username and Password ................. 31 About Us ............................. 31 About EDATEC ........................31 Contact Us ..........................31 EDA Technology Co.,LTD– Electronics Development Accelerator...
User Manual of ED-GWL2110 1 Product Overview ED-GWL2110 is an outdoor gateway. The whole machine is sealed with all-aluminum alloy outer box, which has good waterproof, moisture-proof, insect-proof and lightning-proof performance. It is designed based on CM4. It has SATA interface specially used for LoRa module, and supports LoRa modules with different frequency bands (external antennas with different frequency bands are required);...
On-board encryption chip Power input POE power supply 40V~57V Dimensions 195(L) x 195(W) x 65(H) mm Case Cast aluminum waterproof shell, IP24 waterproof grade. Working -25 ~ 60° C environment temperature environment temperature 1.3 System Diagram EDA Technology Co.,LTD– Electronics Development Accelerator...
1. Install the WiFi external antenna. 2. Install LoRa external antenna. 3. Install the GPS external antenna and place it outdoors. 4.Insert the network cable into the Ethernet port, and the network cable is connected with network EDA Technology Co.,LTD– Electronics Development Accelerator...
User Manual of ED-GWL2110 devices such as routers and switches that can access the Internet. 5.Plug in the DC power input port (+12V DC) of ED-GWL2110 and supply power to the power adapter. 2.3 First Start ED-GWL2110 has no power switch. Plug in the power cord and the system will start.
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: EDA Technology Co.,LTD– Electronics Development Accelerator...
3 Software Operation Guide 3.1 Button ED-GWL2110 has a user-defined button. On the back of GWL2110 PCBA, it is connected to the GPIO23 pin of CPU, which is high by default and low when the button is pressed. We use the raspi-gpio command to test, and query the GPIO23 pin when the key is not pressed.
21 op dl 3.3 Ethernet Configuration ED-GWL2110 has an adaptive 10/100/1000 Mbsp Ethernet interface. The official system of Raspberry Pi uses dhcpcd as the network management tool by default. Static IP can be set by modifying/etc/dhcpcd.conf. For example, eth0 can be set, and users can set wlan0 and other network interfaces according to their different needs.
OK. This prompt only appears when setting up WIFI for the first time. 4. Please enter SSID,input WIFI SSID name。 5. Please enter passphrase. Leave it empty if none,input password and then restart the device。 3.6 Bluetooth EDA Technology Co.,LTD– Electronics Development Accelerator...
User Manual of ED-GWL2110 ED-GWL2110 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 ArchLinux- Wiki-Bluetooth guide to configure and use Bluetooth.
6. Mount the storage device at the mount point you created: sudo mount /dev/sda1 /mnt/mydisk 7. Verify that the storage device has been successfully mounted by listing the following: ls /mnt/mydisk tip:No-Desktop system will not automatically mount external storage devices. EDA Technology Co.,LTD– Electronics Development Accelerator...
Because button cell is installed, although the equipment is powered off, RTC is still working to time. In this way, we can ensure that our time is accurate and reliable. WARN:If it is the first time to boot, because there is no effective time in RTC, synchronization EDA Technology Co.,LTD– Electronics Development Accelerator...
NTP network time protocol, you need to connect to the Internet to synchronize the time automatically, and you need to open the port (UDP, 123), otherwise the synchronization will fail. 3.9 Watch Dog ED-GWL2110 is equipped with watchdog module to prevent the system from being stuck. Watchdog logic table GPIOx...
/boot/config.txt dtoverlay=ed-gwl2100-wdt 3.10 GPS ED-GWL2110 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. 3.10.1 Pin Configuration The WakeUp signal of L76K GPS module is connected to GPIO4. If the pin module is pulled down, it will enter standby mode, and if it is pulled up or suspended, it will return to continuous mode.
Ser2net configuration file is/etc/ser2net.yaml. By default, /dev/ttyS0 is configured, baud rate is 9600, and there is no check, and the corresponding TCP port is 2000. connection: &con0096 accepter: tcp,2000 enable: on options: banner: *banner kickolduser: true telnet-brk-on-sync: true connector: serialdev, /dev/ttyS0, EDA Technology Co.,LTD– Electronics Development Accelerator...
Page 20
If you are prompted that the MSVCR120.dll file is missing, please install vcredist_x86.exe. 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...
If the weather conditions are bad, it may take longer or it may not be possible to locate it. 3.11 LoRaWAN ED-GWL2110 supports LoRaWAN open source service platform ChirpStack. Please refer to the following steps for installation and configuration. 3.11.1 Install LoRa Service and ChirpStack Client.
Modify /etc/modules,add i2c-dev at the end i2c-dev ED-GWL2110 use i2c-1 and spidev0.0。 3.11.2 Configuring LoRa Service 3.11.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 23
JSON encoding (easier for debugging, but less compact than 'protobuf') marshaler="protobuf" # MQTT integration configuration. [integration.mqtt] # Event topic template. event_topic_template="eu868/gateway/{{ .GatewayID }}/event/{{ .EventType }}" # Command topic template. command_topic_template="eu868/gateway/{{ .GatewayID }}/command/#" # MQTT authentication. EDA Technology Co.,LTD– Electronics Development Accelerator...
After modify chirpstack-gateway-bridge.toml config,need restart chirpstack-gateway-bridge service. 3.11.2.3 Reboot $ sudo reboot 3.11.3 Install ChirpStack Server To configure a cloud server, docker needs to be installed on the server before configuration. Install docker:https://docs.docker.com/get-docker/ Install docker-compose sudo apt install docker-compose EDA Technology Co.,LTD– Electronics Development Accelerator...
Page 26
Enter the server's IP address and port number 8080 in the PC browser, and the login interface will appear when the network is normal. The default administrator user name and password are as follows: EDA Technology Co.,LTD– Electronics Development Accelerator...
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. 3.11.4.3 Add Device Profile Click device profile-> add device profile to further improve the device information. EDA Technology Co.,LTD– Electronics Development Accelerator...
Page 28
User Manual of ED-GWL2110 3.11.4.4 Add Application Click Applications -> Add application EDA Technology Co.,LTD– Electronics Development Accelerator...
Page 29
3.11.4.5 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...
- Debian version: 11 (bullseye) - Downloads: https://1drv.ms/u/s!Au060HUAtEYBgQG59MKsXapwhB5B?e=mGLFx5 4.2 System Flash ED-GWL2110 uses CM4 Lite version by default, and starts the system through SD card. The system burning of ED-GWL501 means burning SD card. Download and install Raspberry Pi Imager balenaEtcher mirror writing tool.
Page 31
Click Burn, wait for burn and verification to be completed, and pop up the card reader device. Open the top cover of the ED-GWL2110 device and insert the micro SD card with burned image into the corresponding card slot.
Need help?
Do you have a question about the ED-GWL2110 and is the answer not in the manual?
Questions and answers