DIYables ESP32 Relay Module

Features
- Optional 4-channel or 8-channel relay configuration for flexible adaptation to diverse scenarios.
- Integrated CH340 chip enables one-click programming via Type-C interface.
- Opto-isolated input/output ensures robust interference resistance and stable operation.
- Supports Modbus protocol for compatibility with industrial automation systems.
- 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

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

Product List:
Relay Module ×1
PRODUCT USAGE INSTRUCTIONS
4-channel relay module
Optional 4-channel relays, flexibly adaptable to various scenarios
ESP32 Relay Module
Features CH340 chip, Type-C interface for one-click programming

Optocoupler Isolation Module
Optical input/output isolation, strong anti-interference, and stable operation 
Modbus relay module
Supports the Modbus protocol and is compatible with industrial automation systems

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

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

Instructions for Use
Functional Testing
Hardware Preparation: TYPE-C cable, USB to RS485 module
Wiring Method
- Insert the TYPE-C power supply and the RS485 cable.
- 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.
- After the 485 command turns off all relays, you can turn on the corresponding channel relay by inputting a high level to the optocoupler.
- Disconnect the TYPE-C power supply, insert the 9~24V power supply cable, and turn on the power switch. The board should work normally.

Documents / Resources
![]() | ESP32 Relay Module |
References
- User Manualmanual.tools
Published: October 15, 2026

