diymore ESP32-32E Module

ESP32 2/4-way MOS Switch Module User Manual

Model: ESP32-32E Module

1. Introduction

The DC-powered ESP32 dual-channel and quad-channel MOS switch module is equipped with the ESP32-32E WiFi & BLE module. All I/O ports are exposed, and it supports Type C USB port 5V power supply or DC 5-60V to 5V power conversion circuit (recommended power supply: DC-12V). This product features a mature and stable ESP32-32E module on board, suitable for ESP32 secondary development learning, smart home wireless control, and other applications.

Key Features:

  • Equipped with an on-board ESP32-32E module, supporting secondary development.
  • Supports DC 5-60V wide voltage input, suitable for various power supply environments.
  • Provides dual-channel or quad-channel MOS switch modules for flexible selection.
  • Reserves UART pins for easy programming.
  • Compatible with the ESP-IDF development environment, suitable for smart home applications.
  • Features a large-capacity 4M Byte Flash.
  • Includes N-channel MOSFETs with a drain-source voltage of 60V.

Product overview video showcasing the ESP32 MOS Switch Module from various angles and its components.

2. Package Contents

The package includes the following items:

  • Switch module (x1)
  • 10P double row pin (x2)
  • 6P single row pin (x1)
  • Shorting cap (x1)
ESP32 2-way MOS Switch Module with included pins and shorting cap

Image showing the 2-way MOS switch module with included pins and shorting cap.

3. Specifications

Attribute Value
Type Module
Brand Name diymore
Origin Mainland China
Condition New
Power Input DC 5-60V (recommended DC-12V)
USB Power Type C USB port 5V
Flash Memory 4M Byte
MOSFET N-channel, 60V drain-source voltage
Dimensions (Dual-channel) 50 x 57.5mm, hole diameter 3mm
Dimensions (Quad-channel) 55 x 57.5mm, hole diameter 3mm
On-board Module ESP32-32E WiFi & BLE module
Product size diagram for the 2-way module, showing dimensions (57.5mm x 50mm) and 3mm hole diameter.

Product size diagram for the 2-way module.

Image of the DC Powered ESP32 Quad MOS Switch Module with included pins and shorting cap.

DC Powered ESP32 Quad MOS Switch Module with included pins and shorting cap.

4. Interface Overview

The module features several key interfaces for power, control, and output:

Detailed diagram of the module's interface, labeling components like DC input, USB power, mode switch, ESP32 module, burning port, outputs, and MOS tubes.

Module Interface Diagram

  1. DC 12V Input: Main power input terminal.
  2. USB Power Supply: Type C USB port for 5V power input.
  3. Mode Switch Button: Used to cycle through the module's operating modes.
  4. Mode Status Light: Indicates the current operating mode.
  5. ESP32 Module: The core processing unit for Wi-Fi and Bluetooth functionalities.
  6. Burning Port (IO0 & GND): Shorting these pins allows the module to enter firmware burning mode.
  7. Second Output: Output terminal for the second MOS switch.
  8. First Output: Output terminal for the first MOS switch.
  9. MOS Tube: MOSFET components for switching operations.

5. Setup

Power Supply Connection:

  • Connect a DC power source (5-60V) to the DC input terminals. A 12V DC power supply is recommended for optimal performance.
  • Alternatively, for 5V power, connect a Type C USB cable to the USB port.
  • Ensure correct polarity when connecting the DC power supply.

Initial State:

  • Upon power-on, the module defaults to the first operating mode, where both MOS switches are in the OFF state, and the LED lights are off.
Top and bottom view of the 2-way ESP32 MOS switch module, highlighting pinouts and components.

Top and bottom view of the 2-way ESP32 MOS switch module.

6. Operating Modes

