DORHEA ESP32-WROOM-32E

DORHEA ESP32 WiFi 4 Channel Relay Module Instruction Manual

Model: ESP32-WROOM-32E

1. สินค้าหมดview

The DORHEA ESP32 WiFi 4 Channel Relay Module is a versatile development board designed for smart home and wireless control applications. It integrates the robust ESP32-WROOM-32E module, offering WiFi connectivity and a large 4MByte Flash memory. The module features four independent 5V relays, capable of switching various loads. It supports flexible power input options, including AC220V and DC5-30V, and is compatible with the Arduino IDE for easy programming and development.

ด้านหน้าและด้านหลัง view of the DORHEA ESP32 WiFi 4 Channel Relay Module

รูปที่ 1: ด้านหน้าและด้านหลัง view of the ESP32 WiFi 4 Channel Relay Module.

2. คุณสมบัติ

  • Integrated ESP32-WROOM-32E WiFi module with 4MByte Flash.
  • Flexible power supply: Supports AC220V or DC5-30V input.
  • Four 5V relays with output switch signals, suitable for controlling loads up to AC250V/DC30V.
  • Includes an RST reset button and a programmable button for user interaction.
  • I/O ports and UART program download port are exposed for secondary development.
  • Features 1 programmable LED and individual relay indicator LEDs.
ภาพระยะใกล้ views of the ESP32 module, relays, power supply section, and PCB traces

รูปที่ 2: รายละเอียด views of key components on the module, including the ESP32 chip, relays, and power input section.

3. เนื้อหาบรรจุภัณฑ์

แพ็คเกจประกอบด้วยรายการต่อไปนี้:

  • 1 x AC/DC Power Supply ESP32 Four-Way Relay Module
  • 2 x 10 Double Row Pin Headers
  • 1 x 6 Single Row Pin Header
  • 1 x Single Line Cap
DORHEA ESP32 WiFi 4 Channel Relay Module with included pin headers

Figure 3: The ESP32 relay module along with the included pin headers for connectivity.

4. คำแนะนำในการตั้งค่า

Follow these steps to set up your ESP32 WiFi 4 Channel Relay Module:

4.1. Component Identification and Pinout

Before connecting, familiarize yourself with the module's components and pin assignments. Refer to the diagram below for a clear understanding of each terminal and indicator.

Labeled diagram of the ESP32 WiFi 4 Channel Relay Module showing power supply, relay connections, LEDs, and buttons

Figure 4: Labeled diagram of the module's connections and features.

  • AC 220V Power Supply: Connect your AC 220V power source here.
  • DC 7-30V Power Supply: Connect your DC 7-30V power source here.
  • จีเอ็นดี: Ground connection for DC power.
  • แหล่งจ่ายไฟ 5V: 5V output for external components.
  • Relay Indicator Light: LEDs that illuminate when the corresponding relay is active.
  • ไฟแสดงสถานะเพาเวอร์: Indicates the module is powered on.
  • Programmable LED: A user-controllable LED.
  • ESP-32E: The main ESP32-WROOM-32E module.
  • ปุ่มรีเซ็ต: รีเซ็ตโมดูล ESP32
  • Relay Connections (NO, COM, NC): Each of the four relays has Normally Open (NO), Common (COM), and Normally Closed (NC) terminals for connecting loads.

4.2. การเชื่อมต่อพาวเวอร์ซัพพลาย

Choose one of the following power supply methods:

  • ไฟฟ้ากระแสสลับ: Connect AC 220V to the designated AC 220V terminals (L and N).
  • ไฟฟ้ากระแสตรง: Connect DC 7-30V to the DC 7-30V terminals, ensuring correct polarity (positive to VCC, negative to GND).

Caution: Ensure only one power source is connected at a time. Incorrect wiring can damage the module or connected devices.

4.3. Connecting Loads to Relays

Each relay provides three terminals: Normally Open (NO), Common (COM), and Normally Closed (NC). To control a load:

  • For a load that should be ปิด when the relay is inactive and ON when active, connect one side of the load to the คอม terminal and the other side to the เลขที่ เทอร์มินัล.
  • For a load that should be ON when the relay is inactive and ปิด when active, connect one side of the load to the คอม terminal and the other side to the NC เทอร์มินัล.

Warning: Always ensure the load's voltage and current ratings are within the relay's specifications (AC250V/DC30V, 10A) to prevent damage or hazards.

4.4. การเขียนโปรแกรมโมดูล

