1

Topic: RE: remotexy and arduino esp8266 module

Hello there,
I am using Arduino uno elegoo board and hooked up esp8266 wifi module as described in the remotexy documents. I created a sample sketch and loaded into the  board .i downloaded the app and i could see the remotexy wifi access point. can register  wifi point on my phone but when i try to add the device through the remotexy app it says connection refused.

i look at the serial monitor these are the commands it shows and now "AT+CIPSERVER=1,6377" command. i see the reason being it could be old fimrware. i did update the firmware as described on the document.

AT
AT
AT+RST
ATE0
AT+CWMODE=2
AT+CWDHCP=0,1
AT+CWSAP="RemoteXY","12345678",10,4
AT+CIPMODE=0
AT+CIPMUX=1

here are the configurations after the firware update.

AT version:1.6.2.0(Apr 13 2018 11:10:59)
SDK version:2.2.1(6ab97e9)
compile time:Jun 7 2018 19:34:26
Bin version(Wroom 02):1.6.2


ets Jan 8 2013,rst cause:2, boot mode:(3,7)
load 0x40100000, len 2592, room 16
tail 0
chksum 0xf3
load 0x3ffe8000, len 764, room 8
tail 4
chksum 0x92
load 0x3ffe82fc, len 676, room 4
tail 0
chksum 0x22
csum 0x22
2nd boot version : 1.7(5d6f877)
SPI Speed : 40MHz
SPI Mode : QIO
SPI Flash Size & Map: 4Mbit(256KB+256KB)
jump to run user1 @ 1000


Any help really appreciated. i have been stuck with this issue over a week.

Thanks in advance

Murali



I looked around further the remotexy library file (remotexy.h) file does not have the command to start the server.

so I  added the AT command(AT+CIPSERVER=1,6377)  to start the server in the remotexy.h file and recompiled the sketch and uploaded through Arduino IED. the upload was successful but still server is not starting up.

Also i tried to enable the debug log on the header file

#define REMOTEXY__DEBUGLOG
#define REMOTEXY__DEBUGLOG_SERIAL Serial
#define REMOTEXY__DEBUGLOG_SPEED 115200

When I do this the serial monitor in Arduino IDE stopped  responding AT commands

Any help appreciated.

Murali

2

Re: RE: remotexy and arduino esp8266 module

Try sending these commands manually to ESP through the terminal. All commands in order. See answers from ESP.
Most likely you will not see a response after the AT+CIPMUX=1 command.

3 (edited by rmurali69 2022-12-15 00:25:51)

Re: RE: remotexy and arduino esp8266 module

When i look at the flash download tool log it says v1.5 need SPI flash size map need to be 8Mbit or above. I got new ESP8266 with 8Mbit size.

Here is the log for the new module


00:50:48.743 -> AT

00:50:48.743 ->
00:50:48.743 -> OK
00:50:53.327 -> AT+GMR

00:50:53.327 -> AT version:1.2.0.0(Jul  1 2016 20:04:45)
00:50:53.327 -> SDK version:1.5.4.1(39cb9a32)
00:50:53.327 -> v1.0.0
00:50:53.327 -> Mar 11 2018 18:27:31
00:50:53.367 -> OK
00:51:03.240 -> AT+RST

00:51:03.240 ->
00:51:03.240 -> OK
00:51:03.351 ->
00:51:03.351 ->  ets Jan  8 2013,rst cause:2, boot mode:(3,2)
00:51:03.351 ->
00:51:03.351 -> load 0x40100000, len 1856, room 16
00:51:03.351 -> tail 0
00:51:03.351 -> chksum 0x63
00:51:03.351 -> load 0x3ffe8000, len 776, room 8
00:51:03.394 -> tail 0
00:51:03.394 -> chksum 0x02
00:51:03.394 -> load 0x3ffe8310, len 552, room 8
00:51:03.394 -> tail 0
00:51:03.394 -> chksum 0x79
00:51:03.394 -> csum 0x79
00:51:03.394 ->
00:51:03.394 -> 2nd boot version : 1.5
00:51:03.394 ->   SPI Speed      : 40MHz
00:51:03.394 ->   SPI Mode       : QIO
00:51:03.394 ->   SPI Flash Size & Map: 8Mbit(512KB+512KB)
00:51:03.394 -> jump to run user1 @ 1000

and when I upload the sketch, I get the same result.  stops at AT+CIPMUX=1

also, not sure why i cannot enable the debugging in remotexy.

fyi: I am using windows system. i use the putty for serial monitor, when I connect with and yes no response after AT+CIPMUX=1 command.


Any suggestion what is going on here. i have been stuck with more than  2 weeks now.

4

Re: RE: remotexy and arduino esp8266 module

For debugging, you must use a free serial port. If you set Serial to connect to the ESP, you won't be able to use Serial for debugging. It is not possible to see the debug log on the Arduino Uno, no additional Serial port.
If your ESP does not respond "OK" to the request "AT + CIPMUX=1" in manual mode using putty without RemoteXY, then you need to look for a problem in this why it does not respond.