KS0408 keyestudio ESP-01 Relay Module: Difference between revisions

From Keyestudio Wiki
Jump to navigation Jump to search
 
(8 intermediate revisions by the same user not shown)
Line 30: Line 30:
* Output terminal: 128-3.5 3P
* Output terminal: 128-3.5 3P
* Button function: reset button
* Button function: reset button
* Environmental attributes: ROHS
 


<br>
<br>
== Packing Includes ==
== Packing Includes ==
* Keyestudio Relay module x 1
* Keyestudio Relay module x 1
Line 41: Line 42:
<br>
<br>
== Use Methods ==
== Use Methods ==
'''1.'''We have already burned the firmware in the ESP8266-01 WIFI module. And you can re-burn the firmware by yourself as well.  <br>
=== 1.Burn the Firmware ===
We have already burned the firmware in the ESP8266-01 WIFI module. And you can re-burn the firmware by yourself as well.  <br>
The programming method is as follows:  <br>
The programming method is as follows:  <br>
'''<big>①</big> '''Plug the ESP8266 WIFI module onto the keyestudio USB to ESP-01S Wifi shield, and push the shield’s button to '''Uart Download''' end. Then can directly connect them to your computer’s USB port.  <br>
'''<big>①</big> '''Plug the ESP8266 WIFI module onto the keyestudio USB to ESP-01S Wifi shield, and push the shield’s button to '''Uart Download''' end. Then can directly connect them to your computer’s USB port.  <br>
Line 63: Line 65:
<br>
<br>
<br>
<br>
'''2.Station Mode Operation''' <br>
===2.Station Mode Operation===
Because the station_server IP is automatically assigned by the router, so need to read the IP from the serial port. For example: <br>
Because the station_server IP is automatically assigned by the router, so need to read the IP from the serial port. For example: <br>
'''<big>①</big>''' Set the SSID of the home Wifi to: KeyesWifi_S and password is KeyesWifi  <br> <span style=color:red>(note here should set your own home wifi) </span><br>
'''<big>①</big>''' Set the SSID of the home Wifi to: KeyesWifi_S and password is KeyesWifi  <br> <span style=color:red>(note here should set your own home wifi) </span><br>
Line 82: Line 84:
<br>
<br>
'''<big>④</big>''' The PUTTY terminal will print the message showed below. IP read success! <br>
'''<big>④</big>''' The PUTTY terminal will print the message showed below. IP read success! <br>
<br>[[File:Ks0408-图片14.png|600px|frameless|thumb]] <br>
<br>[[File:0408001.png|600px|frameless|thumb]] <br>
<br>
<br>
From the figure, remember your IP name, here is '''192.168.3.5'''  <br>
From the figure, remember your IP name, here is '''192.168.3.2'''  <br>
<br>
<br>
<br>
<br>
Line 113: Line 115:
<br>
<br>
<br>
<br>
'''3.Softap Mode Operation''' <br>
 
===3.Softap Mode Operation===
<br>
<br>
'''<big>①</big>''' The computer and the home wifi are in the same LAN, and the network segment is the same. <span style=color:red> Change your home wifi name to avoid wifi module automatic connected. </span><br>
'''<big>①</big>''' The computer and the home wifi are in the same LAN, and the network segment is the same. <span style=color:red> Change your home wifi name to avoid wifi module automatic connected. </span><br>
Line 120: Line 123:
<br>
<br>
'''<big>③</big>''' Plug the ESP8266-01 module into the relay module and access to 3.3V power supply and wait for 20 seconds.<br>
'''<big>③</big>''' Plug the ESP8266-01 module into the relay module and access to 3.3V power supply and wait for 20 seconds.<br>
<br>[[File:Ks0408-图片1.png|600px|frameless|thumb]] <br>
<br>
<br>
'''<big>④</big>''' Open the network debugging assistant software, as shown below.<br>
'''<big>④</big>''' Open the network debugging assistant software, as shown below.<br>
Line 138: Line 142:
<br>
<br>
<br>
<br>
==Resource==
==Resource==
*Click the link download all the software and datasheet: <br>
 
https://drive.google.com/open?id=1_-bbBZLfi7m4SvHCPCffOwkE0JEbjtiq
https://fs.keyestudio.com/KS0408
 
 
<br>


