1. Introduction
This document provides detailed information about the ED-HMI3630-101C device, a human-machine interface based on the Raspberry Pi CM5.
1.1 Product Specifications
Feature | Options |
---|---|
RAM | 2GB, 4GB, 8GB, 16GB |
eMMC | 16GB, 32GB, 64GB |
Supported Interfaces: HDMI, USB, Ethernet, RS232, RS485, DIO, CAN, Wi-Fi, 4G, RTC, Watch Dog, EEPROM.
1.2 Package Contents
- 1 x ED-HMI3630-101C unit
- 1 x 10.1-inch LCD Display (1280x800 resolution)
- 1 x Power Adapter (12V/2A)
- Mounting screws
1.3 Hardware Interfaces
1.3.1 Display and Video Output
HDMI: 1 x HDMI Type A connector, supporting HDMI 2.0 standard for 4K resolution at 60Hz.
1.3.2 USB Ports
USB 2.0: 2 x USB 2.0 Type A ports, supporting up to 480Mbps data transfer.
1.3.3 Network Interfaces
Gigabit Ethernet: 1 x RJ45 connector (10/100/1000M) with LED indicators.
Fast Ethernet: 1 x RJ45 connector (10/100M) with LED indicators.
1.3.4 Wireless Connectivity
Wi-Fi/Bluetooth: 1 x SMA connector for Wi-Fi and Bluetooth antenna.
4G Cellular: 1 x SMA connector for 4G antenna.
1.3.5 Storage and Programming
Micro USB: 1 x Micro USB port for eMMC programming.
Micro SD: 1 x Micro SD card slot.
1.3.6 Digital I/O (DIO)
Digital Outputs (DO): 8 x DO channels via a 10-Pin 3.5mm connector. Each channel supports 5-30 VDC and up to 1.5A. Features 5kV isolation.
Digital Inputs (DI): 8 x DI channels via a 10-Pin 3.5mm connector. Supports NPN/PNP input, 5-30 VDC. Features 5kV isolation.
1.3.7 Communication Interfaces
CAN Bus: 2 x CAN interfaces via 6-Pin 3.5mm connectors. Supports CAN 2.0B protocol. Pinout: CANB0H, CANB1H, CANB0L, CANB1L, GND. Includes 120 Ohm termination.
RS485/RS232: Multiple serial ports available. Pinout for RS485: IGND/A/B. Pinout for RS232: IGND/TX/RX. Available via 6-Pin 3.5mm connectors. Specific configurations vary by model (e.g., ED-HMI3632-101C, ED-HMI3633-101C, ED-HMI3634-101C).
RS485 Pinout Details (Example):
Pin ID | Pin Name |
---|---|
1 | RS485-2_B |
2 | RS485-4_B |
3 | RS485-2_A |
4 | RS485-4_A |
5 | GND |
RS232 Pinout Details (Example):
Pin ID | Pin Name |
---|---|
6 | RS232-1_RX |
7 | RS485-1_B |
8 | RS232-3_RX |
9 | RS485-3_B |
10 | RS232-1_TX |
11 | RS485-1_A |
12 | RS232-3_TX |
13 | RS485-3_A |
14 | GND |
CM4 GPIO Mapping:
CM4 GPIO Name | Signal | CM4 Pin Out |
---|---|---|
GPIO13 | UART5_RXD | RS485-2_B |
GPIO9 | UART4_RXD | RS485-4_B |
GPIO12 | UART5_TXD | RS485-2_A |
GPIO8 | UART4_TXD | RS485-4_A |
GPIO5 | UART3_RXD | RS232-1_RX |
GPIO1 | UART2_RXD | RS485-1_B |
GPIO4 | UART3_TXD | RS232-3_RX |
GPIO0 | UART2_TXD | RS485-1_A |
RS232-1_TX | ||
RS485-3_B | ||
RS232-3_TX | ||
RS485-3_A | ||
GND | GND | |
GND | GND |
1.3.8 Power Input
DC Power: 1 x DC 2-Pin 3.5mm connector. Supports input voltage from 9V to 36V.
1.3.9 Audio Output
Speaker: Supports a 3W speaker via a 3.5mm audio jack (OMTP standard).
1.4 LEDs and Buttons
LED Indicators:
- PWR: Power indicator.
- ACT: Activity indicator (often linked to storage or system activity).
- USER: User-definable LED.
- 4G: 4G module status indicator.
RESET Button: A physical button to reset the device.
1.5 Interface Connectors Summary
Detailed pinouts for various connectors are provided below:
1.5.1 Micro SD and Nano SIM
Micro SD: For storage expansion.
Nano SIM: For 4G cellular connectivity.
1.5.2 DC Power Input
Connector: 2-Pin 3.5mm.
Pin ID | Pin Name |
---|---|
1 | GND |
2 | 9V~36V |
1.5.3 Audio Output
Connector: 3.5mm audio jack (OMTP standard).
1.5.4 Speaker Output
Specifications: Supports a 3W speaker.
1.5.5 RS485/RS232 Ports
The device supports multiple RS485 and RS232 ports, with configurations varying by model:
- ED-HMI3630-101C: 2 x RS485, 2 x RS232
- ED-HMI3632-101C: 2 x RS485, 2 x RS232
- ED-HMI3633-101C: 3 x RS485, 1 x RS232
- ED-HMI3634-101C: 4 x RS485, 1 x RS232
Connector Type: 3.5mm, 6-Pin.
RS485 Pinout: IGND / A / B
RS232 Pinout: IGND / TX / RX
Detailed Pinout (example for 6-pin connector):
Pin ID | Pin Name | Signal | CM4 GPIO Name |
---|---|---|---|
1 | RS485-2_B | UART5_RXD | GPIO13 |
2 | RS485-4_B | UART4_RXD | GPIO9 |
3 | RS485-2_A | UART5_TXD | GPIO12 |
4 | RS485-4_A | UART4_TXD | GPIO8 |
5 | GND | ||
6 | RS232-1_RX | UART3_RXD | GPIO5 |
7 | RS485-1_B | UART2_RXD | GPIO1 |
8 | RS232-3_RX | GPIO4 | |
9 | RS485-3_B | ||
10 | RS232-1_TX | UART3_TXD | GPIO5 |
11 | RS485-1_A | UART2_TXD | GPIO0 |
12 | RS232-3_TX | GPIO4 | |
13 | RS485-3_A | ||
14 | GND |
RS485 Termination: 120 Ohm termination resistors are supported.
1.5.6 Digital Input (DI)
Connector: 10-Pin 3.5mm.
Channels: 8 x DI (X0-X7) with COM reference.
Pin ID | Pin Name |
---|---|
1 | X0 |
2 | X1 |
3 | X2 |
4 | X3 |
5 | X4 |
6 | X5 |
7 | X6 |
8 | X7 |
9 | COM (for X0-X7) |
10 | COM (for X0-X7) |
Input Type: Supports NPN and PNP configurations. Input voltage range: 5-30 VDC. Isolation: 5kV.
1.5.7 Digital Output (DO)
Connector: 10-Pin 3.5mm.
Channels: 8 x DO (Y0-Y7) with COM reference.
Pin ID | Pin Name |
---|---|
1 | Y0 |
2 | Y1 |
3 | Y2 |
4 | Y3 |
5 | Y4 |
6 | Y5 |
7 | Y6 |
8 | Y7 |
9 | COM (for Y0-Y7) |
10 | COM (for Y0-Y7) |
Output Specifications: Supports 5-30 VDC, 1.5A per channel. Isolation: 5kV.
1.5.8 CAN Bus Interfaces
Connector: 6-Pin 3.5mm.
Channels: 2 x CAN interfaces (CANB0, CANB1).
Pin ID | Pin Name |
---|---|
1 | CANB0H |
2 | CANB1H |
3 | CANB0L |
4 | CANB1L |
5 | GND |
6 | GND |
1.5.9 Gigabit Ethernet
Connector: RJ45 (10/100/1000M).
Pin ID | Pin Name |
---|---|
1 | TX1+ |
2 | TX1- |
3 | TX2+ |
4 | TX2- |
5 | TX3+ |
6 | TX3- |
7 | TX4+ |
8 | TX4- |
1.5.10 Fast Ethernet
Connector: RJ45 (10/100M).
Pin ID | Pin Name |
---|---|
1 | Tx+ |
2 | Tx- |
3 | Rx+ |
4 | Rx- |
5 | |
6 | |
7 | |
8 |
1.5.11 HDMI
Connector: 1 x HDMI Type A, supporting 4Kp60.
1.5.12 USB 2.0
Connector: 2 x USB 2.0 Type A, 480Mbps.
1.5.13 Micro USB
Connector: 1 x Micro USB for eMMC programming.
1.5.14 Antenna Connectors
Connectors: 2 x SMA connectors for 4G and Wi-Fi/BT antennas.
2. Initial Setup and Connectivity
2.1 Wireless and Cellular
The device supports 4G and Wi-Fi connectivity. Ensure antennas are properly connected.
2.2 Storage Media
Use the Micro SD card slot for system storage or data logging.
2.3 SIM Card Installation
Insert a Nano SIM card into the dedicated slot for 4G connectivity.
3. Mounting and Enclosure
The ED-HMI3630-101C is designed for integration. Mounting typically involves M4 screws.
Mounting Screw Specifications: M4*10 or M4*16 screws are recommended.
Installation Steps:
- Prepare the mounting location.
- Align the ED-HMI3630-101C unit with the mounting holes.
- Secure the unit using M4*10 or M4*16 screws.
- Connect necessary peripherals and power.
4. System and Software Configuration
4.1 Display Connection
Connect the 10.1-inch LCD display via the appropriate interface (refer to Section 1.6).
4.2 Operating System Installation
The ED-HMI3630-101C is compatible with Raspberry Pi OS.
4.2.1 Raspberry Pi OS (Desktop)
A full desktop environment for interactive use.
4.2.2 Raspberry Pi OS (Lite)
A minimal version without a graphical desktop, suitable for headless operation.
OS Images: Downloadable from the Raspberry Pi website.
5. Advanced Configuration and Usage
5.1 Network Configuration
Configure IP settings, Wi-Fi, and 4G connections through the operating system.
5.2 Buzzer and RTC
The device includes a buzzer for audio alerts and an RTC (Real-Time Clock) for timekeeping.
5.3 Serial Port Communication (RS232/RS485)
Tool: The picocom
utility is recommended for serial communication on Linux.
Installation:
sudo apt-get install picocom
5.3.1 RS232 Usage
Serial ports are typically mapped as /dev/com1
, /dev/com3
, etc., depending on the specific model and configuration.
Example Command:
picocom -b 115200 /dev/com1
5.3.2 RS485 Usage
Serial ports are typically mapped as /dev/com2
, /dev/com4
, etc.
Example Command:
picocom -b 115200 /dev/com4
5.4 Digital Input (DI) Usage
Tool: The gpiod
utility can be used to interact with digital inputs.
Installation:
sudo apt update
sudo apt install gpiod
Reading DI0:
gpiofind DI0 | awk '{print substr($0,9)}' | xargs -i bash -c "gpioget {}"
5.5 Digital Output (DO) Usage
Tool: The gpiod
utility can be used to control digital outputs.
Installation:
sudo apt update
sudo apt install gpiod
Setting DO0 to HIGH (1):
gpiofind DO0 | awk '{print substr($0,9)}' | xargs -i bash -c "gpioset {}=1"
Setting DO0 to LOW (0):
gpiofind DO0 | awk '{print substr($0,9)}' | xargs -i bash -c "gpioset {}=0"
5.6 CAN Bus Usage
Tool: The can-utils
package is required for CAN bus operations.
Installation:
sudo apt update
sudo apt install can-utils
Configuration:
sudo ip link set canb0 type can bitrate 1000000
sudo ip link set canb0 up
Monitoring CAN Traffic:
candump canb0
Sending CAN Messages:
cansend canb0 123#1122334455667788
6. Firmware and OS Installation
6.1 Raspberry Pi OS Installation
Compatible OS images include:
- Raspberry Pi OS (Desktop) 64-bit (bookworm, Debian 12)
- Raspberry Pi OS (Lite) 64-bit (bookworm, Debian 12)
- Raspberry Pi OS (Desktop) 32-bit (bookworm, Debian 12)
- Raspberry Pi OS (Lite) 32-bit (bookworm, Debian 12)
Download links for OS images are available from the official Raspberry Pi downloads page.
6.2 eMMC Firmware Flashing
To flash the operating system to the eMMC, use tools like Raspberry Pi Imager, SD Card Formatter, and Rpiboot.
Steps:
- Connect the ED-HMI3630-101C to a Windows PC using a Micro USB cable.
- Ensure the device is powered on.
- Run the
rpiboot_setup.exe
installer if Rpiboot is not already installed. - Execute the
rpi-mass-storage-gadget64.bat
script. This will make the device appear as a mass storage device to the PC. - Use SD Card Formatter to format the detected storage device.
- Use Raspberry Pi Imager, select "Use custom" and choose the downloaded OS image file.
- Select the mass storage device corresponding to the ED-HMI3630-101C.
- Click "WRITE" to begin the flashing process.
- Once complete, disconnect the USB cable and power cycle the device.
6.3 EDA Technology Firmware
Install specific EDA Technology firmware and drivers for the ED-HMI3630-101C on Raspberry Pi OS (bookworm).
Installation Command:
curl -s https://apt.edatec.cn/bsp/ed-install.sh | sudo bash -s hmi3630_101c
After installation, verify firmware packages using:
dpkg -l | grep ed-
To remove firmware packages, use:
sudo apt-get --purge remove <package_name>