1. บทนำ
This manual provides comprehensive instructions for the DORHEA ESP32 D1 Mini Development Board. This board is a compact and powerful solution for Internet of Things (IoT) projects, integrating Wi-Fi and Bluetooth capabilities. It is designed for developers and hobbyists to quickly prototype and deploy embedded applications.
2. สินค้าหมดview
The DORHEA ESP32 D1 Mini Development Board features the ESP32-WROOM-32 module, offering dual-core processing, integrated Wi-Fi (802.11b/n), and Bluetooth connectivity. It maintains the compact form factor of the WeMos D1 Mini series, making it compatible with a wide range of existing shields and accessories. The board includes a CP2104 USB-to-UART bridge for easy programming and serial communication.

Figure 2.1: DORHEA ESP32 D1 Mini Development Board with pin headers.
คุณสมบัติที่สำคัญ ได้แก่:
- Integrated ESP32-WROOM-32 module.
- Wi-Fi (802.11b/n) and Bluetooth (Classic and BLE) connectivity.
- Compact D1 Mini form factor.
- CP2104 USB-to-UART bridge for programming.
- Multiple GPIO pins for various applications.

รูปที่ 2.2: มุม view of the ESP32 D1 Mini board.
3. คำแนะนำในการตั้งค่า
Follow these steps to set up your DORHEA ESP32 D1 Mini Development Board:
3.1. การเชื่อมต่อฮาร์ดแวร์
- Attach Pin Headers: Solder the included pin headers to the board if you intend to use it with a breadboard or custom circuitry. Ensure correct orientation.
- เชื่อมต่อกับคอมพิวเตอร์: Use a Micro-USB cable to connect the ESP32 D1 Mini board to your computer. The board will draw power from the USB port.

Figure 3.1: Included pin headers.
3.2. การติดตั้งไดร์เวอร์
The board uses a CP2104 USB-to-UART bridge. Most modern operating systems will install the necessary drivers automatically. If not, you may need to download and install the CP2104 drivers from Silicon Labs' official webเว็บไซต์.
3.3. Software Setup (Arduino IDE)
The Arduino IDE is a popular choice for programming ESP32 boards:
- ติดตั้ง Arduino IDE: ดาวน์โหลดและติดตั้ง Arduino IDE เวอร์ชันล่าสุดจาก Arduino อย่างเป็นทางการ webเว็บไซต์.
- เพิ่มการรองรับบอร์ด ESP32:
- เปิด Arduino IDE ไปที่ File > การตั้งค่า.
- In the "Additional Board Manager URLช่อง "s" เพิ่ม:
https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json - ไปที่ Tools > Board > Board Manager.... ค้นหา ค้นหา "ESP32" และติดตั้งแพ็คเกจ "esp32 by Espressif Systems"
- เลือกบอร์ด: ไปที่ เครื่องมือ > บอร์ด > ESP32 Arduino and select "ESP32 Dev Module" or a similar generic ESP32 board.
- เลือกพอร์ต COM: ไปที่ เครื่องมือ > พอร์ต and select the COM port corresponding to your ESP32 board.