The module can be programmed using the Arduino IDE. You will need a USB to TTL adapter to connect the module's UART program download port to your computer. The GPIO pins for the relays and programmable LED are as follows:

  • รีเลย์ 1: GPIO32
  • รีเลย์ 2: GPIO33
  • รีเลย์ 3: GPIO25
  • รีเลย์ 4: GPIO26
  • Programmable LED: GPIO23

After initial programming via UART, Over-The-Air (OTA) updates can be configured for wireless code uploads.

วิดีโอ 1: จบแล้วview of an AC/DC power supply ESP32 development board, demonstrating its programmable features. This video is provided by Aceirmc US.

5. คู่มือการใช้งาน

Once programmed, the ESP32 module will execute the uploaded code to control the relays and other functionalities. The relay indicator lights will show the current state of each relay (ON/OFF).

  • การควบคุมแบบไร้สาย: Utilize the ESP32's WiFi capabilities to integrate the module into your smart home network. This allows for remote control of connected devices via a smartphone app, web interface, or home automation platform.
  • ควบคุมด้วยมือ: The programmable button can be configured in your code to trigger specific actions, such as toggling a relay or changing modes.

6. การบำรุงรักษา

To ensure the longevity and reliable operation of your module, follow these maintenance guidelines:

  • ให้แห้ง: Protect the module from moisture and humidity to prevent short circuits and corrosion.
  • ความสะอาด : รักษาพื้นผิวให้ปราศจากฝุ่นและสิ่งสกปรก ใช้แปรงขนนุ่มแห้งหรือลมเป่าทำความสะอาด หลีกเลี่ยงการใช้น้ำยาทำความสะอาดชนิดเหลว
  • อุณหภูมิ: ใช้งานโมดูลภายในช่วงอุณหภูมิที่กำหนด หลีกเลี่ยงความร้อนหรือความเย็นจัด
  • จัดการด้วยความระมัดระวัง: Avoid dropping or subjecting the module to physical shock. When handling, minimize contact with electronic components to prevent electrostatic discharge.

7 การแก้ไขปัญหา

หากคุณพบปัญหาเกี่ยวกับโมดูล โปรดลองทำตามขั้นตอนการแก้ไขปัญหาต่อไปนี้:

  • ไม่มีไฟแสดงสถานะ:
    • ตรวจสอบให้แน่ใจว่าได้ต่อแหล่งจ่ายไฟอย่างถูกต้องและจ่ายแรงดันไฟฟ้าตามที่กำหนดtage (AC220V or DC5-30V).
    • ตรวจสอบการเชื่อมต่อที่หลวมหรือสายไฟชำรุดเสียหาย
  • Relay Not Switching:
    • Ensure your code is correctly configured to activate the desired GPIO pin for the relay (GPIO32, GPIO33, GPIO25, GPIO26).
    • Check the load connections (NO, COM, NC) for proper wiring.
    • Verify the load's power requirements are within the relay's capacity.
  • ปัญหาการเชื่อมต่อ WiFi:
    • Confirm the WiFi credentials (SSID and password) in your ESP32 code are correct.
    • Ensure the module is within range of your WiFi network.
    • Check for any firewall or router settings that might be blocking the connection.
  • Programming Upload Failure:
    • Ensure the correct board and port are selected in the Arduino IDE.
    • Verify the USB to TTL adapter is functioning correctly and its drivers are installed.
    • Check the wiring between the module's UART port and the USB to TTL adapter.

8. ข้อมูลจำเพาะ

แบบอย่างESP32-WROOM-32E
พาวเวอร์ซัพพลายฉบับที่tageAC220V / DC5-30V
ช่องสัญญาณรีเลย์4
ประเภทรีเลย์5V รีเลย์
Relay Load CapacityAC250V/DC30V @ 10A
หน่วยความจำแฟลช4MByte
การเชื่อมต่อไวไฟ
ขนาด93 มม. (3.66 นิ้ว) x 87 มม. (3.42 นิ้ว)
น้ำหนักสินค้า0.48 ออนซ์
ผู้ผลิตDORHEA
วันที่พร้อมใช้งานครั้งแรกวันที่ 23 สิงหาคม 2024
DORHEA ESP32 WiFi 4 Channel Relay Module with dimensions labeled

Figure 5: Module dimensions for planning and integration.

9. การรับประกันและการสนับสนุน

DORHEA products are designed for reliability and performance. For any technical assistance or inquiries regarding your ESP32 WiFi 4 Channel Relay Module, please refer to the seller's support channels on the platform of purchase. Keep your purchase receipt for warranty claims, if applicable.

© 2024 DORHEA. All rights reserved.

Ask a question about this manual

Ask about setup, troubleshooting, compatibility, parts, safety, or missing instructions. Manuals+ will review the question and use this page’s manual context to help answer it.