Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ESP8266 not responding with atmega 2560 or Arduino uno #94

Open
creatvipin opened this issue Aug 31, 2017 · 2 comments
Open

ESP8266 not responding with atmega 2560 or Arduino uno #94

creatvipin opened this issue Aug 31, 2017 · 2 comments

Comments

@creatvipin
Copy link

error
I have used ESP8266 SDK version 2.0.1 latest with STM32F401,STM32F407 .But it does not respond to AT Command with STM32 or any other microcontroller.

I have tested it with ITEAD with arduino mega and Arduino uno available library link is given below.
https://github.com/Pranavgulati/ESP8266/blob/master/README.md
In this i have used SDK 0.18 and 0.22 version and latest version 2.0.1 but it does not respond to any of the command from MCU whereas it is working fine with usb to serial converter using terminal.
I have used the bidirectional level shifter also between Arduino and ESP8266 .
Supply current rating is also 1A.

So i want to know that whether how could i can make it work using the Other MCU apart from terminal.

I have searched lot of place,but i did not find any satisfactory answer and applied all the approaches to make it work.I have used ESP8266 SDK version 2.0.1 latest with STM32F401,STM32F407 .But it does not respond to AT Command with STM32 or any other microcontroller.

I have tested it with ITEAD with arduino mega and Arduino uno available library link is given below.
https://github.com/Pranavgulati/ESP8266/blob/master/README.md
In this i have used SDK 0.18 and 0.22 version and latest version 2.0.1 but it does not respond to any of the command from MCU whereas it is working fine with usb to serial converter using terminal.
I have used the bidirectional level shifter also between Arduino and ESP8266 .
Supply current rating is also 1A.

So i want to know that whether how could i can make it work using the Other MCU apart from terminal.

I have searched lot of place,but i did not find any satisfactory answer and applied all the approaches to make it work.

I am also attaching the circuit i used and the error i am getting
img_20170831_235232

@Jamiek94
Copy link

You could try the following:

  • If you are using software serial, set the baud rate to 9600 (within the esp chip & in code)
  • Replace this method in the library:
bool ESP8266::eATGMR(String &version)
{
    rx_empty();
    m_puart->println("AT+GMR");
    return recvFindAndFilter("OK", "+GMR", "\r\nOK", version); // new
    //return recvFindAndFilter("OK", "\r\r\n", "\r\n\r\nOK", version);  // old
}

@MohamedA95
Copy link

hi, i think your problem is with the hardware connections, the mega and the board need to have a common ground. it is not clear in the circuit you provided if they have or not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants