Difference between revisions of "LC-WF-6-1"

From LCWIKI
Jump to: navigation, search
(Product name)
Line 1: Line 1:
=='''Product name'''==
+
== '''Product name''' ==
DC7-80/5V power supply ESP8266 WiFi single-channel 30A relay module ESP-12F development board secondary development.<br>
+
DC7-80/5V power supply ESP8266 WIFI single-channel 30A relay module ESP-12F development board secondary development [https://pan.baidu.com/share/init?surl=Mp8Vod-Y5KT7ZUVglVzY9A  Baidu network disk] extraction code: sca2<br>
  
=='''Overview'''==
 
LC eWeLink WiFi 2-way switch is a device that can intelligently control the functions of home appliances through mobile phones and voice.2-way controller, adjust the three modes of inching, self-locking and interlocking on the eWeLink APP, suitable for curtains, rolling shutter doors, electric sliding doors, etc.<br>
 
Built-in memory chip, ultra-high stability, even if the network is suddenly disconnected, it can still work on time.It has powerful functions, supports voice control, mobile phone control, remote control, and is smart and convenient to use.
 
[[File:LC-WF-6-1-1.png]]<br>
 
  
  
 +
== '''LC-WF-6-1 view''' ==
 +
Front view<br>
 +
[[File:WF-6-1-1.jpg]]<br>
  
 +
Reverse view<br>
 +
[[File:WF-6-1-2.png]]<br>
  
=='''Features'''==
 
*Intelligent cloud control supports one mobile phone to control multiple modules, allowing family members to share the joy of operation<br>
 
It supports one control for many and multiple controls for one, and can be shared to achieve multi-control use. For enterprises, offices, and products, the master account management mechanism is also applicable. Even if an employee leaves his job, his control permissions can be revoked with one click.<br>
 
  
*Support voice control module<br>
 
Supports voice control of TmallGenie, dumall Audio, Xiaomi AI speakers and DingDong speakers. It does not require a gateway host and is directly controlled by voice. It is compatible with various smart speakers and devices on the market.<br>
 
  
*Use WeChat applet or APP intelligent control<br>
+
== '''Overview''' ==
Use the "eWeLink applet" to easily log in to your eWeLink APP account for device control. Search "eWeLink" on WeChat to find the mini program for operation.<br>
+
LC ESP8266 single-channel 30A relay development board is equipped with the ESP-12FWiFi module, with all I/O ports and supports DC7-80V/5V power supply. Provides Arduino development environment reference code, suitable for ESP8266 secondary development learning, smart home wireless control and other occasions.<br>
  
*Smart timing delay function<br>
 
Set the time to automatically turn on or off the time, accurate to one minute, word timing, cycle timing, multiple modes, multiple sets of timing, which can be added or customized at will<br>
 
  
*Ultra-remote control, thousands of miles away, one-button control<br>
 
Anytime, anywhere, lights, exhaust fans, electrical appliances, mobile phone remote control. From now on, distance is no longer a problem. It can be controlled globally. As long as the mobile phone has a 2/3/4G signal, everything can be controlled.<br>
 
  
*Can replace 99% of traditional switches<br>
+
== '''Function features''' ==
Instead of connecting to traditional modules, use mobile phones and AI devices to intelligently control the switch status.<br>
+
1.Onboard mature and stable ESP-12FWiFi module, large capacity 4M Byte Flash;<br>
  
 +
2.The I/O port and UART program download port of the WiFi module are all lead out to facilitate secondary development;<br>
  
 +
3.The power supply mode supports DC7-8V/5V;<br>
  
 +
4.Onboard WiFi module RET reset button and a programmable button;<br>
  
=='''Interface Description'''==
+
5.ESP-12F supports the use of development tools such as Eclipse/Arduino IDE and provides reference programs for the Arduino development environment;<br>
 +
 
 +
6.There is one 5V/30A relay onboard, which outputs switching signals and is suitable for controlling loads with operating voltages within AC250V/DC30V;<br>
 +
 
 +
7.Onboard power indicator and relay indicator, ESP-12F comes with 1 programmable LED.<br>
 +
 
 +
 
 +
 
 +
== '''Hardware introduction and description''' ==
 +
1.Board size:78*47mm  Weight:45g<br>
 +
[[File:WF-6-1-3.jpg]]<br>
 +
 
 +
'''2.Interface introduction'''<br>
 +
[[File:WF-6-1-4.jpg]]<br>
 +
Programming port: GND, RX, TX, and 5V of ESP8266 are connected to GND, TX, RX, and 5V of the external TTL serial port module respectively. IO0 needs to be connected to GND when downloading. After the download is completed, disconnect the connection between IO0 and GND;<br>
 +
 
 +
'''Relay output terminals:'''<br>
 +
NC: Normally closed terminal, short-circuited to COM before the relay is closed, and left floating after closing;<br>
 +
COM: public terminal;<br>
 +
NO: Normally open terminal, the relay is suspended before closing, and short-circuited to COM after closing.<br>
 +
 
 +
 
 +
'''3.GPIO pinout port introduction'''<br>
 +
{| class="wikitable" style="width:800px"
 +
|-
 +
| NO. || Name ||Function description||NO.||Name||Function description
 +
|-
 +
| 1 || ADC||A/D conversion result. Input voltage range: 0~1V, value range: 0~1024||10||IO2||GPIO2;UART1_TXD 
 +
|-
 +
| 2 ||EN||Enable pin, pull-up by default||11||IO15||GPIO15;MTDO;HSPI_CS;UART0_RTS
 +
|-
 +
| 3 || IO16||GPIO16||12||TXD||UART0_TXD;GPIO1 
 +
|-
 +
| 4|| IO14||GPIO14;HSPI_CLK||13||RXD||UART0_RXD;GPIO3
 +
|-
 +
| 5 || IO12||GPIO12;HSPI_MISO ||14||GND||Power ground
 +
|-
 +
| 6 || IO13||GPIO13;HSPI_MOSI;UART0_CTS ||15||5V||5V power
 +
|-
 +
| 7|| IO5||GPIO5||16||3.3V||3.3V power
 +
|-
 +
| 8 ||IO4||GPIO4||17||RY1||For the relay drive port, you can use a shorting cap and IO16 short circuit; if you want to use other I/O to drive the relay, you can use a DuPont jumper
 +
|-
 +
|9 ||IO0||GPIO0|||| ||
 +
|}<br>
 +
 
 +
'''4.Arduino development environment setup'''<br>
 +
ESP8266 supports development tools such as Eclipse/Arduino IDE. Using Arduino is relatively simple. The following is how to set up the Arduino development environment:<br>
 +
①Install Arduino IDE 1.8.9 or the latest version<br>
 +
②Open Arduino IDE, click File--Preferences in the menu bar, enter Preferences, and click Add URL in "Additional Development Board Manager URL":http://arduino.esp8266.com/stable/package_esp8266com_index.json<br>
 +
[[File:LC-WF-1-8-3.png]]<br>
 +
 
 +
③Click Tools--Development Board--Development Board Manager in the menu bar, and then search for "ESP8266" to install Arduino's support package 2.5.2 or the latest version for ESP8266<br>
 +
[[File:LC-WF-1-8-4.png]]<br>
 +
  Note: Since the download URL is from abroad, the access speed is relatively slow, and download errors may occur. Just try a few more times when the network is good.<br>
 +
 
 +
 
 +
'''5.Program download'''<br>
 +
①Use a jumper cap to connect the IO0 and GND pins, prepare a TTL serial port module (for example: FT232) and plug it into the computer USB. The connection method between the serial port module and the development board is as follows:<br>
 
{| class ="wikitable" style="width:800px;"
 
{| class ="wikitable" style="width:800px;"
 
|-
 
|-
| Logo || Description
+
| TTL serial port module || ESP8266 development board
 
|-
 
|-
| 5V、VCC、GND || AC90V-250V input or DC5V input;
+
| GND || GND;
 
|-  
 
|-  
| NC1/2 || Normally closed end;
+
| TX || RX;
 
|-  
 
|-  
| NO1/2 || Normally open end;
+
| RX || TX;
 
|-  
 
|-  
| COM1/2 || Public end;
+
| 5V || 5V;
 
|}
 
|}
 +
②Click Tools--Development Board in the menu bar and select the development board as ESPino (ESP-12module)<br>
 +
③Open the program you want to download, click Tools--Port on the menu bar and select the correct port number.<br>
 +
④After clicking "Upload", the program will be automatically compiled and downloaded to the development board, as follows:<br>
 +
[[File:LC-WF-1-8-5.png]]<br>
 +
⑤Finally, connect the port IO0 to GND, power on the development board again or press the reset button to run the program.<br>
  
  
  
 
+
== '''Download the LC-WF-6-1 user manual''' ==
=='''Connection instructions'''==
+
For more information about the use of LC-WF-6-1, please view the [https://pan.baidu.com/share/init?surl=Mp8Vod-Y5KT7ZUVglVzY9A  Baidu network disk] extraction code: sca2
1.eWeLink APP connection<br>
 
(1)Download and install eWeLink APP; search for "eWeLink" through the App Store or browser;<br>
 
(2)The input end of the module is connected to the power supply;<br>
 
(3)Press and hold any manual button for 7 seconds until the green indicator light of the module flashes quickly;<br>
 
(4)Open the eWeLink APP, register and log in to your account, click "+" below and select Quick Add, select to add a device, fill in the WiFi password when the phone is connected to WiFi and click Next to start automatic pairing, wait for about 3 minutes the device can be connected successfully;<br>
 
(5)APP control device switch: After the addition is completed, the mobile phone can remotely control the device through <br>WiFi/4G/3G/2G network, and the working status of the device will also be synchronously fed back on the mobile phone.<br>
 
[[File:LC-WF-6-1-2.png]]      [[File:LC-WF-6-1-3.png]]<br>
 
 
 
[[File:LC-WF-6-1-4.png]]      [[File:LC-WF-6-1-5.png]]<br>
 
 
 
[[File:LC-WF-6-1-6.png]]      [[File:LC-WF-6-1-7.png]]<br>
 
 
 
 
 
2.Local key switch<br>
 
The device not only supports APP control, but also can be controlled by local buttons when the device is disconnected and offline.<br>
 

Revision as of 14:18, 31 January 2024

Product name

DC7-80/5V power supply ESP8266 WIFI single-channel 30A relay module ESP-12F development board secondary development Baidu network disk extraction code: sca2


LC-WF-6-1 view

Front view
WF-6-1-1.jpg

Reverse view
WF-6-1-2.png


Overview

LC ESP8266 single-channel 30A relay development board is equipped with the ESP-12FWiFi module, with all I/O ports and supports DC7-80V/5V power supply. Provides Arduino development environment reference code, suitable for ESP8266 secondary development learning, smart home wireless control and other occasions.


Function features

1.Onboard mature and stable ESP-12FWiFi module, large capacity 4M Byte Flash;

2.The I/O port and UART program download port of the WiFi module are all lead out to facilitate secondary development;

3.The power supply mode supports DC7-8V/5V;

4.Onboard WiFi module RET reset button and a programmable button;

5.ESP-12F supports the use of development tools such as Eclipse/Arduino IDE and provides reference programs for the Arduino development environment;

6.There is one 5V/30A relay onboard, which outputs switching signals and is suitable for controlling loads with operating voltages within AC250V/DC30V;

7.Onboard power indicator and relay indicator, ESP-12F comes with 1 programmable LED.


Hardware introduction and description

1.Board size:78*47mm Weight:45g
WF-6-1-3.jpg

2.Interface introduction
WF-6-1-4.jpg
Programming port: GND, RX, TX, and 5V of ESP8266 are connected to GND, TX, RX, and 5V of the external TTL serial port module respectively. IO0 needs to be connected to GND when downloading. After the download is completed, disconnect the connection between IO0 and GND;

Relay output terminals:
NC: Normally closed terminal, short-circuited to COM before the relay is closed, and left floating after closing;
COM: public terminal;
NO: Normally open terminal, the relay is suspended before closing, and short-circuited to COM after closing.


3.GPIO pinout port introduction

NO. Name Function description NO. Name Function description
1 ADC A/D conversion result. Input voltage range: 0~1V, value range: 0~1024 10 IO2 GPIO2;UART1_TXD
2 EN Enable pin, pull-up by default 11 IO15 GPIO15;MTDO;HSPI_CS;UART0_RTS
3 IO16 GPIO16 12 TXD UART0_TXD;GPIO1
4 IO14 GPIO14;HSPI_CLK 13 RXD UART0_RXD;GPIO3
5 IO12 GPIO12;HSPI_MISO 14 GND Power ground
6 IO13 GPIO13;HSPI_MOSI;UART0_CTS 15 5V 5V power
7 IO5 GPIO5 16 3.3V 3.3V power
8 IO4 GPIO4 17 RY1 For the relay drive port, you can use a shorting cap and IO16 short circuit; if you want to use other I/O to drive the relay, you can use a DuPont jumper
9 IO0 GPIO0

4.Arduino development environment setup
ESP8266 supports development tools such as Eclipse/Arduino IDE. Using Arduino is relatively simple. The following is how to set up the Arduino development environment:
①Install Arduino IDE 1.8.9 or the latest version
②Open Arduino IDE, click File--Preferences in the menu bar, enter Preferences, and click Add URL in "Additional Development Board Manager URL":http://arduino.esp8266.com/stable/package_esp8266com_index.json
LC-WF-1-8-3.png

③Click Tools--Development Board--Development Board Manager in the menu bar, and then search for "ESP8266" to install Arduino's support package 2.5.2 or the latest version for ESP8266
LC-WF-1-8-4.png

 Note: Since the download URL is from abroad, the access speed is relatively slow, and download errors may occur. Just try a few more times when the network is good.


5.Program download
①Use a jumper cap to connect the IO0 and GND pins, prepare a TTL serial port module (for example: FT232) and plug it into the computer USB. The connection method between the serial port module and the development board is as follows:

TTL serial port module ESP8266 development board
GND GND;
TX RX;
RX TX;
5V 5V;

②Click Tools--Development Board in the menu bar and select the development board as ESPino (ESP-12module)
③Open the program you want to download, click Tools--Port on the menu bar and select the correct port number.
④After clicking "Upload", the program will be automatically compiled and downloaded to the development board, as follows:
LC-WF-1-8-5.png
⑤Finally, connect the port IO0 to GND, power on the development board again or press the reset button to run the program.


Download the LC-WF-6-1 user manual

For more information about the use of LC-WF-6-1, please view the Baidu network disk extraction code: sca2