The module is a wireless relay control module based on the ESP8266EX chip with 12V voltage input. It is connected to Blinker in the program, which can realize the on and off control of the relay by mobile phone and voice. A set of control lines are drawn in the module, and the relay can be turned on by short-circuiting without going through the network. The specific instructions are as follows:
Physical picture:

Schematic diagram:
1. The red part is the relay output end. When the relay is energized, the two ends are connected. The relay is controlled by a transistor. The ESP8266EX outputs a high-level relay path and the low-level relay is disconnected.
2. The yellow part is the relay jumper end. When the two ends are connected, the relay is not controlled by the microcontroller to be energized, and an external switch can be connected.
3. The orange part has two buttons. The upper button is connected to the RST pin of ESP8266. When pressed, the single chip restarts. The lower button is used for logic detection. When the microcontroller starts, press and hold this button and the device enters the network distribution mode.
4. The green part is the power input terminal, which is usually 12V, and the optional range is 12V-5V. Please change the relay specifications according to the different input voltages to avoid the relay failing to attract. There are three types of input power terminals, please choose one.
5. The blue part is the power switch, which controls the input power on and off.
6. The purple part is the microcontroller program burning pin, please prepare a TTL burner by yourself.
Program related:
Some time ago, I released a 5V input ESP12F chip controlled relay circuit, which has the same logic as this project, so I provide a wireless relay control program adapted to the ESP8266EX chip control circuit.
This program is developed based on Arduino and connected to Blinker. It can realize the switch operation on the mobile phone and voice control of Xiao Ai. Before using this program, you must lead out the necessary pins, which are defined as follows:
1. Status light: connected to any GPIO pin, high level is on, low level is off, as follows:
2. Relay control: connected to any GPIO pin. When selecting the GPIO pin, please pay attention to the level of the pin when it is powered on. The pin is connected to the S8050 transistor to achieve high level conduction and low level disconnection.
3. Logic button: connected to at least the GPIO pin that can be used as input. When the button is pressed, the pin is connected to GND.
The pin definition of this module is as follows. When burning the program, there is no need to modify the pin definition except for modifying the key. If you use other modules, please pay attention to the modification.
Please modify the key value before burning the program. The specific operations to apply for the key value are as follows:
1. Enter the Blinker Lighting Technology official website and download the APP. Lighting Technology
2. Open the app, click the plus sign in the upper right corner to add a device, select Independent Device-Network Access, and the key will pop up. Please copy and paste it into the program for replacement.
3. Return to the main interface, click the new device, the three dots in the upper right corner, find the interface configuration, and replace the following code:
{¨version¨¨2.0.0¨¨config¨{¨headerColor¨¨transparent¨¨headerStyle¨¨dark¨¨background¨{¨img¨¨assets/img/headerbg.jpg¨¨isFull¨«}}¨dashboard¨|{¨type¨¨btn¨¨ico¨¨fal fa-power-off¨¨mode¨Ê¨t0¨¨turn on¨¨t1¨¨text2¨¨bg¨É¨cols¨Í¨rows¨Í¨key¨¨btn-abc¨´x´Ë´y´Ò¨lstyle¨Ë¨clr¨¨#076EEF¨}÷¨actions¨|÷¨triggers¨|÷¨rt¨|÷}
Burn the module program. Please search for ESP8266 Arduino by yourself. Burning tutorial, the configuration is as follows:
Network configuration: When the module starts, press and hold the logic button until the status light starts flashing, then release it. The status light goes out and the module enters the network configuration mode. Open the Blinker App, find the developer in the user bar on the left, click to enter the development tool, click EspTouch/SmartConfig to configure, when the network connection is successful, the status light is always on.