Can not communicate with ESP8266 after hardware restart
Posted: Sun May 21, 2017 5:14 pm
Hello, I'm working with the ESP-01, I was testing some AT commands and everything was fine but now I cant communicate with the module.
I succefully changed the baudrate from 115200 to 9600 with the command AT+IPR, I wanted to check if this change was permanent so I pulled the RST pin to GND for a few seconds, after that I cannot communicate with 9600 neither with 115200 or any other baudrate.
I was wondering if uploading a sketch with the serial monitor opened could damage the ESP module, because maybe that was what happened. I was using an external voltage source just for the module, I used a voltage divider from TX of the arduito to RX of the module, RST was disconected, only pulled to GND when I wanted to restart the module, I did that several times.
This is the program that I was using:
This is what I get while trying to communicate at 115200
At 74880 I get some data when I power on the module but cant use AT commands.
I succefully changed the baudrate from 115200 to 9600 with the command AT+IPR, I wanted to check if this change was permanent so I pulled the RST pin to GND for a few seconds, after that I cannot communicate with 9600 neither with 115200 or any other baudrate.
I was wondering if uploading a sketch with the serial monitor opened could damage the ESP module, because maybe that was what happened. I was using an external voltage source just for the module, I used a voltage divider from TX of the arduito to RX of the module, RST was disconected, only pulled to GND when I wanted to restart the module, I did that several times.
This is the program that I was using:
Code: Select all
#include <SoftwareSerial.h>
SoftwareSerial ESP(3, 2); // RX | TX
void setup()
{ Serial.begin(115200);
ESP.begin(115200);
}
void loop()
{
if (ESP.available())
{ char c = ESP.read();
Serial.print(c);
}
if (Serial.available())
{ char c = Serial.read();
ESP.print(c);
}
}
This is what I get while trying to communicate at 115200
At 74880 I get some data when I power on the module but cant use AT commands.