1. บทนำและเรื่องอื่นๆview
The Waveshare CM4-DUAL-ETH-MINI is a compact and practical baseboard designed for use with the Raspberry Pi Compute Module 4 (CM4). This board is engineered to provide dual Gigabit Ethernet capabilities, making it ideal for applications requiring multiple network interfaces, such as soft routing, network gateways, or industrial control systems.
It is suitable for evaluating the Raspberry Pi CM4 and for integration into various end products, offering a robust and neat solution for expanding the CM4's connectivity.

รูปที่ 1: เกินview of the CM4-DUAL-ETH-MINI Base Board, highlighting its compact design and dual Ethernet ports.
2. คุณสมบัติหลัก
The CM4-DUAL-ETH-MINI baseboard offers a comprehensive set of features to enhance the functionality of your Raspberry Pi Compute Module 4:
- CM4 Socket: Compatible with all variants of the Raspberry Pi Compute Module 4.
- พอร์ต Gigabit Ethernet คู่: Two RJ45 connectors supporting 10/100/1000M networking, powered by an RTL8111H Gigabit NIC chip. ETH0 serves as the CM4 original network port, and ETH1 as a PCIe extended network port.
- พอร์ต USB 2.0 Type-A: A single USB 2.0 port for connecting peripheral devices.
- 40PIN GPIO Header: Standard Raspberry Pi 40-pin interface for connecting various HATs and expansion modules.
- ช่องเสียบการ์ด Micro SD: For Compute Module 4 Lite (without eMMC) variants, allowing for OS storage.
- Fan Header: A 4-wire SH1.0 port for connecting a cooling fan, supporting speed adjustment and measurement (5V fans only).
- พอร์ต Type-C: Functions as a 5V/2.5A power supply input and a USB interface for eMMC programming.
- ปุ่มรีเซ็ต: For convenient system reset.
- BOOT Switch: Allows switching between booting from the USB-C interface (ON position) or from eMMC/Micro SD card (OFF position).
- สวิตช์ระบบ: Includes options for EEPROM write protection (EEPROM_WP), disabling Wi-Fi (WIFI_DIS), and disabling Bluetooth (BT_DIS) for CM4 versions with wireless capabilities.

Figure 2: Detailed diagram illustrating the various interfaces and components on the CM4-DUAL-ETH-MINI board.

รูปที่ 3: จากบนลงล่าง view of the board with numbered components and their descriptions.
3. การตั้งค่าและการติดตั้ง
Follow these steps to properly set up and install your Waveshare CM4-DUAL-ETH-MINI baseboard with a Raspberry Pi Compute Module 4.
3.1 Connecting the Compute Module 4
- Ensure the CM4-DUAL-ETH-MINI baseboard is powered off and disconnected from any power source.
- Carefully align your Raspberry Pi Compute Module 4 with the CM4 Socket on the baseboard. Ensure the connectors are correctly oriented.
- Gently press the CM4 into the socket until it is securely seated. Do not force the module.

Figure 4: Illustration of connecting a Raspberry Pi Compute Module 4 to the base board.
3.2 แหล่งจ่ายไฟ
The CM4-DUAL-ETH-MINI requires a 5V DC power supply via its Type-C interface. For normal operation of the CM4, a 5V/2A power supply is recommended. Insufficient power may lead to issues such as automatic shutdowns or frequency reduction.
When using the Type-C interface to program the CM4's eMMC, ensure no other devices are connected to the baseboard to guarantee stable power delivery during the programming process.
3.3 USB 2.0 Port Activation
By default, the USB 2.0 port is disabled. To enable it, you need to modify the config.txt file on your Raspberry Pi OS. Add the following line to config.txt:
dtoverlay=dwc2,dr_mode=host
3.4 การเชื่อมต่อพัดลม
If you plan to use a cooling fan, connect it to the 4-wire SH1.0 fan header. สำคัญ: Only 5V fans are supported. Confirm your fan's voltage before connecting to prevent damage.
4. คู่มือการใช้งาน
Once the Compute Module 4 is securely installed and the baseboard is powered, the system will boot according to the BOOT switch setting (eMMC/Micro SD or USB-C for programming). The dual Gigabit Ethernet ports allow for flexible network configurations, such as setting up a router, firewall, or network bridge.
For specific software configurations, refer to the official Raspberry Pi documentation and relevant open-source projects (e.g., OpenWRT for router applications).

