DIYmall ESP32S 4 Channel Wifi Blue-tooth-compatible Relay Module

ESP32S 4 Channel Wifi Bluetooth Relay Module User Manual

Model: ESP32S 4 Channel Wifi Blue-tooth-compatible Relay Module

1. Giriş

This manual provides detailed instructions for the setup, operation, and maintenance of your DIYmall ESP32S 4 Channel Wifi Bluetooth Relay Module. This module is designed for controlling up to four independent relays via Wi-Fi or Bluetooth, offering versatile integration into various automation and IoT projects. It features an ESP32-WROOM-32U chip and comes with a 2.4G WiFi antenna for enhanced connectivity.

ESP32S 4 Channel Wifi Bluetooth Relay Module with attached 2.4G WiFi Antenna.
Bir fazlaview of the ESP32S 4 Channel Wifi Bluetooth Relay Module, featuring the ESP32-WROOM-32U chip, four blue relays, and an external 2.4G WiFi antenna connected via a U.FL to SMA cable.

2. Ürün Özellikleri

  • 4 Independently Controlled Relays: Each relay can handle 250Vac/10A, 125Vac/10A, or 30VDC/10A.
  • Dual Interface: Supports both Bluetooth (BLE) and Wi-Fi connectivity.
  • Integrated Wi-Fi Access Point: Creates a WPA2 protected Wi-Fi access point upon startup.
  • Bluetooth GATT Server: A Bluetooth GATT server is created and can operate concurrently with the Wi-Fi access point.
  • Web Server Control: Relay states can be controlled via simple HTTP GET requests through a Wi-Fi web server, providing a JSON interface for relay status.
  • Mobil Uygulama Uyumluluğu: Control relays using dedicated iOS ("DIYMall Relay Control") and Android apps.
  • Harici Anten: Includes a 2.4G WiFi antenna for extended range.

3. Özellikler

Özellik Şartname
Giriş Voltage 6V 0.750A (Recommended: 9V 1A or 12V 1A if initial power is insufficient). Max 15V.
Relay Capacity (per relay) 250Vac/10A, 125Vac/10A, 30VDC/10A
Röle Sayısı 4 (independently controlled)
Kablosuz arayüz Wi-Fi, Bluetooth
Anten Tipi 2.4G WiFi Antenna, 3dBi gain
Anten Uzunluğu 10.8 cm
Anten Kablo Uzunluğu 16 cm
Boyutlar (U x G x Y) 15 cm x 10 cm x 4 cm
Ağırlık 0.111 kilo
Tepe view of the ESP32S 4 Channel Wifi Bluetooth Relay Module circuit board.
Detaylı üst view of the module, highlighting the ESP32-WROOM-32U module, four Songle SRD-05VDC-SL-C relays, power input terminals (5-18V DC), reset and program buttons, and various surface-mount components.

4. Paket İçeriği

  • 1 x ESP32S 4 Channel Wifi Bluetooth Relay Module
  • 1 x 2.4G WiFi Antenna with U.FL to Female SMA connection cable

5. Kurulum

5.1 Güç Bağlantısı

Connect a power supply to the module's input terminals. The recommended input is 6V 0.750A. If the module does not power on or function correctly, try a 9V 1A or 12V 1A power supply. Ensure the voltage does not exceed 15V, especially if using a car battery (which typically fluctuates between 12-14V).

5.2 Anten Bağlantısı

Attach the provided 2.4G WiFi antenna. If your module has a U.FL connector, use the supplied cable to connect the antenna. If it has a full-size SMA connector, the 3dBi antenna can screw on directly.

5.3 İlk Wi-Fi Bağlantısı

Upon startup, the module creates a WPA2 protected Wi-Fi access point. You can connect to this access point using the following credentials:

  • Wi-Fi Adı (SSID): TEST
  • Şifre: 123456789

5.4 Mobil Uygulama Yükleme

To control the relays via a mobile device, download the official app:

  • iOS Uygulaması: Arama "DIYMall Relay Control" in the Apple App Store.
  • Android uygulaması: İndir Google Play Mağazası (Requires Android 4.1 and up).

5.5 Firmware Burning (Advanced Users)

