I have spent two day for Arduino Micro + ESP8266 -SP1 + Blynk v3.8. My diagram is the same below one but with Arduino Micro. Finally, i got this result, nothing more.
By the way? Why do you use the arduino? Would be ESP8266 standalone version not a nice solution? When you need more pins they are a lot of alternatives e.g. Wemos D1, ESPDuino etc.
I started also with using arduino nano + esp8266 + at command via softserial. I want never have this trouble again
Because i am using ESP8266-sp1, i have to connect to Arduino. Then, I think Blynk.begin(auth, wifi, “ssid”, “password”); is exact. That is example code from Blynk.
Does this thing have two serial interfaces? On a Uno or Nano you can only use one hardware serial interface. I see you use Serial1 port for ESP, but does that actually exist on this board?
Does the actual baudrate on the ESP and the Arduino serial port match? Some ESP’s are out of the box with a setting of 9600, others 115200 and so on. You could check by hooking up the ESP to a USB-Serial convertor and see when it connects to it properly and responds with OK to an AT command.
I set baud rate on ESP8266 to 9600, then it responsed OK with command AT. In an other hand, I also tested with Arduino UNO, use software serial in above code but Blynk app show your “Arduino UNO is not in network”.
You are right! The first problem which newbies as me usually get is ignoring vendor’s official guide.
From above captured serial monitor, I see that my ESP got an incorrect IP address from DHCP although serial monitor shown “connected to wifi”. It has to be 192.168.0.X as my router. Thus, ESP did not connect exactly to router. After checking AT commands, I revealed that I have to set ESP to client mode and disable it’s DHCP.
Finally, the command helped me having motivation with ESP8266:
the Solution is simple:
Change your DNS of your router with google DNS : 8.8.8.8 and 8.8.4.4
I Confirm it working, because I’ve experienced this problem.
ESP 8266 ESP12E + Arduino Mega + Blynk v3.8
Thank you for your information - in fact I still use the old libraries and luckily work it. I only hope that it will work until the “end of the world” because some of the systems I gave my colleagues and me will be difficult to update them.