==Get One Now==
==Get One Now==
*[https://www.keyestudio.com/keyestudio-esp-01-wifi-3v-relay-module-for-arduino-p0541.html  Get one now from keyestudio official website ]
*[https://www.aliexpress.com/store/product/keyestudio-ESP-01-Wifi-3V-Relay-Module-For-Arduino/1452162_32991913341.html?spm=2114.12010615.8148356.1.cb1e56d7Kc20g9  Buy from aliexpress store]




[[Category: Module]]
[[Category: Module]]

Latest revision as of 10:56, 8 January 2021



keyestudio ESP-01 3V Relay Module(Black and Eco-friendly)



Description

Relays are one of the most commonly used components for setting the smart home when we are doing the Internet of Things.
For wireless control, we specially designed this relay module. The relay module is equipped with an ESP8266-01 Wifi module.
It can be connected to the wireless network, and then can send commands to the module in the remote or LAN host computer. After receiving the command, the module can close or open the relay.

For simple use, we provide our own compiled firmware, the firmware is server mode. The specific information are as follows:

  • Module working mode:
work in mode:3
  • Softap mode:
softAP SSID: KeyesWifi_A  ;  password: KeyesWifi   
softAP IP: 192.168.2.1
softAP_server IP: 192.168.2.1
  • Station mode:
Station SSID: KeyesWifi_S  ;  password: KeyesWifi   
Station IP: automatic router assignment
Station_server IP: Router automatically assigns port:8080


Specifications

  • Working voltage: DC 3V--3.3V
  • Working current: >500MA
  • Main control chip: ESP8266-01
  • Relay model: HK4100F-DC3V-SHG
  • Relay Specifications: 3A 250V AC/3A 30V DC
  • Output terminal: 128-3.5 3P
  • Button function: reset button



Packing Includes

  • Keyestudio Relay module x 1
  • ESP8266-01 Wifi module x 1


thumb



Use Methods

1.Burn the Firmware

We have already burned the firmware in the ESP8266-01 WIFI module. And you can re-burn the firmware by yourself as well.
The programming method is as follows:
 Plug the ESP8266 WIFI module onto the keyestudio USB to ESP-01S Wifi shield, and push the shield’s button to Uart Download end. Then can directly connect them to your computer’s USB port.

thumb


Double click to open FLASH_DOWNLOAD_TOOL, as shown in the figure below, uploading the firmware.
You will see the interface window below.

thumb

thumb

Then open the ESP8266 Download Tool.
For SPIDownload, open the corresponding file. As shown below.

thumb

thumb

thumb

After click to start download, the interface is as shown below.
thumb



2.Station Mode Operation

Because the station_server IP is automatically assigned by the router, so need to read the IP from the serial port. For example:
Set the SSID of the home Wifi to: KeyesWifi_S and password is KeyesWifi
(note here should set your own home wifi)

Directly connect the keyestudio USB to ESP-01S Wifi shield to your computer’s USB port. Then push the shield’s button to Flash Boot side.

thumb

Open the PUTTY software on your computer. Below is the example figure we operate.

thumb

Double-click the icon of PUTTY software, pop up the interface window below.
thumb

After Click Open, plug the ESP8266 WIFI module into keyestudio USB to ESP-01S Wifi shield.
Note must click Open first, then plug the ESP8266 WIFI module into keyestudio USB to ESP-01S Wifi shield. Or else it is invalid.

thumb


The PUTTY terminal will print the message showed below. IP read success!

thumb

From the figure, remember your IP name, here is 192.168.3.2


 The computer and the home wifi are in the same LAN, and the network segment is the same. Connect your computer to your home WiFi. For example, here we use: SSID: KeyesWifi_S  ; Password: KeyesWifi


 Plug the ESP8266-01 module into the relay module and access to 3.3V power supply.

thumb


Open the network debugging assistant software, as shown below.

thumb

thumb


 Send the signal PIN00=0 to close the relay. Shown below.

thumb

You will hear the tick sound of relay closed.


 Send the signal PIN00=1 to open the relay. Shown below.

thumb

You will hear the tick sound of relay open.
For the Station mode operation, the test is finished!



3.Softap Mode Operation


 The computer and the home wifi are in the same LAN, and the network segment is the same. Change your home wifi name to avoid wifi module automatic connected.

 Connect your computer to your home WiFi. For example, here we use: SSID: KeyesWifi_A  ; Password: KeyesWifi

 Plug the ESP8266-01 module into the relay module and access to 3.3V power supply and wait for 20 seconds.

thumb

 Open the network debugging assistant software, as shown below.

thumb

thumb

 Send the signal PIN00=0 to close the relay. Shown below.

thumb

You will hear the tick sound of relay closed.

 Send the signal PIN00=1 to open the relay. Shown below.

thumb

You will hear the tick sound of relay open.
For the Softap mode operation, the test is finished!



Resource

https://fs.keyestudio.com/KS0408



Get One Now