<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh-Hans-CN">
	<id>http://wiki.lcmaker.com/index.php?action=history&amp;feed=atom&amp;title=LC-WF-2-4</id>
	<title>LC-WF-2-4 - 版本历史</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.lcmaker.com/index.php?action=history&amp;feed=atom&amp;title=LC-WF-2-4"/>
	<link rel="alternate" type="text/html" href="http://wiki.lcmaker.com/index.php?title=LC-WF-2-4&amp;action=history"/>
	<updated>2026-11-11T13:10:08Z</updated>
	<subtitle>本wiki上该页面的版本历史</subtitle>
	<generator>MediaWiki 1.46.2</generator>
	<entry>
		<id>http://wiki.lcmaker.com/index.php?title=LC-WF-2-4&amp;diff=2234&amp;oldid=prev</id>
		<title>2023年5月10日 (三) 10:06 Lcadmin</title>
		<link rel="alternate" type="text/html" href="http://wiki.lcmaker.com/index.php?title=LC-WF-2-4&amp;diff=2234&amp;oldid=prev"/>
		<updated>2023-05-10T10:06:18Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw-interface=&quot;&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;zh-Hans-CN&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;←上一版本&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;2023年5月10日 (三) 10:06的版本&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l111&quot;&gt;第111行：&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第111行：&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Image:LC-WF-1-4-03.png]]&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Image:LC-WF-1-4-03.png]]&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;温馨提示：&amp;lt;br&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;1、首次使用配置WIFI密码等的时间会稍长一点（约1分多钟），配置完成后下次开机最短只需要20秒即可自动连上。&amp;lt;br&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;2、若要更换路由器，可断电重启或者按S2键（按S2键会清除之前记忆的WIFI账号和密码），在模式2下重新为ESP-01配置WIFI账号和密码。&amp;lt;br&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;3、当ESP-01记忆的路由器信号很弱或者不在服务区导致连接中断时，绿灯会熄灭并自动尝试连接，在此过程中按键为无效状态，当绿灯变为2S慢闪时说明已恢复连接。&amp;lt;br&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;4、模式1和模式2下只有当绿灯为2秒慢闪或常亮时按键才可用，其余情况为芯片内部自配置或等待配置过程，按键无效。&amp;lt;br&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;5、ESP-01有超时机制，手机与ESP-01无数据往来超过6分钟会自动断开TCP连接，此时点击“EasyTCP_20”APP右上角的“CONNNECT”即可重新建立连接。&amp;lt;br&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;6、关于板载的UART接口：当调试8266时，USB转TTL模块的TX、RX、GND分别接继电器模块的RX、TX、GND；当继电器模块用作USB继电器使用时，USB转TTL模块的TX、RX、GND分别接模块的TX、RX、GND。&amp;lt;br&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;7、关于预留的MCU程序下载口：当板载MCU为STM8S003/STM8S103时NRST、SWIM即为编程接口；当板载MCU为N76E003时，NRST、SWIM、PIN8分别对应于Nu-Link编程器的RST、CLK、DAT接口。&amp;lt;br&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;8、板载MCU的串口波特率为115200，所以当APP与ESP-01无法连接时请先确保所用ESP-01模组的波特率也为115200。&amp;lt;br&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key mediawiki:diff:1.41:old-2233:rev-2234:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Lcadmin</name></author>
	</entry>
	<entry>
		<id>http://wiki.lcmaker.com/index.php?title=LC-WF-2-4&amp;diff=2233&amp;oldid=prev</id>
		<title>Lcadmin：​创建页面，内容为“== 产品名称 == 5V ESP8266芯片控制四路WIFI继电器模块[https://pan.baidu.com/s/1GimUtp4XgRDMPhFrP25XiQ/ 百度网盘]提取码：wwgg  == 概述 == 艾…”</title>
		<link rel="alternate" type="text/html" href="http://wiki.lcmaker.com/index.php?title=LC-WF-2-4&amp;diff=2233&amp;oldid=prev"/>
		<updated>2023-05-10T10:04:20Z</updated>

		<summary type="html">&lt;p&gt;创建页面，内容为“== 产品名称 == 5V ESP8266芯片控制四路WIFI继电器模块[https://pan.baidu.com/s/1GimUtp4XgRDMPhFrP25XiQ/ 百度网盘]提取码：wwgg  == 概述 == 艾…”&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== 产品名称 ==&lt;br /&gt;
5V ESP8266芯片控制四路WIFI继电器模块[https://pan.baidu.com/s/1GimUtp4XgRDMPhFrP25XiQ/ 百度网盘]提取码：wwgg&lt;br /&gt;
&lt;br /&gt;
== 概述 ==&lt;br /&gt;
艾尔赛5VESP8266四路WIFI继电器模块以ESP-01作为WIFI模组，配合成熟稳定的8位MCU芯片，只需简单的配置过程即可实现使用手机APP在局域网内对4路继电器的无线控制。&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:ESP4-1.png]]&lt;br /&gt;
== 特点 ==&lt;br /&gt;
1、板载高性能微处理器和ESP-01WIFI模组&amp;lt;br&amp;gt;&lt;br /&gt;
2、模块具备2种工作模式&amp;lt;br&amp;gt;&lt;br /&gt;
模式1：手机直接搭载在WIFI模组上&amp;lt;br&amp;gt;&lt;br /&gt;
模式2：手机和WIFI模组同时搭载在路由器上&amp;lt;br&amp;gt;&lt;br /&gt;
附加功能：在拔掉ESP-01的情况下还能作为USB继电器来用&amp;lt;br&amp;gt;&lt;br /&gt;
3、传输距离:&amp;lt;br&amp;gt;&lt;br /&gt;
(1)空旷环境下，手机搭载在WIFI模组上时最大稳定传输距离100m&amp;lt;br&amp;gt;&lt;br /&gt;
(2)当WIFI模组和手机同时搭载在路由器上时传输距离依路由器的信号强弱而定&amp;lt;br&amp;gt;&lt;br /&gt;
4、使用Smartconfig技术在手机APP上即可完成对ESP-01WIFI模组账号和密码的配置，配置好后的账号和密码具有断电记忆功能&amp;lt;br&amp;gt;&lt;br /&gt;
5、板载5V,10A/250VAC10A/30VDC继电器，可连续吸合10万次，具有二极管泻流保护，响应时间短&amp;lt;br&amp;gt;&lt;br /&gt;
6、板载模式选择和实时工作状态指示灯&amp;lt;br&amp;gt;&lt;br /&gt;
7、带4个光耦隔离，抗干扰能力强&amp;lt;br&amp;gt;&lt;br /&gt;
8、预留UART调试接口和MCU程序下载接口&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 接口说明 ==&lt;br /&gt;
板子尺寸：60*63mm&amp;lt;br&amp;gt;&lt;br /&gt;
板子功能说明：&amp;lt;br&amp;gt;&lt;br /&gt;
1、板载资源介绍：&amp;lt;br&amp;gt;&lt;br /&gt;
IN+、IN-：5V电源输入&amp;lt;br&amp;gt;&lt;br /&gt;
5V、GND、TX、RX：UART串口引脚&amp;lt;br&amp;gt;&lt;br /&gt;
SWIM、PIN8、NRST：预留MCU程序下载口&amp;lt;br&amp;gt;&lt;br /&gt;
按键S1：模式切换，默认为模式1&amp;lt;br&amp;gt;&lt;br /&gt;
按键S2：恢复出厂设置&amp;lt;br&amp;gt;&lt;br /&gt;
LED D1/D2/D3/D4（红灯）：继电器工作指示灯，打开时点亮&amp;lt;br&amp;gt;&lt;br /&gt;
LED D7（红灯）：模式1指示灯&amp;lt;br&amp;gt;&lt;br /&gt;
LED D5（蓝灯）：模式2指示灯&amp;lt;br&amp;gt;&lt;br /&gt;
LED D6（绿灯）：工作状态指示灯，描述如下：&amp;lt;br&amp;gt;&lt;br /&gt;
(1)熄灭时代表正在自配置或者与路由器失去连接&amp;lt;br&amp;gt;&lt;br /&gt;
(2)0.5S快闪时代表等待手机APP为ESP-01模组配置WIFI账号和密码&amp;lt;br&amp;gt;&lt;br /&gt;
(3)2S慢闪时代表配置完成，等待和手机建立TCP连接&amp;lt;br&amp;gt;&lt;br /&gt;
(4)常亮时代表成功和手机建立TCP连接&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
预留的2个跳线帽：正常使用时请都插到底端（即RX连RX1，TX连TX1），若想单独使用USB转TTL串口模块调试ESP-01模组，请都插到顶端（不然可能会有干扰）。&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
COM1：公共端&amp;lt;br&amp;gt;&lt;br /&gt;
NC1：常闭端，继电器吸合前与COM1短接，吸合后悬空&amp;lt;br&amp;gt;&lt;br /&gt;
NO1：常开端，继电器吸合前悬空，吸合后与COM1短接&amp;lt;br&amp;gt;&lt;br /&gt;
COM2：公共端&amp;lt;br&amp;gt;&lt;br /&gt;
NC2：常闭端，继电器吸合前与COM2短接，吸合后悬空&amp;lt;br&amp;gt;&lt;br /&gt;
NO2：常开端，继电器吸合前悬空，吸合后与COM2短接&amp;lt;br&amp;gt;&lt;br /&gt;
COM3：公共端&amp;lt;br&amp;gt;&lt;br /&gt;
NC3：常闭端， 继电器吸合前与 COM3 短接， 吸合后悬空&amp;lt;br&amp;gt;&lt;br /&gt;
NO3：常开端， 继电器吸合前悬空， 吸合后与 COM3 短接&amp;lt;br&amp;gt;&lt;br /&gt;
COM4：公共端&amp;lt;br&amp;gt;&lt;br /&gt;
NC4：常闭端， 继电器吸合前与 COM4 短接， 吸合后悬空&amp;lt;br&amp;gt;&lt;br /&gt;
NO4：常开端， 继电器吸合前悬空， 吸合后与 COM4 短接&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
温馨提示：以下均以使用手机APP控制前面2路继电器为例，第三路和第四路使用方法相同，只是继电器控制指令不同而已&amp;lt;br&amp;gt;&lt;br /&gt;
* 预留的2个跳线帽：正常使用时请都插到底端（即RX连RX1，TX连TX1），若想单独使用USB转TTL串口模块调试ESP-01模组，请都插到顶端（不然可能会有干扰）。&amp;lt;br&amp;gt;&lt;br /&gt;
* 继电器控制指令（十六进制hex形式）：&amp;lt;br&amp;gt;&lt;br /&gt;
打开第一路继电器：A00101A2&amp;lt;br&amp;gt;&lt;br /&gt;
关闭第一路继电器：A00100A1&amp;lt;br&amp;gt;&lt;br /&gt;
打开第二路继电器：A00201A3&amp;lt;br&amp;gt;&lt;br /&gt;
关闭第二路继电器：A00200A2&amp;lt;br&amp;gt;&lt;br /&gt;
打开第三路继电器：A00301A4&amp;lt;br&amp;gt;&lt;br /&gt;
关闭第三路继电器：A00300A3&amp;lt;br&amp;gt;&lt;br /&gt;
打开第四路继电器：A00401A5&amp;lt;br&amp;gt;&lt;br /&gt;
关闭第四路继电器：A00400A4&amp;lt;br&amp;gt;&lt;br /&gt;
== 使用说明 ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;注：以下均以使用手机APP控制前面2路继电器为例，第三路和第四路使用方法相同，只是继电器控制指令不同而已&amp;#039;&amp;#039;&amp;#039;&amp;lt;br&amp;gt;&lt;br /&gt;
* 使用前准备：&amp;lt;br&amp;gt;&lt;br /&gt;
（1）5V/1A 电源适配器，电源的正负极分别接到模块的 IN+和 IN-&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
（2）安卓手机端安装 APP“EspTouch_Demo”，用于首次使用工作模式 2 时给ESP-01模组配置WIFI账号和密码&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:ESP1-2.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
（3）安卓手机端安装 APP“EasyTCP_20”，TCP传输工具，用于发送继电器控制指令，点击“SWITCH”，然后长按界面中的灰色方块分别输入2路继电器控制指令的名称和内容（指令格式为HEX形式）&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:ESP4-2.png]][[Image:ESP1-4.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:ESP4-3.png]][[Image:ESP4-4.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
*模式一手机搭载在ESP-01模组上）使用说明，以前2路继电器为例：&amp;lt;br&amp;gt;&lt;br /&gt;
（1）插上ESP-01模组，模块上电，约4S钟后绿灯由熄灭变为2S慢闪，说明配置完成；&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:ESP4-5.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
（2）手机连上ESP-01模组发出的 AP 热点信号；&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:ESP1-7.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
（3）打开“EasyTCP_20”APP，点击“CONNECT”，输入IP地址：192.168.4.1和端口号8080，然后点“Connect”，&amp;lt;br&amp;gt;&lt;br /&gt;
连接成功后，绿灯由2秒慢闪变为常亮，点击灰色方块就可以发送指令来控制继电器的开关&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:ESP4-6.png]][[Image:ESP1-9.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:ESP4-4.png]][[Image:ESP4-8.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:LC-WF-1-4-01.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* 模式二：&amp;lt;br&amp;gt;&lt;br /&gt;
（1）插上 ESP-01 模组，模块上电，等绿灯变为慢闪后再按 S1 键切换至模式 2，蓝灯点亮 ， 约1分钟后绿灯由熄灭变为0.5S快闪，说明在等待“EspTouch_Demo”APP为其配置WIFI账号和密码&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:ESP4-7.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
（2）此时手机先连上路由器，打开“EspTouch_Demo”APP，输入路由器密码，点击“Confirm”；&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:ESP1-13.png]][[Image:ESP1-14.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
（3）等待配置成功，当APP界面出现ESP-01的IP（如 192.168.0.174）地址后说明ESP-01模组成功连上了路由器，并自动记忆该账号和密码，下次进入模式2会自动连接（约20-60S即可连上）&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:ESP1-15.png]][[Image:ESP1-16.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
注：192.168.0.174这个IP地址是由路由器动态分配给ESP-01模组的，下次重新连接后地址可能会发生变化，可以在路由器的设备列表里面查看ESP-01模组的实时IP地址。&amp;lt;br&amp;gt;&lt;br /&gt;
（4）打开“EasyTCP_20”APP，点击“CONNECT”，输入 ESP-01 模组的IP地址：192.168.0.174 和端口号8080，然后点“Connect”，&amp;lt;br&amp;gt;&lt;br /&gt;
连接成功后，绿灯由2秒慢闪变为常亮，点击灰色方块就可以发送指令来控制继电器的开关&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:ESP4-6.png]][[Image:ESP1-18.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:ESP4-4.png]][[Image:ESP4-8.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:LC-WF-1-4-02.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* 附加功能：&amp;lt;br&amp;gt;&lt;br /&gt;
准备一个USB转TTL串口模块，TTL模块的GND，TX，RX分别接继电器模块的 GND，TX，RX，拔掉ESP-01模组，选择模式1，&amp;lt;br&amp;gt;&lt;br /&gt;
等绿灯变为2S慢闪后在电脑上打开串口调试软件（如 SSCOM32），选择波特率为115200&amp;lt;br&amp;gt;&lt;br /&gt;
以十六进制（hex）形式发送A0 01 01 A2可打开继电器；以第一路继电器为例，发送A00101A2即可打开第一路继电器&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:ESP1-19.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:LC-WF-1-4-03.png]]&amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>Lcadmin</name></author>
	</entry>
</feed>