รูปที่ 5: ตัวอย่างample application showing the CM4-DUAL-ETH-MINI with network cables connected, demonstrating its use in a network setup.
5. การบำรุงรักษาและความปลอดภัย
To ensure the longevity and proper functioning of your CM4-DUAL-ETH-MINI baseboard, observe the following guidelines:
- Power Off Before Connecting/Disconnecting: Always power off the device before plugging or unplugging any components, especially the Compute Module 4 or any non-USB peripherals.
- สภาพแวดล้อม : Operate the board in a clean, dry environment, away from extreme temperatures, humidity, and direct sunlight.
- จัดการด้วยความระมัดระวัง: Avoid static discharge by handling the board by its edges. Do not apply excessive force to connectors or components.
- การทำความสะอาด: Use a soft, dry cloth to clean the board. Avoid liquids or abrasive cleaners.
6 การแก้ไขปัญหา
หัวข้อนี้จะกล่าวถึงปัญหาทั่วไปที่คุณอาจพบเจอ:
- System Shuts Down or Reduces Frequency:
สาเหตุ: Insufficient power supply to the Compute Module 4.
สารละลาย: Ensure you are using a stable 5V/2A power supply connected to the Type-C port. Avoid connecting other high-power devices to the baseboard when the CM4 is in operation.
- USB 2.0 Port Not Functioning:
สาเหตุ: The USB 2.0 port is disabled by default.
สารละลาย: Refer to Section 3.3 "USB 2.0 Port Activation" and add the necessary line to your
config.txtfile. - พัดลมไม่หมุน:
สาเหตุ: Incorrect fan voltage or improper connection.
สารละลาย: Verify that your fan is a 5V model. Check the connection to the 4-wire SH1.0 fan header for proper alignment and secure fit.
- Unable to Program CM4 eMMC via Type-C:
สาเหตุ: Other devices drawing power, or BOOT switch in incorrect position.
สารละลาย: Disconnect all other peripherals from the baseboard. Ensure the BOOT switch is set to the "ON" position (boot from USB-C interface) before attempting to program.
7. ข้อมูลจำเพาะ
| คุณสมบัติ | คำอธิบาย |
|---|---|
| ชื่อรุ่น | CM4-DUAL-ETH-MINI |
| ยี่ห้อ | เวฟแชร์ |
| โมดูลที่เข้ากันได้ | Raspberry Pi Compute Module 4 (all variants) |
| การสร้างเครือข่าย | Dual Gigabit Ethernet RJ45 connectors (10/100/1000M) |
| พอร์ต USB | 1x USB 2.0 Type-A Port |
| ส่วนหัว GPIO | Standard Raspberry Pi 40PIN GPIO header |
| พื้นที่จัดเก็บ | Micro SD card slot (for CM4 Lite variants) |
| ส่วนหัวของพัดลม | 4-wire SH1.0 port, 5V only, supports speed adjustment and measurement |
| กำลังไฟเข้า | 5V DC via Type-C interface (5V/2A recommended for CM4) |
| ขนาด | 55.0 x 68.0 มม. (2.17 x 2.68 นิ้ว) |
| น้ำหนักสินค้า | 1.58 ออนซ์ |
| ผู้ผลิต | เวฟแชร์ |
| ASIN | B0B9WDSSKW |
| ระบบปฏิบัติการ | Raspberry Pi OS (when paired with CM4) |

Figure 6: Outline dimensions of the CM4-DUAL-ETH-MINI base board in millimeters.
8. การรับประกันและการสนับสนุน
For detailed technical documentation, user guides, and support resources, please visit the official Waveshare website. An online user manual is available, which should be consulted for comprehensive information and updates.
Waveshare provides a wiki with detailed documentation, including technical drawings and setup guides, to assist users with their products.
For warranty information, please refer to the terms and conditions provided at the time of purchase or contact Waveshare customer support directly.
Waveshare Official Webเว็บไซต์: www.waveshare.com





