Chat here is you are connecting ESP-xx type modules to existing AVR based Arduino

Moderator: igrr

User avatar
By TijuanaKez
#32903 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.
User avatar
By eduperez
#33003 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.