- Fri Nov 03, 2017 7:19 am
#71482
Hi,
I have followed this project and got following problem:
https://www.hackster.io/makerrelay/esp8 ... ome-e8a437I have managed to get it work partially.
I can successfully communicate with the ESP8266 board using USR-TCP232-Test-V1.3 application plugged via USB To RS232 TTL PL2303HX Auto Converter Module
I can configure device to work in both described Modes :
Mode 1; (Cell phones carry on the WiFi module directly.)
AT+CWMODE=2
AT+RST
AT+CIPMUX=1
AT+CIPSERVER=1,8080
AT+CIFSR
AT+CIOBAUD=9600
Mode 2; (Cell phone and WiFi module carry on the same router.)
AT+CWMODE=1
AT+RST
AT+CWJAP="SSID","password"
AT+CIPMUX=1
AT+CIPSERVER=1,8080
AT+CIFSR
AT+CIOBAUD=9600
I can get successful communication (apps<>board) on “EasyTCP” Android application but when trying to push OPEN/CLOSE commands A0 01 00 A1 ; A0 01 01 A2 application crash on my Android 7.1.1 Nougat phone
Seems like apps or Nougat problem. So cannot use phone to operate the board
Cannot find “EasyTCP_20” apps on google Play store there is only “EasyTCP”.
Tools folder of following drive.google location do not contain EasyTCP_20:
https://drive.google.com/drive/folders/ ... 2VPRGszMGsFrom my PC running USR-TCP232-Test-V1.3 I can get board fully configured with proper board response
But in regards to Relay operations I can only send single hex successful command 0xA0, 0x01, 0x01, 0xA2 allowing the board to CLOSE relay
This works
But it will never OPEN a relay using hex 0xA0, 0x01, 0x00, 0xA1 command
Tested on both Modes, including sending hex commands via serial port aplication (USR-TCP232-Test-V1.3 or hercules_3-2-8).
as per circuit error discovery:
viewtopic.php?p=65332#p65332On my original board from "LC Technology" the resistor R3=4.7Kohm and R4=10Kohm, but according to the circuit layout should be R3=10Kohm and R4=4.7Kohm. I have re-soldered as per circuit diagram. Stil the same
Removing of R4 does not help as well
Open: A0 01 00 A1; A00100A1; hex format: 0xA0, 0x01, 0x00, 0xA1
Close: A0 01 01 A2; A00101A2; hex format: 0xA0, 0x01, 0x01, 0xA2
I have hooked only Relay board (ESP8266 disconnected) to Arduino UNO (+5; GND; RX-0; TX-1 and load following sketch from:
viewtopic.php?p=66327#p66327all work as expected Arduino switch relay in 2 sec interval properly
Any idea what I do wrong? I cannot get relay to OPEN only.
Is there any other Android/IOS application working with the circuit so I can operate the board from smartphone?
My ESP8266 FW version:
AT+GMR
AT version:1.2.0..0 (Jul 1 2016 20:04:45)
SDK version:1.5.4.1(39cb9a32)
Ai-Thinker Technology Co. Ltd.
Dec 2 2016 14:21:16
OK