1 (edited by qaqa85 2020-10-25 16:41:18)

Topic: Problem - connection esp8266 with arduino uno

I do everything from this website https://remotexy.com/en/help/esp8266/ but in serial monitor i see only AT (no connection to Arduino)  I tried to do this https://remotexy.com/en/help/esp8266-firmware-update/ , but when i tried to use AT+GMR command the answear doesnt even shown.  Tried it on other bands but respond was "??". Do u think my ESP8266 is damaged?

  • TX diode on Uno blinks with blue one on ESP in the same time
    ESP is seen by phone as ESP_76ECBD but the name in code is different

Code:

/*
   -- New project --
   
   This source code of graphical user interface
   has been generated automatically by RemoteXY editor.
   To compile this code using RemoteXY library 2.4.3 or later version
   download by link http://remotexy.com/en/library/
   To connect using RemoteXY mobile app by link http://remotexy.com/en/download/                   
     - for ANDROID 4.5.1 or later version;
     - for iOS 1.4.1 or later version;
   
   This source code is free software; you can redistribute it and/or
   modify it under the terms of the GNU Lesser General Public
   License as published by the Free Software Foundation; either
   version 2.1 of the License, or (at your option) any later version.   
*/

//////////////////////////////////////////////
//        RemoteXY include library          //
//////////////////////////////////////////////

// RemoteXY select connection mode and include library
#define REMOTEXY_MODE__ESP8266_HARDSERIAL_POINT

#include <RemoteXY.h>

// RemoteXY connection settings
#define REMOTEXY_SERIAL Serial
#define REMOTEXY_SERIAL_SPEED 19200
#define REMOTEXY_WIFI_SSID "remotexy"
#define REMOTEXY_WIFI_PASSWORD "12345678"
#define REMOTEXY_SERVER_PORT 6377


// RemoteXY configurate 
#pragma pack(push, 1)
uint8_t RemoteXY_CONF[] =
  { 255,1,0,0,0,13,0,10,24,0,
  1,0,43,23,12,12,2,31,88,0 };
 
// this structure defines all the variables and events of your control interface
struct {

    // input variables
  uint8_t button_1; // =1 if button pressed, else =0

    // other variable
  uint8_t connect_flag;  // =1 if wire connected, else =0

} RemoteXY;
#pragma pack(pop)

/////////////////////////////////////////////
//           END RemoteXY include          //
/////////////////////////////////////////////



void setup()
{
  RemoteXY_Init ();
 
 
  // TODO you setup code
 
}

void loop()
{
  RemoteXY_Handler ();
 
 
  // TODO you loop code
  // use the RemoteXY structure for data transfer
  // do not call delay()


}

2

Re: Problem - connection esp8266 with arduino uno

I have the same problem . for some reason it is not picking up the said  name and adding  a next line

3 (edited by jhome0005 2020-11-29 05:24:18)

Re: Problem - connection esp8266 with arduino uno

I've had similar issues before. When I had AT commands not respond, I would upload a blank sketch with the IDE to the ESP8266 with the setting "Erase Flash:" "All Flash Contents" set in the Tools menu. Then re-flash with the "flash download tool" with the SPI Mode on "DOUT", or maybe I had the SPI Auto Set on, "don't remember". Then try AT commands again. This seems to work for me.