The module operates in three distinct modes, which can be cycled through by pressing the IO0 button:

  1. First Mode (Power-on Default):

    • Both two-way MOS switches are in the OFF state.
    • LED lights are in the OFF state.
    • Press the IO0 button to switch to the second mode.
  2. Second Mode:

    • The first MOS switch is ON.
    • The second MOS switch is OFF.
    • The LED light is always ON at 50% brightness.
    • Press the IO0 button to switch to the third mode.
  3. Third Mode:

    • Both MOS switches are ON.
    • The LED light is always ON at 100% brightness.
    • Press the IO0 button to switch back to the first mode, and so on.

Mode Test Example:

When inputting 12V DC power, press the button to switch to the second mode. At this point, the first MOS tube will open, and the output voltage will be equal to the input voltage of 12V. Ensure to distinguish between positive and negative output terminals. The module can work normally when connected to a load.

7. Firmware Burning Process

To update or flash new firmware onto the ESP32 module, follow these steps:

  1. Tool Preparation: You will need a USB to Serial Module for this process.

  2. Software Setup: Open the Flashtool software and select 'ESP32' as the chip model.

  3. Firmware Path: Tick the burn option within the Flashtool and specify the path to your firmware files.

  4. Enter Burning Mode: Short the IO0 and GND pins on the module *before* powering it on to enter the burning mode.

  5. Connect Device: Connect the module to your computer via the USB to Serial Module according to the following wiring:

    • RX of Serial Module to TX of ESP32 Module
    • TX of Serial Module to RX of ESP32 Module
    • GND of Serial Module to GND of ESP32 Module
    • 3V3 of Serial Module to 3V3 of ESP32 Module
  6. Start Burning: Click the 'START' button in the Flashtool. Wait for the burning process to complete and for the prompts to indicate success.

Screenshot illustrating the 'Firmware Burn-in Process' using a Flashtool, showing chip type selection, work mode, load mode, and connection details.

Flashtool interface for firmware burning.

8. Secondary Development

The ESP32 MOS Switch Module is designed to support secondary development, leveraging its on-board ESP32-32E module. It is compatible with the ESP-IDF development environment.

The provided example programs are primarily for functional verification. For implementing specific features or more complex control logic, users are encouraged to modify the program according to their actual application requirements. The module's exposed interfaces allow for extensive customization and integration into various projects.

Image showing a secondary development setup with the module connected to a motor and a multimeter.

Example of secondary development setup.

9. User Tips

  • This product is intended for development learning and DIY projects. It requires a certain level of technical knowledge for proper use and integration.
  • Always double-check wiring and power connections before applying power to avoid damage to the module or connected components.
  • When performing firmware burning, ensure the correct chip model (ESP32) is selected in the Flashtool to prevent flashing errors.

10. Troubleshooting

  • Module not powering on: Verify that the power supply (DC 5-60V or USB 5V) is correctly connected and providing the specified voltage. Check for loose connections.
  • MOS switches not activating: Ensure the module is in the correct operating mode (Mode 2 or 3) by pressing the mode switch button. Check if the load is properly connected and within the module's specifications.
  • Firmware burning issues: Confirm that the IO0 and GND pins are shorted before power-on to enter burning mode. Double-check the RX/TX, GND, and 3V3 wiring between the module and the USB to Serial converter. Ensure the correct firmware file is selected in the Flashtool.
  • Unexpected behavior: This module is for development. Review your custom code or development environment setup for any logical errors.

11. Maintenance

  • Keep the module in a dry environment to prevent moisture damage.
  • Avoid exposing the module to extreme temperatures or direct sunlight.
  • Handle the module with care to prevent physical damage to components or solder joints.
  • Regularly inspect connections for any signs of wear or corrosion.

12. Safety Warnings

⚠ WARNING: This product can expose you to chemicals including lead, which is known to the State of California to cause cancer and birth defects or other reproductive harm. For more information go to www.P65Warnings.ca.gov.

Always exercise caution when working with electronic components and power supplies. Ensure proper insulation and avoid short circuits.

13. Warranty and Support

For technical support, troubleshooting assistance, or warranty inquiries, please contact the seller or manufacturer directly. Keep your purchase records for reference.