Svetainėje naudojami slapukai sklandžiam jos veikimui, naršymo patirties gerinimui, rinkodarai. Daugiau apie naudojamus slapukus ir kaip jų atsisakyti - privatumo politikoje

LT EN RU

WIFI MODULIS ESP8266 5V, su rele

Kodas ABESP08
  • Svoris bruto 20.00g

Eshop kaina: 11,60 €

Kiekis: 3+ 6+
Kaina: 11,02 10,79
Min. užsakymas: 1 Kartotinumas: 1

Kiekis

Prekės buvimo vietos:
Centrinis sandėlis Kaune Prekę turime (3)
Parduotuvė Vilniuje Nr. 1 Prekę turime (1)
Parduotuvė Kaune Nr. 1 Prekę turime (1)

Prekės aprašymas

  1. Summarize

    LC 5V WiFi relay module carried a ESP8266 WiFi module and microcontroller.It will send the serial port instructions to the cell phone APP and Implementation within the local area network (LAN) for wireless control relay.

  2. The function and characteristics

  3. Onboard ESP8266 wifi module,In AP mode, it can be connected by 5 clients at the same time;

  4. Wifi relay module has two work modes: (1)cell phones carry on the wifi module directly; (2)cell phone and wifi module carry on the same router;
  5. Transmission distance: (1) In the open environment, the maximum transmission distance is 400m when the cell phone carry on the wifi module directly ; (2) when the wifi module and cell phone carrying on the same router ,the transmission distance depend on the router’s signal intensity;
  6. Onboard 5v, 10 A / 250 v AC 10 A / 30 v DC relay, absorb 100000 times continuously; Module with diode effusion protection, short response time;

  7. Introduced the hardware and instructions

Size: 45*28mm The board function description: IN +,IN-: 5V power input; TX ,RX and GND: serial port debug pins;

Instructions:

  1. Onboard the ESP8266 wifi module has three work modes: STA (client), AP (hot), STA + AP( hot +client), According to the work mode of wifi relay module to choose the corresponding mode of ESP8266 wifi module .

  2. Module need configuration by serial debugging software and USB to TTL module send serial command , TX ,RX ,GND pin of USB to TTL module connect to RX ,TX ,GND pin of ESP8266 relay module,and IN+,IN- connect to DC5V power.

  3. The default Baud rate of wifi module maybe is 115200 or 9600,you can send AT command change it,such as: AT+CIOBAUD=115200. I recommend you use 115200 in general conditions, but you should change it to 9600 when you use cell phone control the relay(because the Baud rate of on board MCU STC15F104W is 9600).

4.Kindly Remind:

  1. Wifi relay module need to reconfigure if restart

  2. ESP8266 wifi module has a timeout mechanism, when the cell phone haven’t sent commands to the ESP8266 wifi module over a period of time (default is 180s) , the ESP8266 wifi module will kick off your cell phone, you can send

AT + CIPSTO = < time > on the PC to modify this time (time range 0-7200), such as: AT + CIPSTO = 3600.

  1. If it not return OK and just return what you’ve sent commands when you use “USR-TCP232-Test-V1.3” configure the wifi module,you can press the ENTER before send commands

  2. If it no response when you use “USR-TCP232-Test-V1.3” configure the wifi module, maybe the baud rate is incorrect,You can try 115200 or 9600. but when you use cell phone control the relay, you must make sure the baud rate of wifi module is 9600(send AT+CIOBAUD=9600 can change it),because the baud rate of onboard MCU(STC15F104W) is 9600

  3. If you want to use a computer to control relay directly(baud rate is 9600), you can unplug the ESP8266 wifi module,and TX ,RX ,GND pin of USB to TTL module connect to TX ,RX ,GND pin of wifi relay module, IN+ and IN- connect to DC5V power. Send serial command(A00101A2 open relay; A00100A1 closed relay,command format must be hex) with serial debugging software on the PC to control the relay.

6.If the relay can’t open or close,maybe you need remove the R4, and use the USB to TTL module’s VCC pin connect to relay module’s 5V pin.

5.Installation steps

For work mode 1 (cell phones carry on the wifi module directly),Open the “USR-TCP232-Test-V1.3” Serial debugging software on the PC , send the flowing commands step by step:

  1. AT+CWMODE=2, select AP mode;

  2. AT+RST, reset;

  3. AT+CIPMUX=1, open multiple connections;

  4. AT+CIPSERVER=1,8080, configure the TCP server, set the port number;

  5. AT+CIFSR, view the IP address in AP mode, such as: APIP, “192.168.4.1";

  6. AT+CIOBAUD=9600, set Baud rate to 9600.

  7. Connect to the AP(Access Point) of ESP8266 wifi module on Android cell phone

  8. Install the “EasyTCP_20” APP on the Android cell phone and open it, click “connect” and enter the IP address and port

  9. Press the function blocks and enter the name and content of the serial command (A00101A2 open relay,A00100A1 closed relay,command format must be hex)

  10. Finally you can send serial command to control the relay by click the function blocks.

For work mode 2(cell phone and wifi module carry on the same router),Open the “USR-TCP232-Test-V1.3” Serial debugging software on the PC , send the flowing commands step by step:

  1. AT+CWMODE=1, select STA mode;

  2. AT+RST, reset;

  3. AT+CWJAP=<ssid>, <password>, let WiFi module connect to the router, for example: AT+CWJAP="LCTECH","12345678";

  4. AT+CIPMUX=1, open multiple connections;

  5. AT+CIPSERVER=1,8080, configure the TCP server, set the port number;

  6. AT+CIFSR, view the IP address in STA mode, such as: STAIP, “192.168.1.103”;

  7. AT+CIOBAUD=9600,set Baud rate to 9600.

  8. Using cell phone connect to the router

  9. Install the “EasyTCP_20” APP on the Android cell phone and open it, click “connect” and enter the IP address and port

  10. Press the function blocks and enter the name and content of the serial command (A00101A2 open relay,A00100A1 closed relay,command format must be hex)

  11. Finally you can send serial command to control the relay by click the function blocks.