1. Initial Driver Installation 1.1 Install Ethernet Port Driver The Ethernet port labeled “LAN” on EG500 was bridged from PCIe by Realtek network chipset, you may need install the Ethernet port driver to run it up. $ cd ~ $ sudo apt-get update...
$ chmod +x install.sh $ sudo ./install.sh 2. Serial Port (RS232 and RS485) 2.1 PIN Definition and Wiring Description RS232 transmit line RS232 receive line Ground (Reference potential) RS485 difference line high RS485 difference line low ELASTEL TECHNOLOGY CO., LTD. WWW.ELASTEL.COM...
There are two individual serial ports in the system. The /dev/ttyACM1 for RS232 port, and /dev/ttyACM0 for RS485 port. Use RS232 as an example. $ python >>> import serial >>> ser=serial.Serial('/devttyACM1',115200,timeout=1) >>> ser.isOpen() true >>> ser.write('1234567890') ELASTEL TECHNOLOGY CO., LTD. WWW.ELASTEL.COM...
3.1 PIN Definition and Wiring Interfaces PIN Level of active PIN of GPIO from BCM2711 HIGH GPIO4 HIGH GPIO17 HIGH GPIO18 HIGH GPIO27 HIGH GPIO23 HIGH GPIO24 HIGH GPIO22 HIGH GPIO20 HIGH GPIO13 HIGH GPIO12 HIGH GPIO16 HIGH GPIO19 ELASTEL TECHNOLOGY CO., LTD. WWW.ELASTEL.COM...
#GPIO22 which is user of DO0 $ cd gpio22 $ echo out > direction $ echo 1 > value # turn on the DO0, HIGH active $ echo 0 > value # turn off the DO0 ELASTEL TECHNOLOGY CO., LTD. WWW.ELASTEL.COM...
Page 8
Another way is using the Elastel prebuilt commands read_di, read_do, write_do to control the interfaces. Examples as below: $ sudo read_di read_di <0|1|2|3|4|5>, eg: read_di 1 $ sudo read_di 0 DI0 = 0 $ sudo read_do read_do <0|1|2|3|4|5>, eg: read_do 1...
Voltage type analog input channel 1 - VI2+ Voltage type analog input channel 2 + VI2- Voltage type analog input channel 2 - Current type analog input channel 0 Current type analog input channel 1 Current type analog input channel 2 ELASTEL TECHNOLOGY CO., LTD. WWW.ELASTEL.COM...
WiFi status indicator LED 8 Alarm indicator 5.2 Programming Use the Elastel prebuilt command led_ctl to control the LEDs. Examples as below: $ led_ctl led_ctl -m < system | wifi | alarm | online | sig > -s <on | off |none | low | high>...
#enable root account privileges $ cd /sys/class/gpio $ echo 5 > export #GPIO5 which is reset signal $ cd gpio5 $ echo out > direction $ echo 1 > value # release the reset signal of Mini PCIe ELASTEL TECHNOLOGY CO., LTD. WWW.ELASTEL.COM...
Page 13
3.610498] usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB3 $ ifconfig -a …… wwan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 169.254.58.161 netmask 255.255.0.0 broadcast 169.254.255.255 inet6 fe80::9e8a:5252:d4c8:15cb prefixlen 64 scopeid 0x20<link> ether c6:00:46:68:12:80 txqueuelen 1000 (Ethernet) RX packets 0 bytes 0 (0.0 B) ELASTEL TECHNOLOGY CO., LTD. WWW.ELASTEL.COM...
8. LoRaWAN Module over Mini-PCIe 2 8.1 Module Installation EG500 reserved another mini-PCIe socket for LoRaWAN module which develop from Semtech SX1301, SX1302 solution. Users are allowed to install a LoRaWAN module into mini-PCIe socket 2 as drawing blue area add-on module position, only one M2x5 screw is needed.
You are allowed to mount SX-NEWAH by yourself. Attention! You may need special weld tool and skill to mount SX-NEWAH on EG500 by yourself. Incorrect operation may destroy the carrier board and SX-NEWAH.
9.2 Driver Installation $ cd ~ $ git clone https://github.com/Elastel/halow-wifi.git $ cd halow-wifi $ sudo chmod +x install.sh $ sudo ./install.sh $ sudo reboot 9.3 How to Start in AP Mode ⚫ Sample command to start in AP mode ① sudo insmod /lib/modules/$(uname -r)/nrc.ko fw_name=nrc7292_cspi.bin bd_name =nrc7292_bd.dat hifspeed=16000000...
8. Get Into WDT-FEED mode, at least one pulse should be feed into WDI in at least every 2 seconds, if not, the WDT module should output a negative pulse to reset the system. 9. Go to 2. ELASTEL TECHNOLOGY CO., LTD. WWW.ELASTEL.COM...
Below example describe the process of setting up a Bluetooth connectivity. 1. Execute bluetoothctl command to operate Bluetooth feature. $ sudo bluetoothctl 2. Enable the agent on to scan and discovery other Bluetooth devices. [bluetooth]# agent on [bluetooth]# scan on ELASTEL TECHNOLOGY CO., LTD. WWW.ELASTEL.COM...
Page 25
4. The fist time pair, it will connect with it immediately. If the connectivity disconnected since Bluetooth device out of range, we need use “connect” command to reconnect it. connect [XX:XX:XX:XX:XX:XX] 5. Use “trust” command to make the Bluetooth device be trusted after first time pair. trust [XX:XX:XX:XX:XX:XX] -END- ELASTEL TECHNOLOGY CO., LTD. WWW.ELASTEL.COM...
Need help?
Do you have a question about the EG500 and is the answer not in the manual?
Questions and answers