What you are seeing is the standard serial data from an ESP.
Now that you have it back in AT mode make sure you don’t flash any Arduino sketches to the ESP.
Flash your Arduino sketch to the Mega and if you have all the right connections for ESP “you are good to go” (that’s a highly technical term used by IT guru’s).
When I say flashing I mean with the Arduino IDE, don’t do it if you want to use the crappy Arduino with ESP connection method. Really you should be looking at the ESP with Mega shield method.
Fairly normal and part of the reason it’s a crappy way to use Blynk.
Look up the AT command for setting the baud rate of the ESP to the snails pace required by the Mega of 9600 and ensure your sketches for the Mega also use 9600.
You will then probably have a handful of other problems but let us know about these when you get to them.
// Set ESP8266 baud rate
EspSerial.begin(ESP8266_BAUD);
delay(100);
Blynk.begin(auth, wifi, ssid, pass);
}
void loop()
{
Blynk.run();
}
i uploaded this sketch to arduino mega
pin configuration
txd - pin 10
rxd - pin 11
it could not connect it says
i also tried external 5v to power my ams1117 regulator to esp12
esp configuration
i have voltage divider resistor at rx pin of esp12
EN is connected to vcc with a 10k resistor
GPIO0 is pulled up by 10k resistor
GPIO15 pulled down by 10k resistor
RST pin has pullup resistor 10k
@princenpg22 “ESP is not responding” is the message that I would say most shield users see when they start out. Formerly they saw a rather cryptic message of “Cannot disable echo”.
Cannot disable echo is one of most “popular” phrases on this site.
Search for both phrases and work through the 87 possible fixes, or simply switch your hardware around to mighty ESP with slow Mega shield
We have decided to purchase a NodeMCU to ease head ache in looking to solve the error.
Another question, If just in case is it possible to use the esp 12e module only (with required voltage reg and division) to have a standalone code, and communicate to arduino via software serial?
Yes… just like any other ESP, within GPIO and memory limitations.
Yes as well… but If you set up programming via OTA then you could probably use the Hardware TX/RX pins, or possibly i2c and a communications library like this…
Ohh, thats a great motivation to continue to know more, since i tried reflashing several binaries, but using standalone code in my esp12e module still connects to the internet
That is a “feature” of the ESP… they retain last WiFi credentials. If you need to you can wipe them out by overwriting the flash memory. You will need to Google that as it is not something I recall off the top-o-me head.