1. Product Overview
The Diymore ESP32 WiFi Bluetooth Single Relay Switch Module Board is a versatile development board integrating an ESP32-WROOM-32E module with a single relay. It is designed for various IoT applications, smart home automation, and remote control projects, offering both Wi-Fi and Bluetooth connectivity. The board operates on an AC90-250V power supply and provides convenient I/O and UART download ports.

2. Package Contents
The package typically includes the following items:
- AC power supply ESP32 single relay development board
- 2x 10-pin double row headers
- 1x 6-pin single row header
- 1x Single line cap (jumper cap)

3. Setup and Connections
Before operating the board, ensure all necessary connections are made correctly. Refer to the interface introduction and wiring diagram below.
3.1 Interface Introduction

The board features the following key components and interfaces:
- AC90-250V Input: Power supply terminals (L and N).
- Relay Output: Terminals for Normally Open (NO), Common (COM), and Normally Closed (NC) connections.
- ESP32-WROOM-32E Module: The core processing unit providing Wi-Fi and Bluetooth capabilities.
- IO Pins: General Purpose Input/Output pins for connecting external sensors and actuators.
- Power Indicator: LED indicating power status.
- Relay Indicator: LED indicating the relay's state.
- Programmable LED: User-programmable LED.
- Reset Pin/Button: For resetting the ESP32 module.
- Burning IO Pin Interface: Specific IO pins used for programming the ESP32.
- Programmable Key: User-programmable button.
3.2 Relay Output Connections
The relay provides three terminals for connecting to your load:
- NC (Normally Closed): The relay is short-circuited with COM before the pull-in (when the relay is off). It hangs (is open) after it is pulled-in (when the relay is on).
- NO (Normally Open): The relay is suspended (open) before being closed (when the relay is off). It is shorted to COM after being closed (when the relay is on).
- COM (Common): The common terminal for the relay switch.
Connect your AC load to the appropriate NO/NC and COM terminals based on your application's requirements (e.g., for a device that should be off when the relay is de-energized, connect it to NO and COM).
3.3 Power Supply
Connect your AC power source (90-250V) to the 'L' and 'N' terminals on the board. Ensure correct polarity if specified, though for AC, typically live and neutral are interchangeable for basic operation. Always exercise caution when working with AC power.
3.4 Programming the ESP32 Module
To program the ESP32 module, you will need an external USB to TTL serial converter (not included). The programming port pins (GND, RX, TX, 5V) on the board are designed to connect to your converter.
- Connect the GND, RX, TX, and 5V pins from your USB to TTL converter to the corresponding pins on the ESP32 module's programming interface.
- During the download process, the IO0 pin needs to be connected to GND. This typically involves using a jumper cap or a wire.
- Initiate the firmware download using your preferred ESP32 development environment (e.g., Arduino IDE, ESP-IDF).
- Once the download is complete, disconnect the connection between IO0 and GND.
- Press the Reset button (EN) to restart the ESP32 with the new firmware.
Warning: Ensure IO0 is disconnected from GND after programming to allow the ESP32 to boot into normal operating mode.
4. Operating Instructions
Once programmed, the ESP32 module will execute your custom firmware. The relay can be controlled via Wi-Fi or Bluetooth commands as defined in your code.
- Wi-Fi Control: The ESP32 can connect to your local Wi-Fi network and act as a server or client to receive commands, allowing remote control of the relay.
- Bluetooth Control: Use Bluetooth-enabled devices (e.g., smartphone, computer) to send commands to the ESP32 for local relay control.
- Manual Control: The programmable key can be configured in your firmware to trigger specific actions, such as toggling the relay state.
- Status Indicators: Observe the Power Indicator LED for board power status and the Relay Indicator LED to confirm the relay's current state (on/off). The Programmable LED can be used for custom feedback.
Refer to your specific firmware documentation for detailed instructions on how to interact with and control the relay board.
5. Maintenance and Handling
5.1 Storage Conditions
To ensure the longevity and reliability of your module, store it in a sealed moisture barrier bag (MBB) under the following conditions:
- Temperature: Less than 40°C
- Humidity: Less than 90% RH (non-condensing atmosphere)
The module has a Moisture Sensitivity Level (MSL) of 3. After opening the vacuum-sealed bag, the module must be used within 168 hours at 25±5°C and 60% RH. If this time limit is exceeded, the module may require re-baking before use to prevent moisture-related damage during soldering.
5.2 Electrostatic Discharge (ESD) Precautions
This device is sensitive to electrostatic discharge. Handle with care to prevent damage:
- Human Body Model (HBM): ±2000 V
- Charged Device Model (CDM): ±500 V
- Air Discharge: ±6000 V
- Contact Discharge: ±4000 V
Always use appropriate ESD protection (e.g., ESD wrist strap, grounded workstation) when handling the board.
6. Troubleshooting
- Board not powering on:
- Verify that the AC90-250V power supply is correctly connected to the L and N terminals.
- Check the power indicator LED. If it's off, there might be an issue with the power input or the board's power circuit.
- Programming issues:
- Ensure your USB to TTL converter is functioning correctly and its drivers are installed.
- Double-check the connections between the converter and the board's programming pins (GND, RX, TX, 5V).
- Confirm that the IO0 pin is connected to GND only during the download process and disconnected afterward.
- Try pressing the Reset (EN) button after disconnecting IO0 from GND to restart the ESP32.
- Relay not responding:
- Verify that your firmware is correctly controlling GPIO16, as this is the pin typically used for the relay.
- Check the relay indicator LED to see if it changes state when you send a command.
- Ensure the load connected to the relay is within its specified voltage and current limits.
- Inspect the physical connections to the NO/NC and COM terminals.
- Wi-Fi/Bluetooth connectivity problems:
- Ensure your firmware correctly initializes and configures the Wi-Fi or Bluetooth module.
- Check for proper antenna connection (if using an external antenna version, though this board uses an on-board PCB antenna).
- Verify network credentials (SSID, password) for Wi-Fi connections.
- Ensure the device attempting to connect via Bluetooth is within range.
7. Specifications
| Feature | Specification |
|---|---|
| Brand | Diymore |
| Model | ESP32 WiFi Bluetooth Single Relay Switch Module Board |
| Type | Relay Module / Development Board |
| Core Module | ESP32-WROOM-32E |
| Processor | Xtensa dual-core 32-bit LX6 microprocessor, up to 240 MHz |
| Flash Memory | 4 MB (optional 8/16 MB for ESP32-WROOM-32E) |
| RAM | 520 KB SRAM, 16 KB RTC SRAM |
| Wi-Fi Standard | 802.11 b/g/n (up to 150 Mbps) |
| Wi-Fi Frequency | 2412 ~ 2484 MHz |
| Bluetooth Standard | Bluetooth V4.2 BR/EDR and Bluetooth LE |
| Input Voltage | AC 90-250V |
| Module Supply Voltage | 3.0 ~ 3.6 V (internal regulation) |
| Operating Temperature | -40°C ~ 85°C (standard version), -40°C ~ 105°C (for 4/8MB flash version) |
| Relay Type | Single Relay (SRD-05VDC-SL-C or similar) |
| Relay Contact Rating | 10A 250VAC / 10A 125VAC / 10A 30VDC / 10A 28VDC |
| Dimensions (Module) | 18.0 x 25.5 x 3.1 mm (ESP32-WROOM-32E) |
| Package Weight | Approximately 0.039 kg |
| Antenna | On-board PCB antenna |
| Peripherals | SD card, UART, SPI, SDIO, I2C, LED PWM, Motor PWM, I2S, IR, Pulse Counter, GPIO, Capacitive Touch Sensor, ADC, DAC, TWAI (CAN 2.0 compatible) |
8. User Tips
- Programming Tool: A USB to TTL serial converter is essential for programming this board.
- Relay GPIO: The onboard relay is typically connected to GPIO16. Ensure your code targets this pin for relay control.
- Easy Programming: Users have found this board straightforward to program, making it suitable for various projects.
- Cost-Effective: This board offers excellent value for its features.
9. Frequently Asked Questions (FAQ)
- Q: What do I need to program this board?
- A: You will need an external USB to TTL serial converter and a suitable development environment (e.g., Arduino IDE, ESP-IDF).
- Q: Which GPIO pin controls the relay?
- A: The onboard relay is typically connected to GPIO16.
- Q: What is the power input requirement for this board?
- A: The board accepts an AC input voltage range of 90-250V.
- Q: How do I put the ESP32 into programming mode?
- A: Connect the IO0 pin to GND during the firmware upload process. Remember to disconnect it after programming is complete.
10. Warranty and Support
For detailed technical specifications, pin definitions, electrical characteristics, and further support documentation regarding the ESP32-WROOM-32E module, please refer to the official Espressif documentation.
A comprehensive user manual (PDF) for the core module is available for download:
For product-specific inquiries or issues not covered in this manual, please contact Diymore Electronic Kit Store directly.