DIYables ESP32 Relay Module User Manual

DIYables-LOGO

DIYables ESP32 Relay Module

DIYables-ESP32-Relay-Module-PRODUCT

Features

  1. Optional 4-channel or 8-channel relay configuration for flexible adaptation to diverse scenarios.
  2. Integrated CH340 chip enables one-click programming via Type-C interface.
  3. Opto-isolated input/output ensures robust interference resistance and stable operation.
  4. Supports Modbus protocol for compatibility with industrial automation systems.
  5. Integrated RS485 and USART interfaces deliver strong expandability and simplified networking.

Specifications

  • Configuration: 4-channel, 8-channel (selectable)
  • Power Supply: DC 9-24V / Type-C power supply
  • Module: ESP32 with Wi-Fi + Bluetooth
  • Type-C Port: Power supply and programming
  • EN Reset Button: Press to reset
  • BOOT Button: Press and hold, then press the Reset button to enter download mode
  • Optocoupler Input: Controls relays
  • Serial Chip: Integrated CH340 (supports one-click programming)
  • Integrated: RS485 interface; Modbus compatible

DIYables-ESP32-Relay-Module-FIG (7)

PCB Dimensions

  • 4-channel: 93mm × 87mm; 4mm mounting holes
  • 8-channel: 152mm × 87mm; 3.5mm mounting holes

DIYables-ESP32-Relay-Module-FIG (8)

Product List:
Relay Module ×1

PRODUCT USAGE INSTRUCTIONS

4-channel relay module
Optional 4-channel relays, flexibly adaptable to various scenarios

DIYables-ESP32-Relay-Module-FIG (1)ESP32 Relay Module
Features CH340 chip, Type-C interface for one-click programming

DIYables-ESP32-Relay-Module-FIG (2)

Optocoupler Isolation Module
Optical input/output isolation, strong anti-interference, and stable operation DIYables-ESP32-Relay-Module-FIG (3)

Modbus relay module
Supports the Modbus protocol and is compatible with industrial automation systems
DIYables-ESP32-Relay-Module-FIG (4)

Built-in CH340 for one-click program burning

  • TYPE-C Interface: Power supply and programming
  • EN Reset Button: Press to reset
  • BOOT Button: Press and hold, then press the reset button once to enter download mode
  • 4 Optocoupler Inputs: Can control relays DIYables-ESP32-Relay-Module-FIG (5)

Built-in CH340 for one-click programming

  • TYPE-C Interface: Power Supply and Programming
  • EN Reset Button: Press to reset
  • BOOT Button: Press and hold, then press the reset button once to enter download mode
  • 8-Chann DIYables-ESP32-Relay-Module-FIG (6)

Instructions for Use

Functional Testing
Hardware Preparation: TYPE-C cable, USB to RS485 module

Wiring Method

  1. Insert the TYPE-C power supply and the RS485 cable.
  2. Open the DAM debugging software, open the port corresponding to the USB to RS485 device (device address is 1), and use it as shown in the diagram.
  3. After the 485 command turns off all relays, you can turn on the corresponding channel relay by inputting a high level to the optocoupler.
  4. Disconnect the TYPE-C power supply, insert the 9~24V power supply cable, and turn on the power switch. The board should work normally.
    DIYables-ESP32-Relay-Module-FIG (9) DIYables-ESP32-Relay-Module-FIG (10) DIYables-ESP32-Relay-Module-FIG (11) DIYables-ESP32-Relay-Module-FIG (12) DIYables-ESP32-Relay-Module-FIG (13) DIYables-ESP32-Relay-Module-FIG (14)

Documents / Resources

PDF thumbnailESP32 Relay Module
User Manual · ESP32, relay, ESP32 Relay Module, Relay Module, Module

References

Ask a Question

Use this section to ask about setup, compatibility, troubleshooting, or anything missing from this manual.

Ask a Question

Ask about setup, compatibility, troubleshooting, or anything missing from this manual. Name and email are optional.