-->
Page 1 of 3

ESP-03 not responding after reset

PostPosted: Tue Nov 03, 2015 2:34 am
by TijuanaKez
Hello there,

Wanting to use ESP-03 to add wifi to arduino project and was working well during testing but after I issued the AT+RST command, I no longer receive responses from the ESP8266.

I'm using a breadboard PSU to supply 3.3V VCC, logic level converter forTX/RX and have CH-PD tied to VCC and GPIO15 tied to ground.

I originally had changed ESP8266 baud to 9600 as 115200 wasn't stable with SoftwareSerial.
But it doesn't respond with either 9600 or 115200 now.

Am i missing something or have i just probably burnt the board somehow?

Just using this code to test.


Code: Select all#include <SoftwareSerial.h>
SoftwareSerial ESPSerial(2, 4);
 
void setup() {
  Serial.begin(9600);
  ESPSerial.begin(115200);
  //ESPSerial.begin(9600);
}

void loop() {
  if (Serial.available()) {
    String str = Serial.readStringUntil('\n');
    Serial.println("");
    Serial.println("You sent: " + str);
    ESPSerial.println(str);
  }
  if (ESPSerial.available()) {
    char chr = ESPSerial.read();
    if(chr != 0) Serial.print(chr);
  }
}


Appreciate any tips or info I may have missed.

Re: ESP-03 not responding after reset

PostPosted: Wed Nov 04, 2015 12:46 am
by TijuanaKez
btw, If I power cycle it, I get the boot loader gibberish coming through the console so it's not a power issue.

Re: ESP-03 not responding after reset

PostPosted: Wed Nov 04, 2015 3:28 am
by eduperez
To properly flash a ESP device, GPIO0 must be HIGH and GPIO2 must be LOW; after flashing the device, it will boot from flash irregardless of GPIO0 and GPIO2. However, when powering-up or after a reset, both GPIO0 and GPIO2 must be HIGH or the device will not boot from flash.

Re: ESP-03 not responding after reset

PostPosted: Wed Nov 04, 2015 9:27 am
by martinayotte
eduperez wrote:GPIO0 must be HIGH and GPIO2 must be LOW;


it is the reverse : GPIO0=LOW and GPIO2=HIGH.

https://github.com/esp8266/esp8266-wiki ... ot-Process