Specifications:
Board size :60*63mm
Interface on board :
IN+、IN-:5V voltage input ;
5V、GND、TX、RX:UART serial port PIN ;
SWIM、PIN8、NRST:reserved MCU download port 。
Button S1:change mode ,default mode is mode 1
Button S2:reset
LED D1/D2/D3/D4(red ):relay working LED,LED on when relay is on
LED D7(red ):indicator for mode 1
LED D5(blue):indicator for mode 2
LED D6(green ):work statue indicator ,exact details as below :
(1)When extinguished, it is being configured or disconnected from the router.
(2)0.5s fast blinking represents cellphone app is configuring WIFI account and password for ESP-01 module
(3) 2S slow blinking to configure finished ,and wait for connection with cellphone by TCP
(4)LED always on represents TCP connections with mobile phone successfully
Connection for reserved two cap jumper :
Generally ,insert them to bottom ,that is RX to RX1,TX to TX1 .Insert them to upper ,when use it as USB module
COM1 COM2 COM3 COM4 :Common terminal ;
NC1 NC2 NC3 NC4 :normal close
NO1 NO2 NO3 NO4 :normal open
Control command for relay (hex format ):
Open relay 1 :A0 01 01 A2
Close relay 1 :A0 01 00 A1
Open relay 2 :A0 02 01 A3
Close relay 2:A0 02 00 A2
Open relay 3 :A0 03 01 A4
Close relay 3 :A0 03 00 A3
Open relay 4 :A0 04 01 A5
Close relay 4 :A0 04 00 A4
Package Included:
1x 5V ESP8266 Four Channel Wifi Relay IOT Smart Home Cellphone APP Remote Control
Tips:
All of the following are used to control the first 2 relay in the mobile phone APP. The third and fourth way are the same, except that the relay control instructions are different.