The ESP8266 Module controls the relay status

August 15, 2018 By Adeept 4,517

ESP8266 is a low-power UART-WiFi module. It can be widely used in many aspects such as smart power system, smart transportation, smart home, handheld devices, industrial control and so on. This module uses 3.3V power supply, and supports the wireless 802.11 b/g/n standard. In addition, the WiFi module has three operating modes, namely STA, AP and STA + AP
The following is a using routine about this ESP8266 WiFi module on the Arduino platform .

Overview
The PC software “USR-TCP232-Test.exe” send control commands via the WiFi wireless network to change the relay module. Then the status of the relay module will be returned to the computer through ESP8266.

Requirement

1* Adeept UNO R3 Board

1* USB Cable

1* Relay Module

1* RGB LED

1* Breadboard

1* WiFi Router

Several Jumper Wires

Procedures
1. Build the circuit

2. Network Configuration
Run the software USR-TCP232-Test.exe on your computer, then enter the following configuration information:AdeeptData

note:
When downloading the program, please disconnect the communication port(URXD , UTXD) of ESP8266 from Adeept UNO R3 Board. After the program is completed, connect the ESP8266 communication port(URXD , UTXD) to Adeept UNO R3 Board.Otherwise the program download may fail.

6.Observe the experimental phenomena

Send different character to the Adeept UNO R3 Board via WiFi. Such as and “2”.