Our webstore uses cookies to offer a better user experience and we recommend you to accept their use to fully enjoy your navigation.
View larger
0104110000083173
New product
5V Relay for WiFi module (WiFi module not included)
THE WIFI MODULE IS NOT INCLUDED! YOU HAVE TO BUY IT SEPARATELY!
See description for more details about the product.
Add to cart now!
28 Item Items
Warning: Last items in stock!
Availability date:
1. AT+CWMODE=2, select AP mode;
2. AT+RST, reset;
3. AT+CIPMUX=1, enable multi-connection;
4. AT+CIPSERVER=1,8080, configure the TCP server and set the port number;
5. AT+CIOBAUD=9600 set the baud rate to 9600. (Because the relay control chip works at 9600 baud rate)
6. AT+CIFSR, check the IP address in AP mode, for example: APIP,"192.168.4.1";
7. Connect the mobile phone to the WIFI signal whose name starts with AI-THINKER or ESP8266;
8. Enter the address and port in the "TCP Connection" APP, such as 192.168.4.1 and 8080;
9. Click the corresponding gray square to control the relay
1) The module needs a 3.3V FTDI converter to connect. The FTDI TX pin goes to the RX pin of the module and the FTDI RX pin goes to FTDI TX pins of the module. Connect FDTI GND to the module GND. The FTDI connection allows you to start a server at TCP port 8080 which can be activated by the following commands:
AT+CIPMUX=1
AT+CIPSERVER=1,8080
2) You also need an Android Wi-Fi controller app to control the relay
3) Open your phone wireless settings, you should see an SSID named "AI-THINKER_XXXXX". You can go connect to it. By default, the ip address is 192.168.4.1. Once you are connect to the relay. You can send the following HEX vales to control the relay.
send A0 01 01 A1 will turn off the relay
send A0 01 00 A2 will turn on the relay
Note that you will need to start over from step 1 if the power to the relay module is turned off.
Don't delay. Buy today.
MAX485 TTL to RS-485 Interface Module
$0.96
4 x 4 x 1.5 mm SMD Button See description for...
$0.12
NodeMCU is an open source IoT platform. It...
$4.56
This optoisolated 4 relay module is used for...
$3.33
The ESP8266 Wifi module is a low cost and...
$4.20
Double On / Off Switch with LED See...
$0.72
Development Board Compatible with Arduino UNO...
$13.05
High-performance WiFi ESP-07, which can help...
$3.99
L293D motor shield, the input voltage DC 4.5 -...
$4.80
This module converts the signal from a USB...
$1.49