Esp8266 to aurdino mega error

As provided in other post I had given separate 3.3volt supply using adapter n even tried to provide supply using TTL UART.
I am using 115200 baudrate and I didn’t understand what you meant about that hardware 8080 port
But I am getting only AT+CIPCLOSE TCP, blynk. Com, 80 in the serial monitor

You missed an important one :stuck_out_tongue_winking_eye: Hardware uses port 8080 for Local Server, and while not yet enforced, I believe the same goes for Cloud Server.

And of course there could be all sorts of other reasons, but you haven’t provided enough details on your sketch and device hookup, ESP BAUD rate, power sources for the ESP (Do NOT use the 3.3v pin on the Mega… not powerful enough), etc.

All of these issues have been detailed multiple times in this forum.

Yes as mentioned in other posts I have tried all I have given separate 3.3volt supply using adapter with 600mA current and again tried with UART TTL adapter to provide supply… But still giving that error
And I didn’t understand what you meant about that hardware 8080 port…
I am getting error in serial monitor as
AT +CIPCLOSE =1
AT +CIPSTART =1,TCP, blynk.com, 80
And it keeps repeating


I enabled port 8080 n still getting this error

/* Comment this out to disable prints and save space */

#define BLYNK_PRINT Serial


#include <ESP8266_Lib.h>
#include <BlynkSimpleShieldEsp8266.h>

// You should get Auth Token in the Blynk App.
// Go to the Project Settings (nut icon).
char auth[] = "YourAuthToken";

// Your WiFi credentials.
// Set password to "" for open networks.
char ssid[] = "yourUsername";
char pass[] = "YourPassword";

// Hardware Serial on Mega, Leonardo, Micro...
#define EspSerial Serial1

// or Software Serial on Uno, Nano...
//#include <SoftwareSerial.h>
//SoftwareSerial EspSerial(2, 3); // RX, TX

// Your ESP8266 baud rate:
#define ESP8266_BAUD 115200

ESP8266 wifi(&EspSerial);

void setup()
{
  // Debug console
  Serial.begin(9600);

  // Set ESP8266 baud rate
  EspSerial.begin(ESP8266_BAUD);
  delay(10);

  Blynk.begin(auth, wifi, ssid, pass);
  // You can also specify server:
  //Blynk.begin(auth, wifi, ssid, pass, "blynk-cloud.com", 8442);
  //Blynk.begin(auth, wifi, ssid, pass, IPAddress(192,168,1,100), 8442);
}

void loop()
{
  Blynk.run();
  // You can inject your own code or combine it with other sketches.
  // Check other examples on how to communicate with Blynk. Remember
  // to avoid delay() function!
}

The code I use is taken from blynk website only user name… Password has been changed properly and even serial communication pins are properly assigned… Based on what will be given in code… Like serial. Begin uses different pins and serial1.begin uses different pins

Have you searched this forum for other ESP as shield topics?.. There are answers to every scenario repeated multiple times already… power, BAUD rates, pinouts, AT commands & setup, etc.

PS I fixed your code post as per the directions…