Figure 3.2: ESP32 D1 Mini Pinout Diagram.
4. คู่มือการใช้งาน
Once your development environment is set up, you can begin programming and operating your ESP32 D1 Mini board.
4.1. อัปโหลดภาพร่างแรกของคุณ
- Open an Exampเลอ: ใน Arduino IDE ไปที่ File > อดีตamples > 01.พื้นฐาน > กะพริบตา.
- รวบรวมและอัปโหลด: Click the "Upload" button (right arrow icon) in the Arduino IDE. The IDE will compile the code and upload it to your ESP32 board. During upload, you might need to press and hold the บู๊ท button on the board if the upload fails, then release it once the upload starts.
- สังเกต: The built-in LED on the board should start blinking, indicating successful operation.
4.2. Using Wi-Fi and Bluetooth
The ESP32's primary strength lies in its wireless capabilities. You can use the Arduino Wi-Fi and Bluetooth libraries to connect to networks, create access points, or communicate with other Bluetooth devices. Refer to the extensive online documentation and examples for specific implementations.
4.3. การใช้งานขา GPIO
The board provides numerous General Purpose Input/Output (GPIO) pins. These pins can be configured as digital inputs, digital outputs, analog inputs, or for various peripheral functions like I2C, SPI, UART, and PWM. Consult the pinout diagram (Figure 3.2) and ESP32 documentation for detailed pin functionalities.
5. การบำรุงรักษา
Proper maintenance ensures the longevity and reliable operation of your ESP32 D1 Mini board.
- รักษาความสะอาด: Regularly clean the board with a soft, dry brush to remove dust and debris. Avoid using liquids.
- การป้องกันแบบคงที่: Handle the board by its edges and avoid touching the components directly to prevent damage from electrostatic discharge (ESD). Store it in an anti-static bag when not in use.
- สภาพแวดล้อม : Operate and store the board in a dry environment, away from extreme temperatures, humidity, and direct sunlight.
- แหล่งจ่ายไฟ: Always use a stable 5V power supply via the Micro-USB port. Avoid over-voltagหรือการต่อขั้วแบบกลับด้าน
6 การแก้ไขปัญหา
ต่อไปนี้เป็นปัญหาทั่วไปและแนวทางแก้ไข:
- คอมพิวเตอร์ตรวจไม่พบแผงวงจร:
- Ensure the Micro-USB cable is fully inserted and functional.
- Verify CP2104 drivers are correctly installed (check Device Manager on Windows or
ls /dev/tty*on Linux/macOS). - ลองใช้พอร์ต USB หรือคอมพิวเตอร์อื่น
- Upload Errors (Failed to connect to ESP32):
- Make sure the correct COM port is selected in the Arduino IDE.
- กดปุ่มค้างไว้ บู๊ท button on the board, then click "Upload" in the IDE. Release the บู๊ท button once the upload process starts.
- Ensure the board is powered correctly.
- ปัญหาการเชื่อมต่อ Wi-Fi:
- Double-check Wi-Fi SSID and password in your code.
- Ensure the Wi-Fi network is 2.4 GHz, as ESP32 does not support 5 GHz Wi-Fi.
- Check the distance to the Wi-Fi router and potential interference.
- พฤติกรรมผิดปกติ/โปรแกรมหยุดทำงาน:
- Review your code for logical errors or memory issues.
- Ensure adequate power supply, especially when driving external components.
- Use the Serial Monitor in the Arduino IDE to view debug messages from your code.
For further assistance, consult online ESP32 communities and documentation resources.
7. ข้อมูลจำเพาะ
| คุณสมบัติ | ข้อมูลจำเพาะ |
|---|---|
| โปรเซสเซอร์ | Espressif ESP32, Dual-core 240 MHz |
| แรม | LPDDR3, 4 MB |
| ประเภทไร้สาย | 802.11b/n Wi-Fi, Bluetooth |
| การรองรับระบบปฏิบัติการ | ฟรีอาร์ทีโอเอส, ลินุกซ์ |
| การเชื่อมต่อ | Micro-USB (for power and data) |
| ขนาด (แพ็คเกจ) | 5.24 x 3.98 x 0.75 นิ้ว |
| น้ำหนักสินค้า | 2.22 ออนซ์ |
| ชื่อรุ่น | ESP32 D1 Mini |
| ผู้ผลิต | DORHEA |
8. การรับประกันและการสนับสนุน
DORHEA products are manufactured to high-quality standards. This product is covered by the standard manufacturer's warranty against defects in materials and workmanship. Please refer to your purchase documentation for specific warranty terms and duration.
For technical support, troubleshooting assistance beyond this manual, or warranty claims, please contact DORHEA customer service through the platform where the product was purchased. Provide your order number and a detailed description of the issue for prompt assistance.