My ESP-01 is not respoding with Arduino mega

I’m doing a project with esp - 01 and arduino mega, but when i upload and opened my serial monitor appeared " [1609] ESP is not responding". My ESP firmware is At version:; SDK version: 1.5.4 (this version came with the ESP) I read that this is the version that blynk tested, so i do not know what is the problem with my project.
Another information:

  • I’m using ESP-01 Adatper
  • My connections are:
    gnd β†’ gnd
    vcc β†’ 5v
    tx β†’ tx1 18
    rx β†’ rx1 19

Isn’t ESP-01 running on 3.3 V? :thinking:

Anyhow, search the forum. Similar questions have been asked and answered many times before! :slight_smile:

What does your serial monitor show?


This is my serial monitor

i’m using the adapter to connect directly on 5v

The Tx pin on the board has to go to the Rx pin on the ESP-01 and vice-versa.


thanks, but i changed and keep showing up the same error

I’d suggest that you post your full sketch, correctly formatted with triple backticks at the beginning and end of the code.
Triple backticks look like this:


Okay, follow my code:

#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[] = "dpIzSePNszzISpUPC60J58lUfoaB8xAe";

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

// 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 38400

ESP8266 wifi(&EspSerial);

BlynkTimer timer;

// This function sends Arduino's up time every second to Virtual Pin (5).
// In the app, Widget's reading frequency should be set to PUSH. This means
// that you define how often to send data to Blynk App.
void myTimerEvent()
  // You can send any value at any time.
  // Please don't send more that 10 values per second.
  Blynk.virtualWrite(V5, millis() / 1000);

void setup()
  // Debug console

  // Set ESP8266 baud rate

  Blynk.begin(auth, wifi, ssid, pass);
  // You can also specify server:
  //Blynk.begin(auth, wifi, ssid, pass, "", 80);
  //Blynk.begin(auth, wifi, ssid, pass, IPAddress(192,168,1,100), 8080);

  // Setup a function to be called every second
  timer.setInterval(1000L, myTimerEvent);

void loop()
{;; // Initiates BlynkTimer

Is this the baud rate that your ESP is actually using?


isn’t, is 115200, i changed and now it’s working. thank you for helping.

1 Like