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.
- منافذ إيثرنت جيجابت مزدوجة: 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 من النوع 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.
- منفذ كارت الذاكرة الصغيرة: 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).
- ميناء من النوع 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).
- SYSTEM Switch: 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.
- تنظيف: استخدم قطعة قماش ناعمة وجافة لتنظيف اللوح. تجنب السوائل أو المنظفات الكاشطة.
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 2.0 Type-A |
| رأس 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 × 68.0 ملم (2.17 × 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.
ويفشير الرسمي Webموقع: www.waveshare.com





