Getting wifi to work on esp01

Got all proper AT commands to work but cannot get module to connect to wifi. Blank error message 1662 esp not responding. Any ideas?

What kit are you using? What code are you running that does not allow the module to connect to wifi and causes the error to be reported?
Please provide us with a screenshot of the error report, so that we can analyze and solve the problem.

Thanks so much. Will gather the info and get back to you shortly.

I am using the Most Complete Starter Kit Mega 2560 project.

I was trying to implement the lesson from Tech Explorations for the Arduino IoT Environmental Monitor Project.

Blank Dashboard indicates device is offline?

Attached may image0.jpegwith error message.

Please check if the USB cable is loose. Whether the port can be recognized
What code are you executing, or what course are you executing?
Is your esp01 module wired correctly?
Please let us know your operation steps so that we can analyze and solve the problem easily.

I am implementing the following code for the ArduinoT Environment Monitor Project from SunFounder.

It appears all libraries are installed correctly. I have checked the USB Cable and it downloads properly. I have an independent 3.3 volt supply. What I don’t know is the level shifting from 3.3/5volts is the issue as I have not corrected for this at this point.

I have included the recommended circuit wiring in the following link:

Code follows:

// Comment this out to disable prints and save space

#define BLYNK_PRINT Serial

#include “credentials.h”

#include <ESP8266_Lib.h>

#include <BlynkSimpleShieldEsp8266.h>

char auth = BLYNK_AUTH_TOKEN;

// or Software Serial on Uno, Nano…

#include <SoftwareSerial.h>

SoftwareSerial EspSerial(2, 3); // RX, TX

// Your ESP8266 baud rate:

#define ESP8266_BAUD 9600

ESP8266 wifi(&EspSerial);

const int ledPin=6; // Originally pin 8



int pinValue = param.asInt(); // assigning incoming value from pin V0 to a variable



void setup()


// Debug console


// Set ESP8266 baud rate



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



void loop()



You are using Mega 2560 to wire the module, please make sure the wiring is correct, and please provide your wiring diagram to us.
ESP8266 module needs high current to provide a stable working environment, so please make sure to insert a 9V battery. (We suggest you try with uno R3 board)

  1. Make sure the 9V battery is inserted.
  2. Reset the ESP8266 module by connecting the pin RST to GND for 1 second, then unplug it.
  3. Press the reset button on the R3 board.
  4. Sometimes, you may need to repeat the above operation 3-5 times, please be patient.
    1.4 Connecting the R3 board to Blynk — SunFounder 3in1 Kit documentation

Thanks so much for the suggestions. I will try these and get back to you. I have ordered an R3 board as well.