Connecting ESP8266 with Arduino Pro Mini to Blynk App (Android)

Hello friends,

I'm working on an arduino project that collects information and send to Blynk app installed in my mobile phone via ESP8266 Wifi module. Since the arduino pro mini has one serial pins (tx, rx), I've assigned the connection as per the special instruction given in their page (check here).

The code I've used is (template given in their page):

/*************************************************************
  Download latest Blynk library here:
    https://github.com/blynkkk/blynk-library/releases/latest
  Blynk is a platform with iOS and Android apps to control
  Arduino, Raspberry Pi and the likes over the Internet.
  You can easily build graphic interfaces for all your
  projects by simply dragging and dropping widgets.
    Downloads, docs, tutorials: http://www.blynk.cc
    Sketch generator:           http://examples.blynk.cc
    Blynk community:            http://community.blynk.cc
    Follow us:                  http://www.fb.com/blynkapp
                                http://twitter.com/blynk_app
  Blynk library is licensed under MIT license
  This example code is in public domain.
 *************************************************************
  This example shows how to use ESP8266 Shield (with AT commands)
  to connect your project to Blynk.
  WARNING!
    It's very tricky to get it working. Please read this article:
    http://help.blynk.cc/hardware-and-libraries/arduino/esp8266-with-at-firmware
  Change WiFi ssid, pass, and Blynk auth token to run :)
  Feel free to apply it to any other example. It's simple!
 *************************************************************/

/* 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[] = "fe82fc82a7e441eb9be2da5c2fc9ec29";

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

// 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);

  delay(10);

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

  Blynk.begin(auth, wifi, ssid, pass);
}

void loop()
{
  Blynk.run();
}

But the result keep repeatedly saying that ESP not responded, which means I didn't get the connection with the wifi module via softwareSerial pins (2,3).

Please be kind enough to let me know what have I mistaken here. My pin configuration with the wifi module are as follows:

VCC -- 3.3V
GND -- GND
Tx -- PIN 2
Rx -- PIN 3
CH_PD -- 3.3V

  1. SoftwareSerial doesn't work at 115200 baud. use 9600 baud. set the 9600 baud rate to AT firmware too.

  2. WiFi of esp8266 draws more current then the 3.3 V pin of Uno can supply. compare the values from datasheets

Thank You @Juraj, May be that is the problem, will get to you ones I check.