5 Configuring System
This chapter introduces how to configure system.
5.1 Finding Device IP
5.2 Remote Login
5.3 Configuring Storage Devices
5.4 Configuring Ethernet IP
5.5 Configuring Wi-Fi (Optional)
5.6 Configuring Bluetooth (Optional)
5.7 Configuring Buzzer
Buzzer controlled by GPIO6.
- Turn on the buzzer:
raspi-gpio set 6 op dh
- Turn off the buzzer:
raspi-gpio set 6 op dl
5.8 Configuring RTC
5.9 Configuring Serial Port
This chapter introduces the configuration method of RS232 and RS485.
5.9.1 Installing picocom tool
In the Linux environment, you can use the picocom tool to debug the serial ports RS232 and RS485.
Execute the following command to install the picocom tool.
sudo apt-get install picocom
5.9.2 Configuring RS232
ED-IPC2400 includes 1~3 RS232 ports with their corresponding COM ports and device files as follows:
ED-IPC2410
| Number of RS232 Ports | Corresponding COM Port | Corresponding Device File |
|---|---|---|
| 1 | COM1 | /dev/com1 |
ED-IPC2420
| Number of RS232 Ports | Corresponding COM Port | Corresponding Device File |
|---|---|---|
| 2 | COM1, COM5 | /dev/com1, /dev/com5 |
ED-IPC2430
| Number of RS232 Ports | Corresponding COM Port | Corresponding Device File |
|---|---|---|
| 3 | COM1, COM3, COM5 | /dev/com1, /dev/com3, /dev/com5 |
Preparation:
The RS232 port of ED-IPC2400 has been connected with external device.
Steps:
- Execute the following command to open the serial port com1, and configure the serial port baud rate to 115200.
picocom -b 115200 /dev/com1
- Input commands as needed to control external device.
5.9.3 Configuring RS485
ED-IPC2400 includes 4 RS485 ports, and the corresponding COM ports and device files are as follows:
ED-IPC2410
| Number of RS485 Ports | Corresponding COM Port | Corresponding Device File |
|---|---|---|
| 4 | COM2, COM3, COM4, COM5 | /dev/com2, /dev/com3, /dev/com4, /dev/com5 |
ED-IPC2420
| Number of RS485 Ports | Corresponding COM Port | Corresponding Device File |
|---|---|---|
| 3 | COM2, COM3, COM4 | /dev/com2, /dev/com3, /dev/com4 |
ED-IPC2430
| Number of RS485 Ports | Corresponding COM Port | Corresponding Device File |
|---|---|---|
| 2 | COM2, COM4 | /dev/com2, /dev/com4 |
Preparation:
The RS485 port of ED-IPC2400 has been connected with external devices.
Steps:
- Execute the following command to open the serial port com2, and configure the serial port baud rate to 115200.
picocom -b 115200 /dev/com2
- Input commands as needed to control external devices.
5.10 Configuring USER Indicator
USER indicator controlled by GPIO10.
- Light up the USER indicator:
raspi-gpio set 10 op dl
- Turn off the USER indicator:
raspi-gpio set 10 op dh
