ESP2866 WiFi Relay Module
ESP2866 WiFi Relay Module
html
PRODUCT
IoT Series Position:Home > Product > IoT Series >
Ai series
5V ESP8266 WiFi Relay IoT smart home Cellp hone APP teleswit
Date:2019-01-25 Views:1575
IoT Series
LC5V ESP8266 single-channel WIFI relay module equip with to ESP-01 WIFI module and STM8S high performance MCU,
Development board
Only need simple configurations and then you can control the relay with cellphone APP under LAN area.
AVR Board
Product data link:https://pan.baidu.com/s/1dGzdUut
51 Board
1 of 10 1/3/2020, 10:59 PM
5V ESP8266 WiFi Relay IoT smart home Cellp hone APP teleswit_chi... http://www.chinalctech.com/cpzx/1/331.html
Contact us
(3)It’s means the whole configuration is done and waiting for establishing TCP connection with APP when D6 slow blink
Name:Helen.
every 2S
Tel:0755-82720811
(4) It’s means the TCP connection between ESP-01 and APP is OK when D6 on all the time 。
E-mail:[email protected]
Add:Room 309,Building
No.6,Mengliyuan Industrial Relay control command(must be hex format):
Park,No.146 Yousong Open the relay: A0 01 01 A2
Road,Longhua Close the Relay:A0 01 00 A1
District,Shenzhen,518109
Online consulting
2,Preparatory work:
(1)5V DC adapter, connect to IN+ and IN-
(2)Installing APP “EspTouch_Demo” on your Android phone,it is used for configurate password for ESP-01 when the first
time you use working mode 2
2 of 10 1/3/2020, 10:59 PM
5V ESP8266 WiFi Relay IoT smart home Cellp hone APP teleswit_chi... http://www.chinalctech.com/cpzx/1/331.html
(3)Installing APP “EasyTCP_20” on your Android phone,this is a TCP communication tool,and used for send the
relay command to the ESP-01 with your phone. Click”SWITCH” , press the function block and insert the relay command
name and content(Remark: the command content is HEX format)
3 of 10 1/3/2020, 10:59 PM
5V ESP8266 WiFi Relay IoT smart home Cellp hone APP teleswit_chi... http://www.chinalctech.com/cpzx/1/331.html
3, Working mode 1: (Cell phones carry on the wifi module directly) instructions:
(1)Plug the ESP-01 module, turn on the power, wait about 4 seconds,the status of D6(green) will change to slow blink
every 2S,it means the configuration is done,as blow:
4 of 10 1/3/2020, 10:59 PM
5V ESP8266 WiFi Relay IoT smart home Cellp hone APP teleswit_chi... http://www.chinalctech.com/cpzx/1/331.html
(2) Connecting to the AP signal that generated by ESP-01 with your phone
(3)Open the “EasyTCP_20”APP, click”CONNECT”, insert IP address and port number, click “Connect” , and then you can
click the function block to control the relay after the status of D6(green) is on all the time.
5 of 10 1/3/2020, 10:59 PM
5V ESP8266 WiFi Relay IoT smart home Cellp hone APP teleswit_chi... http://www.chinalctech.com/cpzx/1/331.html
4, Working mode 2: (Cell phone and wifi module carry on the same router) instructions:
(1)Plug the ESP-01 module, turn on the power, wait about 4 seconds,the status of D6 will change to slow blink every 2S,
and press the S1 to switch the working mode to mode 2, the blue LED will on. Please wait about 20S, the green LED
6 of 10 1/3/2020, 10:59 PM
5V ESP8266 WiFi Relay IoT smart home Cellp hone APP teleswit_chi... http://www.chinalctech.com/cpzx/1/331.html
change to 0.5S fast blink, it’s mean you need configurate password for the ESP-01:
(2) Connect to the router with your phone, open “EspTouch_Demo”APP, insert the password of the router, click”Confirm”
(3) Waiting for the configuration success, it’s means the ESP-01 connect to the router successfully when you see IP
address on screen(such as 192.168.0.174). After that, the ESP-01 will remember this password, it will try to connect to this
router automatically when the next time you enter the working mode 2(about takes 20-60S)
7 of 10 1/3/2020, 10:59 PM
5V ESP8266 WiFi Relay IoT smart home Cellp hone APP teleswit_chi... http://www.chinalctech.com/cpzx/1/331.html
Note: The ESP-01 IP address 192.168.0.174 is allocated by the router, maybe it will change when you restart the wifi relay
module, so you can check the real time IP address of ESP-01 on your router device list
(4) Open “EasyTCP_20”APP, click “CONNECT”. Input IP address and port number of the ESP-01, click “Connect”, and
then you can click the function block to control the relay after the status of D6(green) is on all the time.
8 of 10 1/3/2020, 10:59 PM
5V ESP8266 WiFi Relay IoT smart home Cellp hone APP teleswit_chi... http://www.chinalctech.com/cpzx/1/331.html
5, Additional function
(As an USB relay module when unplug the ESP-01)instructions:
For that,You need an USB to TTL module, and the GND,TX,RX pins of the TTL module connect to the
GND,TX,RX pins of the wifi relay module.Unplug the ESP-01 module, turn on the power, wait about 4 seconds,the
status of D6(green) will change to slow blink every 2S. Open a Serial debugging software on your PC, the baud rate is
115200.After that you can send command A0 01 01 A2 to open the relay,and A0 01 00 A1 to close the relay(remark: the
command format is HEX),just as show below:
Kindly Remind:
1, For working mode 2, you only need configurate password for the ESP-01 at the first time, after the ESP-01 connect to
the router successfully, it will save this password and connect to the router automatically when you enter the working mode
2 at next time
2, If you want to change the router, you can press the S2(this key will clear the saved password), and then you can
configurate the new password for the ESP-01 again.
3, The status LED(D6) will off and try to connect to the router again when the ESP-01 lost connection with the router.
During this period, the key(S1 and S2) are not available. It’s means the connection is recovered when D6 slow blink every
2S.
4, The key(S1 and S2) are available only when the LED(D6) slow blink every 2S or on all the time, it’s means the wifi relay
module are doing self-configuration or waiting for the configuration that from your phone under other conditions
5, The ESP-01 module have timeout mechanism, it will kick off your phone and disconnect TCP relationship when no data
transmit exceed 6 minutes. For this conditions, you can click the “CONNECT” on “EasyTCP_20”APP interface and
9 of 10 1/3/2020, 10:59 PM
5V ESP8266 WiFi Relay IoT smart home Cellp hone APP teleswit_chi... http://www.chinalctech.com/cpzx/1/331.html
10 of 10 1/3/2020, 10:59 PM