For advanced users who wish to modify the firmware, a document link is provided for guidance. This typically requires a USB-to-serial converter.

Wiring diagram for programming the Relay32 module with a serial port module.
This image illustrates the connection required for programming the Relay32 module. Connect GND on Relay32 to GND on the Serial Port Module, TXD on Relay32 to RXD on the Serial Port Module, and RXD on Relay32 to TXD on the Serial Port Module. A USB-to-serial converter is shown connected to the Relay32 board.

6. Kullanım Talimatları

6.1 Wi-Fi Control via Web Sunucu

Once connected to the module's Wi-Fi access point, you can control the relays using a web browser or any application capable of sending HTTP GET requests. The default IP address for the module's web server is typically 192.168.1.1.

  • Activate Relay 1: http://192.168.1.1/h1
  • Deactivate Relay 1: http://192.168.1.1/l1
  • Get All Relay States (JSON format): http://192.168.1.1/j
  • (Replace '1' with '2', '3', or '4' for other relays)

6.2 Bluetooth Kontrolü

The module creates a Bluetooth GATT server. You can use compatible Bluetooth applications, including the official "DIYMall Relay Control" app, to discover and control the relays via Bluetooth.

6.3 Mobil Uygulama Kontrolü

After installing the "DIYMall Relay Control" app on your iOS or Android device, follow the in-app instructions to connect to your module via Wi-Fi or Bluetooth and control the four relays.

7. Kullanıcı İpuçları

  • Güç Kaynağı: If the module doesn't seem to be working with the initial 6V 0.750A power supply, try a higher current or voltage supply like 9V 1A or 12V 1A. Always ensure the voltage 15V'u geçmez.
  • Extended Wi-Fi Range: The included 3dBi antenna is designed to provide extended Wi-Fi range. Ensure it is properly connected for optimal performance.
  • Client Mode Operation: By default, the module operates as a Wi-Fi Access Point (AP). If you need it to connect to an existing Wi-Fi network (client mode), this requires a firmware modification. This is an advanced procedure and typically involves using a USB-to-serial converter to flash new firmware.
  • Remote Control (WAN): If you modify the firmware for client mode and configure your network's router with port forwarding and potentially set the relay client as a DMZ host, you can control the module over a Wide Area Network (WAN).

8. Sorun Giderme

Q: The module is not powering on or functioning.
A: Check your power supply. While 6V 0.750A is specified, some units may require 9V 1A or 12V 1A to operate correctly. Ensure the voltage 15V'u geçmez.
Q: I cannot connect to the module's Wi-Fi network.
A: Verify the Wi-Fi name (SSID: TEST) and password (123456789). Ensure the module is powered on and the antenna is securely connected.
Q: The module is not connecting to my existing Wi-Fi network (client state).
A: The module operates in AP mode by default. To function in client mode (connecting to an existing AP), a firmware change is required. This is an advanced modification.
Q: I am having trouble compiling firmware for the ESP32.
A: Compiling ESP32 firmware can be complex. Refer to the Espressif documentation and community forums for detailed guidance. A good starting point is the Espressif Get Started Guide for Windows: Espressif Windows Setup.

9. Bakım

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

  • Kuru Tutun: Protect the module from moisture and liquids, as these can cause short circuits and damage.
  • Temizlik: Modülü toz ve kirden uzak tutun. Temizlik için yumuşak, kuru bir fırça veya basınçlı hava kullanın.
  • Sıcaklık: Modülü belirtilen sıcaklık aralığında çalıştırın. Aşırı sıcak veya soğuktan kaçının.
  • Elleçlemeden Önce Gücü Kapatın: Always disconnect the power supply before making any physical connections or disconnections to the module or its relays.
Alt view of the ESP32S 4 Channel Wifi Bluetooth Relay Module circuit board.
The underside of the relay module, showing the PCB traces and the 'DIYmall' logo.

10. Garanti ve Destek

For technical support, firmware updates, or further assistance, please refer to the following resources:

  • kendin yap alışveriş merkezi Webalan: www.diymalls.com
  • Espressif Forums: For advanced ESP32-related queries and community support, visit the official Espressif forums.

Please note that specific warranty details may vary depending on your purchase location and retailer. Retain your proof of purchase for any warranty claims.