Esp connects then disconnects ,repeats over and over

Hi,im new to esp and blynk.
at first i tired to upload a simple program by just controlling a led with the esp with the gpi02 pin,it worked perfectly.so i tried to control a servo using the code provided below.the code uploaded well but when i try to connect it to my blynk app it connects then disconnects continuously. in the serial monitor it says connecting then connected then same thing over n over again. i cannot even control the led with this program.Can i know where am i doing wrong?does it have anything to do with firmware and flashing the esp?im pretty lost,power supply is also separate 3.3 v for esp.

• Arduino UNO with ESP8266-01
• Smartphone Android
• Blynk server
• Blynk Library version 0.5.4
esp 2.5.0 beta 2


#define BLYNK_PRINT Serial


#include <ESP8266WiFi.h>
#include <BlynkSimpleEsp8266.h>
#include <Servo.h>

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

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

Servo servo;

BLYNK_WRITE(V3)
{
  servo.write(param.asInt());
}

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

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

  servo.attach(9);
}

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

Servo powered by a separate power supply? One way or another, the servo gives a very big noise. If you can lay out the screen series of the monitor.

does it work if you comment out:

servo.attach(9);

?

If you’ve uploaded code to your ESP-01 already then you’ve overwritten the default AT firmware that it shipped with.
This is needed if you want your ESP-01 to act as a Wi-Fi modem for your Uno, so you’ll need to download a copy of the AT firmware and re-flash your ESP with it.

You’ll then need to set the ESP to the desired baud rate to work with the Uno over software serial (as the Uno has only one serial UART). You then need to flash the Uno with proper code to make it use the ESP as a Wi-Fi modem, and control the servo.

Take a look at the Sketch Builder for some examples of code. I’d start with code to flash an LED that’s connected to the Uno, to ensure that it’s all working correctly to begin with.

Pete.

1 Like

nope the esp doesnt even connect to my phone

The code you show is for installing directly on an ESP8266 acting as an independent MCU… however your apparent hardware connection is using the ESP-01 as a WiFi shield. So you will need to adjust your libraries used as well as other connection factors in your sketch for that ESP as shield application…

Just use the standard Blynk Servo Example sketch for that ESP as shield format (NOTE: read the comments… you WILL need to adjust for using the UNO with SoftSerial in the sketch)

4 posts were split to a new topic: Project disconnects from the Blynk server and does not connect anymore only after a reset

how about the wiring ,of the esp to the arduino.

The usual way, TX from one goes to RX on the other and vice versa.

http://help.blynk.cc/how-to-connect-different-hardware-with-blynk/arduino/esp8266-with-at-firmware

Typically on the the UNO’s side, the pins used for this TX and RX application are determined by the pins chosen with SoftSerial. Often used pins are 2 & 3, or 10, 11

Basically any supported digital GPIO

https://www.arduino.cc/en/Reference/softwareSerial

i managed to flash the esp with AT firmware,it is working fine.
but when i ty to compile the example i get lots of error

error message

Arduino: 1.8.8 (Windows 10), Board: "Arduino/Genuino Uno"

libraries\BlynkESP8266_Lib\ESP8266.cpp.o (symbol from plugin): In function `ESP8266::ESP8266(Stream*)':

(.text+0x0): multiple definition of `ESP8266::ESP8266(Stream*)'

libraries\BlynkESP8266_Lib\ESP8266 (2).cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\BlynkESP8266_Lib\ESP8266.cpp.o (symbol from plugin): In function `ESP8266::ESP8266(Stream*)':

(.text+0x0): multiple definition of `ESP8266::ESP8266(Stream*)'

libraries\BlynkESP8266_Lib\ESP8266 (2).cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\BlynkESP8266_Lib\ESP8266.cpp.o (symbol from plugin): In function `ESP8266::ESP8266(Stream*)':

(.text+0x0): multiple definition of `ESP8266::checkIPD(String&)'

libraries\BlynkESP8266_Lib\ESP8266 (2).cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\BlynkESP8266_Lib\ESP8266.cpp.o (symbol from plugin): In function `ESP8266::ESP8266(Stream*)':

(.text+0x0): multiple definition of `ESP8266::rx_empty()'

libraries\BlynkESP8266_Lib\ESP8266 (2).cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\BlynkESP8266_Lib\ESP8266.cpp.o (symbol from plugin): In function `ESP8266::ESP8266(Stream*)':

(.text+0x0): multiple definition of `ESP8266::run()'

libraries\BlynkESP8266_Lib\ESP8266 (2).cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\BlynkESP8266_Lib\ESP8266.cpp.o (symbol from plugin): In function `ESP8266::ESP8266(Stream*)':

(.text+0x0): multiple definition of `ESP8266::recvString(String, unsigned long)'

libraries\BlynkESP8266_Lib\ESP8266 (2).cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\BlynkESP8266_Lib\ESP8266.cpp.o (symbol from plugin): In function `ESP8266::ESP8266(Stream*)':

(.text+0x0): multiple definition of `ESP8266::recvString(String, String, unsigned long)'

libraries\BlynkESP8266_Lib\ESP8266 (2).cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\BlynkESP8266_Lib\ESP8266.cpp.o (symbol from plugin): In function `ESP8266::ESP8266(Stream*)':

(.text+0x0): multiple definition of `ESP8266::recvString(String, String, String, unsigned long)'

libraries\BlynkESP8266_Lib\ESP8266 (2).cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\BlynkESP8266_Lib\ESP8266.cpp.o (symbol from plugin): In function `ESP8266::ESP8266(Stream*)':

(.text+0x0): multiple definition of `ESP8266::recvFind(String, unsigned long)'

libraries\BlynkESP8266_Lib\ESP8266 (2).cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\BlynkESP8266_Lib\ESP8266.cpp.o (symbol from plugin): In function `ESP8266::ESP8266(Stream*)':

(.text+0x0): multiple definition of `ESP8266::recvFindAndFilter(String, String, String, String&, unsigned long)'

libraries\BlynkESP8266_Lib\ESP8266 (2).cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\BlynkESP8266_Lib\ESP8266.cpp.o (symbol from plugin): In function `ESP8266::ESP8266(Stream*)':

(.text+0x0): multiple definition of `ESP8266::eAT()'

libraries\BlynkESP8266_Lib\ESP8266 (2).cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\BlynkESP8266_Lib\ESP8266.cpp.o (symbol from plugin): In function `ESP8266::ESP8266(Stream*)':

(.text+0x0): multiple definition of `ESP8266::kick()'

libraries\BlynkESP8266_Lib\ESP8266 (2).cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\BlynkESP8266_Lib\ESP8266.cpp.o (symbol from plugin): In function `ESP8266::ESP8266(Stream*)':

(.text+0x0): multiple definition of `ESP8266::eATRST()'

libraries\BlynkESP8266_Lib\ESP8266 (2).cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\BlynkESP8266_Lib\ESP8266.cpp.o (symbol from plugin): In function `ESP8266::ESP8266(Stream*)':

(.text+0x0): multiple definition of `ESP8266::restart()'

libraries\BlynkESP8266_Lib\ESP8266 (2).cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\BlynkESP8266_Lib\ESP8266.cpp.o (symbol from plugin): In function `ESP8266::ESP8266(Stream*)':

(.text+0x0): multiple definition of `ESP8266::eATGMR(String&)'

libraries\BlynkESP8266_Lib\ESP8266 (2).cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\BlynkESP8266_Lib\ESP8266.cpp.o (symbol from plugin): In function `ESP8266::ESP8266(Stream*)':

(.text+0x0): multiple definition of `ESP8266::getVersion()'

libraries\BlynkESP8266_Lib\ESP8266 (2).cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\BlynkESP8266_Lib\ESP8266.cpp.o (symbol from plugin): In function `ESP8266::ESP8266(Stream*)':

(.text+0x0): multiple definition of `ESP8266::eATGSLP(unsigned long)'

libraries\BlynkESP8266_Lib\ESP8266 (2).cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\BlynkESP8266_Lib\ESP8266.cpp.o (symbol from plugin): In function `ESP8266::ESP8266(Stream*)':

(.text+0x0): multiple definition of `ESP8266::deepSleep(unsigned long)'

libraries\BlynkESP8266_Lib\ESP8266 (2).cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\BlynkESP8266_Lib\ESP8266.cpp.o (symbol from plugin): In function `ESP8266::ESP8266(Stream*)':

(.text+0x0): multiple definition of `ESP8266::eATE(unsigned char)'

libraries\BlynkESP8266_Lib\ESP8266 (2).cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\BlynkESP8266_Lib\ESP8266.cpp.o (symbol from plugin): In function `ESP8266::ESP8266(Stream*)':

(.text+0x0): multiple definition of `ESP8266::setEcho(unsigned char)'

libraries\BlynkESP8266_Lib\ESP8266 (2).cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\BlynkESP8266_Lib\ESP8266.cpp.o (symbol from plugin): In function `ESP8266::ESP8266(Stream*)':

(.text+0x0): multiple definition of `ESP8266::eATRESTORE()'

libraries\BlynkESP8266_Lib\ESP8266 (2).cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\BlynkESP8266_Lib\ESP8266.cpp.o (symbol from plugin): In function `ESP8266::ESP8266(Stream*)':

(.text+0x0): multiple definition of `ESP8266::restore()'

libraries\BlynkESP8266_Lib\ESP8266 (2).cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\BlynkESP8266_Lib\ESP8266.cpp.o (symbol from plugin): In function `ESP8266::ESP8266(Stream*)':

(.text+0x0): multiple definition of `ESP8266::eATSETUART(unsigned long, unsigned char)'

libraries\BlynkESP8266_Lib\ESP8266 (2).cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\BlynkESP8266_Lib\ESP8266.cpp.o (symbol from plugin): In function `ESP8266::ESP8266(Stream*)':

(.text+0x0): multiple definition of `ESP8266::setUart(unsigned long, unsigned char)'

libraries\BlynkESP8266_Lib\ESP8266 (2).cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\BlynkESP8266_Lib\ESP8266.cpp.o (symbol from plugin): In function `ESP8266::ESP8266(Stream*)':

(.text+0x0): multiple definition of `ESP8266::qATCWMODE(unsigned char*, unsigned char)'

libraries\BlynkESP8266_Lib\ESP8266 (2).cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\BlynkESP8266_Lib\ESP8266.cpp.o (symbol from plugin): In function `ESP8266::ESP8266(Stream*)':

(.text+0x0): multiple definition of `ESP8266::getOprMode(unsigned char)'

libraries\BlynkESP8266_Lib\ESP8266 (2).cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\BlynkESP8266_Lib\ESP8266.cpp.o (symbol from plugin): In function `ESP8266::ESP8266(Stream*)':

(.text+0x0): multiple definition of `ESP8266::eATCWMODE(String&)'

libraries\BlynkESP8266_Lib\ESP8266 (2).cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\BlynkESP8266_Lib\ESP8266.cpp.o (symbol from plugin): In function `ESP8266::ESP8266(Stream*)':

(.text+0x0): multiple definition of `ESP8266::getWifiModeList()'

libraries\BlynkESP8266_Lib\ESP8266 (2).cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\BlynkESP8266_Lib\ESP8266.cpp.o (symbol from plugin): In function `ESP8266::ESP8266(Stream*)':

(.text+0x0): multiple definition of `ESP8266::sATCWMODE(unsigned char, unsigned char)'

libraries\BlynkESP8266_Lib\ESP8266 (2).cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\BlynkESP8266_Lib\ESP8266.cpp.o (symbol from plugin): In function `ESP8266::ESP8266(Stream*)':

(.text+0x0): multiple definition of `ESP8266::setOprToStation(unsigned char, unsigned char)'

libraries\BlynkESP8266_Lib\ESP8266 (2).cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\BlynkESP8266_Lib\ESP8266.cpp.o (symbol from plugin): In function `ESP8266::ESP8266(Stream*)':

(.text+0x0): multiple definition of `ESP8266::setOprToSoftAP(unsigned char, unsigned char)'

libraries\BlynkESP8266_Lib\ESP8266 (2).cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\BlynkESP8266_Lib\ESP8266.cpp.o (symbol from plugin): In function `ESP8266::ESP8266(Stream*)':

(.text+0x0): multiple definition of `ESP8266::setOprToStationSoftAP(unsigned char, unsigned char)'

libraries\BlynkESP8266_Lib\ESP8266 (2).cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\BlynkESP8266_Lib\ESP8266.cpp.o (symbol from plugin): In function `ESP8266::ESP8266(Stream*)':

(.text+0x0): multiple definition of `ESP8266::qATCWJAP(String&, unsigned char)'

libraries\BlynkESP8266_Lib\ESP8266 (2).cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\BlynkESP8266_Lib\ESP8266.cpp.o (symbol from plugin): In function `ESP8266::ESP8266(Stream*)':

(.text+0x0): multiple definition of `ESP8266::getNowConecAp(unsigned char)'

libraries\BlynkESP8266_Lib\ESP8266 (2).cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\BlynkESP8266_Lib\ESP8266.cpp.o (symbol from plugin): In function `ESP8266::ESP8266(Stream*)':

(.text+0x0): multiple definition of `ESP8266::sATCWJAP(String, String, unsigned char)'

libraries\BlynkESP8266_Lib\ESP8266 (2).cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\BlynkESP8266_Lib\ESP8266.cpp.o (symbol from plugin): In function `ESP8266::ESP8266(Stream*)':

(.text+0x0): multiple definition of `ESP8266::joinAP(String, String, unsigned char)'

libraries\BlynkESP8266_Lib\ESP8266 (2).cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\BlynkESP8266_Lib\ESP8266.cpp.o (symbol from plugin): In function `ESP8266::ESP8266(Stream*)':

(.text+0x0): multiple definition of `ESP8266::eATCWLAP(String&)'

libraries\BlynkESP8266_Lib\ESP8266 (2).cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\BlynkESP8266_Lib\ESP8266.cpp.o (symbol from plugin): In function `ESP8266::ESP8266(Stream*)':

(.text+0x0): multiple definition of `ESP8266::getAPList()'

libraries\BlynkESP8266_Lib\ESP8266 (2).cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\BlynkESP8266_Lib\ESP8266.cpp.o (symbol from plugin): In function `ESP8266::ESP8266(Stream*)':

(.text+0x0): multiple definition of `ESP8266::eATCWQAP()'

libraries\BlynkESP8266_Lib\ESP8266 (2).cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\BlynkESP8266_Lib\ESP8266.cpp.o (symbol from plugin): In function `ESP8266::ESP8266(Stream*)':

(.text+0x0): multiple definition of `ESP8266::leaveAP()'

libraries\BlynkESP8266_Lib\ESP8266 (2).cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\BlynkESP8266_Lib\ESP8266.cpp.o (symbol from plugin): In function `ESP8266::ESP8266(Stream*)':

(.text+0x0): multiple definition of `ESP8266::qATCWSAP(String&, unsigned char)'

libraries\BlynkESP8266_Lib\ESP8266 (2).cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\BlynkESP8266_Lib\ESP8266.cpp.o (symbol from plugin): In function `ESP8266::ESP8266(Stream*)':

(.text+0x0): multiple definition of `ESP8266::getSoftAPParam(unsigned char)'

libraries\BlynkESP8266_Lib\ESP8266 (2).cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\BlynkESP8266_Lib\ESP8266.cpp.o (symbol from plugin): In function `ESP8266::ESP8266(Stream*)':

(.text+0x0): multiple definition of `ESP8266::sATCWSAP(String, String, unsigned char, unsigned char, unsigned char)'

libraries\BlynkESP8266_Lib\ESP8266 (2).cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\BlynkESP8266_Lib\ESP8266.cpp.o (symbol from plugin): In function `ESP8266::ESP8266(Stream*)':

(.text+0x0): multiple definition of `ESP8266::setSoftAPParam(String, String, unsigned char, unsigned char, unsigned char)'

libraries\BlynkESP8266_Lib\ESP8266 (2).cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\BlynkESP8266_Lib\ESP8266.cpp.o (symbol from plugin): In function `ESP8266::ESP8266(Stream*)':

(.text+0x0): multiple definition of `ESP8266::eATCWLIF(String&)'

libraries\BlynkESP8266_Lib\ESP8266 (2).cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\BlynkESP8266_Lib\ESP8266.cpp.o (symbol from plugin): In function `ESP8266::ESP8266(Stream*)':

(.text+0x0): multiple definition of `ESP8266::getJoinedDeviceIP()'

libraries\BlynkESP8266_Lib\ESP8266 (2).cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\BlynkESP8266_Lib\ESP8266.cpp.o (symbol from plugin): In function `ESP8266::ESP8266(Stream*)':

(.text+0x0): multiple definition of `ESP8266::qATCWDHCP(String&, unsigned char)'

libraries\BlynkESP8266_Lib\ESP8266 (2).cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\BlynkESP8266_Lib\ESP8266.cpp.o (symbol from plugin): In function `ESP8266::ESP8266(Stream*)':

(.text+0x0): multiple definition of `ESP8266::getDHCP(unsigned char)'

libraries\BlynkESP8266_Lib\ESP8266 (2).cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\BlynkESP8266_Lib\ESP8266.cpp.o (symbol from plugin): In function `ESP8266::ESP8266(Stream*)':

(.text+0x0): multiple definition of `ESP8266::sATCWDHCP(unsigned char, unsigned char, unsigned char)'

libraries\BlynkESP8266_Lib\ESP8266 (2).cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\BlynkESP8266_Lib\ESP8266.cpp.o (symbol from plugin): In function `ESP8266::ESP8266(Stream*)':

(.text+0x0): multiple definition of `ESP8266::setDHCP(unsigned char, unsigned char, unsigned char)'

libraries\BlynkESP8266_Lib\ESP8266 (2).cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\BlynkESP8266_Lib\ESP8266.cpp.o (symbol from plugin): In function `ESP8266::ESP8266(Stream*)':

(.text+0x0): multiple definition of `ESP8266::eATCWAUTOCONN(unsigned char)'

libraries\BlynkESP8266_Lib\ESP8266 (2).cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\BlynkESP8266_Lib\ESP8266.cpp.o (symbol from plugin): In function `ESP8266::ESP8266(Stream*)':

(.text+0x0): multiple definition of `ESP8266::setAutoConnect(unsigned char)'

libraries\BlynkESP8266_Lib\ESP8266 (2).cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\BlynkESP8266_Lib\ESP8266.cpp.o (symbol from plugin): In function `ESP8266::ESP8266(Stream*)':

(.text+0x0): multiple definition of `ESP8266::qATCIPSTAMAC(String&, unsigned char)'

libraries\BlynkESP8266_Lib\ESP8266 (2).cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\BlynkESP8266_Lib\ESP8266.cpp.o (symbol from plugin): In function `ESP8266::ESP8266(Stream*)':

(.text+0x0): multiple definition of `ESP8266::getStationMac(unsigned char)'

libraries\BlynkESP8266_Lib\ESP8266 (2).cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\BlynkESP8266_Lib\ESP8266.cpp.o (symbol from plugin): In function `ESP8266::ESP8266(Stream*)':

(.text+0x0): multiple definition of `ESP8266::eATCIPSTAMAC(String, unsigned char)'

libraries\BlynkESP8266_Lib\ESP8266 (2).cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\BlynkESP8266_Lib\ESP8266.cpp.o (symbol from plugin): In function `ESP8266::ESP8266(Stream*)':

(.text+0x0): multiple definition of `ESP8266::setStationMac(String, unsigned char)'

libraries\BlynkESP8266_Lib\ESP8266 (2).cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\BlynkESP8266_Lib\ESP8266.cpp.o (symbol from plugin): In function `ESP8266::ESP8266(Stream*)':

(.text+0x0): multiple definition of `ESP8266::qATCIPSTAIP(String&, unsigned char)'

libraries\BlynkESP8266_Lib\ESP8266 (2).cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\BlynkESP8266_Lib\ESP8266.cpp.o (symbol from plugin): In function `ESP8266::ESP8266(Stream*)':

(.text+0x0): multiple definition of `ESP8266::getStationIp(unsigned char)'

libraries\BlynkESP8266_Lib\ESP8266 (2).cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\BlynkESP8266_Lib\ESP8266.cpp.o (symbol from plugin): In function `ESP8266::ESP8266(Stream*)':

(.text+0x0): multiple definition of `ESP8266::eATCIPSTAIP(String, String, String, unsigned char)'

libraries\BlynkESP8266_Lib\ESP8266 (2).cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\BlynkESP8266_Lib\ESP8266.cpp.o (symbol from plugin): In function `ESP8266::ESP8266(Stream*)':

(.text+0x0): multiple definition of `ESP8266::setStationIp(String, String, String, unsigned char)'

libraries\BlynkESP8266_Lib\ESP8266 (2).cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\BlynkESP8266_Lib\ESP8266.cpp.o (symbol from plugin): In function `ESP8266::ESP8266(Stream*)':

(.text+0x0): multiple definition of `ESP8266::qATCIPAP(String&, unsigned char)'

libraries\BlynkESP8266_Lib\ESP8266 (2).cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\BlynkESP8266_Lib\ESP8266.cpp.o (symbol from plugin): In function `ESP8266::ESP8266(Stream*)':

(.text+0x0): multiple definition of `ESP8266::getAPIp(unsigned char)'

libraries\BlynkESP8266_Lib\ESP8266 (2).cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\BlynkESP8266_Lib\ESP8266.cpp.o (symbol from plugin): In function `ESP8266::ESP8266(Stream*)':

(.text+0x0): multiple definition of `ESP8266::eATCIPAP(String, unsigned char)'

libraries\BlynkESP8266_Lib\ESP8266 (2).cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\BlynkESP8266_Lib\ESP8266.cpp.o (symbol from plugin): In function `ESP8266::ESP8266(Stream*)':

(.text+0x0): multiple definition of `ESP8266::setAPIp(String, unsigned char)'

libraries\BlynkESP8266_Lib\ESP8266 (2).cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\BlynkESP8266_Lib\ESP8266.cpp.o (symbol from plugin): In function `ESP8266::ESP8266(Stream*)':

(.text+0x0): multiple definition of `ESP8266::eCWSTARTSMART(unsigned char)'

libraries\BlynkESP8266_Lib\ESP8266 (2).cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\BlynkESP8266_Lib\ESP8266.cpp.o (symbol from plugin): In function `ESP8266::ESP8266(Stream*)':

(.text+0x0): multiple definition of `ESP8266::startSmartConfig(unsigned char)'

libraries\BlynkESP8266_Lib\ESP8266 (2).cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\BlynkESP8266_Lib\ESP8266.cpp.o (symbol from plugin): In function `ESP8266::ESP8266(Stream*)':

(.text+0x0): multiple definition of `ESP8266::eCWSTOPSMART()'

libraries\BlynkESP8266_Lib\ESP8266 (2).cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\BlynkESP8266_Lib\ESP8266.cpp.o (symbol from plugin): In function `ESP8266::ESP8266(Stream*)':

(.text+0x0): multiple definition of `ESP8266::stopSmartConfig()'

libraries\BlynkESP8266_Lib\ESP8266 (2).cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\BlynkESP8266_Lib\ESP8266.cpp.o (symbol from plugin): In function `ESP8266::ESP8266(Stream*)':

(.text+0x0): multiple definition of `ESP8266::eATCIPSTATUS(String&)'

libraries\BlynkESP8266_Lib\ESP8266 (2).cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\BlynkESP8266_Lib\ESP8266.cpp.o (symbol from plugin): In function `ESP8266::ESP8266(Stream*)':

(.text+0x0): multiple definition of `ESP8266::getIPStatus()'

libraries\BlynkESP8266_Lib\ESP8266 (2).cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\BlynkESP8266_Lib\ESP8266.cpp.o (symbol from plugin): In function `ESP8266::ESP8266(Stream*)':

(.text+0x0): multiple definition of `ESP8266::sATCIPSTARTSingle(String, String, unsigned long)'

libraries\BlynkESP8266_Lib\ESP8266 (2).cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\BlynkESP8266_Lib\ESP8266.cpp.o (symbol from plugin): In function `ESP8266::ESP8266(Stream*)':

(.text+0x0): multiple definition of `ESP8266::createTCP(String, unsigned long)'

libraries\BlynkESP8266_Lib\ESP8266 (2).cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\BlynkESP8266_Lib\ESP8266.cpp.o (symbol from plugin): In function `ESP8266::ESP8266(Stream*)':

(.text+0x0): multiple definition of `ESP8266::registerUDP(String, unsigned long)'

libraries\BlynkESP8266_Lib\ESP8266 (2).cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\BlynkESP8266_Lib\ESP8266.cpp.o (symbol from plugin): In function `ESP8266::ESP8266(Stream*)':

(.text+0x0): multiple definition of `ESP8266::sATCIPSTARTMultiple(unsigned char, String, String, unsigned long)'

libraries\BlynkESP8266_Lib\ESP8266 (2).cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\BlynkESP8266_Lib\ESP8266.cpp.o (symbol from plugin): In function `ESP8266::ESP8266(Stream*)':

(.text+0x0): multiple definition of `ESP8266::createTCP(unsigned char, String, unsigned long)'

libraries\BlynkESP8266_Lib\ESP8266 (2).cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\BlynkESP8266_Lib\ESP8266.cpp.o (symbol from plugin): In function `ESP8266::ESP8266(Stream*)':

(.text+0x0): multiple definition of `ESP8266::registerUDP(unsigned char, String, unsigned long)'

libraries\BlynkESP8266_Lib\ESP8266 (2).cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\BlynkESP8266_Lib\ESP8266.cpp.o (symbol from plugin): In function `ESP8266::ESP8266(Stream*)':

(.text+0x0): multiple definition of `ESP8266::sATCIPSENDSingle(unsigned char const*, unsigned long)'

libraries\BlynkESP8266_Lib\ESP8266 (2).cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\BlynkESP8266_Lib\ESP8266.cpp.o (symbol from plugin): In function `ESP8266::ESP8266(Stream*)':

(.text+0x0): multiple definition of `ESP8266::send(unsigned char const*, unsigned long)'

libraries\BlynkESP8266_Lib\ESP8266 (2).cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\BlynkESP8266_Lib\ESP8266.cpp.o (symbol from plugin): In function `ESP8266::ESP8266(Stream*)':

(.text+0x0): multiple definition of `ESP8266::sATCIPSENDMultiple(unsigned char, unsigned char const*, unsigned long)'

libraries\BlynkESP8266_Lib\ESP8266 (2).cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\BlynkESP8266_Lib\ESP8266.cpp.o (symbol from plugin): In function `ESP8266::ESP8266(Stream*)':

(.text+0x0): multiple definition of `ESP8266::send(unsigned char, unsigned char const*, unsigned long)'

libraries\BlynkESP8266_Lib\ESP8266 (2).cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\BlynkESP8266_Lib\ESP8266.cpp.o (symbol from plugin): In function `ESP8266::ESP8266(Stream*)':

(.text+0x0): multiple definition of `ESP8266::sATCIPSENDSingleFromFlash(unsigned char const*, unsigned long)'

libraries\BlynkESP8266_Lib\ESP8266 (2).cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\BlynkESP8266_Lib\ESP8266.cpp.o (symbol from plugin): In function `ESP8266::ESP8266(Stream*)':

(.text+0x0): multiple definition of `ESP8266::sendFromFlash(unsigned char const*, unsigned long)'

libraries\BlynkESP8266_Lib\ESP8266 (2).cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\BlynkESP8266_Lib\ESP8266.cpp.o (symbol from plugin): In function `ESP8266::ESP8266(Stream*)':

(.text+0x0): multiple definition of `ESP8266::sATCIPSENDMultipleFromFlash(unsigned char, unsigned char const*, unsigned long)'

libraries\BlynkESP8266_Lib\ESP8266 (2).cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\BlynkESP8266_Lib\ESP8266.cpp.o (symbol from plugin): In function `ESP8266::ESP8266(Stream*)':

(.text+0x0): multiple definition of `ESP8266::sendFromFlash(unsigned char, unsigned char const*, unsigned long)'

libraries\BlynkESP8266_Lib\ESP8266 (2).cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\BlynkESP8266_Lib\ESP8266.cpp.o (symbol from plugin): In function `ESP8266::ESP8266(Stream*)':

(.text+0x0): multiple definition of `ESP8266::sATCIPCLOSEMulitple(unsigned char)'

libraries\BlynkESP8266_Lib\ESP8266 (2).cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\BlynkESP8266_Lib\ESP8266.cpp.o (symbol from plugin): In function `ESP8266::ESP8266(Stream*)':

(.text+0x0): multiple definition of `ESP8266::releaseTCP(unsigned char)'

libraries\BlynkESP8266_Lib\ESP8266 (2).cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\BlynkESP8266_Lib\ESP8266.cpp.o (symbol from plugin): In function `ESP8266::ESP8266(Stream*)':

(.text+0x0): multiple definition of `ESP8266::unregisterUDP(unsigned char)'

libraries\BlynkESP8266_Lib\ESP8266 (2).cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\BlynkESP8266_Lib\ESP8266.cpp.o (symbol from plugin): In function `ESP8266::ESP8266(Stream*)':

(.text+0x0): multiple definition of `ESP8266::eATCIPCLOSESingle()'

libraries\BlynkESP8266_Lib\ESP8266 (2).cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\BlynkESP8266_Lib\ESP8266.cpp.o (symbol from plugin): In function `ESP8266::ESP8266(Stream*)':

(.text+0x0): multiple definition of `ESP8266::releaseTCP()'

libraries\BlynkESP8266_Lib\ESP8266 (2).cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\BlynkESP8266_Lib\ESP8266.cpp.o (symbol from plugin): In function `ESP8266::ESP8266(Stream*)':

(.text+0x0): multiple definition of `ESP8266::unregisterUDP()'

libraries\BlynkESP8266_Lib\ESP8266 (2).cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\BlynkESP8266_Lib\ESP8266.cpp.o (symbol from plugin): In function `ESP8266::ESP8266(Stream*)':

(.text+0x0): multiple definition of `ESP8266::eATCIFSR(String&)'

libraries\BlynkESP8266_Lib\ESP8266 (2).cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\BlynkESP8266_Lib\ESP8266.cpp.o (symbol from plugin): In function `ESP8266::ESP8266(Stream*)':

(.text+0x0): multiple definition of `ESP8266::getLocalIP()'

libraries\BlynkESP8266_Lib\ESP8266 (2).cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\BlynkESP8266_Lib\ESP8266.cpp.o (symbol from plugin): In function `ESP8266::ESP8266(Stream*)':

(.text+0x0): multiple definition of `ESP8266::sATCIPMUX(unsigned char)'

libraries\BlynkESP8266_Lib\ESP8266 (2).cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\BlynkESP8266_Lib\ESP8266.cpp.o (symbol from plugin): In function `ESP8266::ESP8266(Stream*)':

(.text+0x0): multiple definition of `ESP8266::enableMUX()'

libraries\BlynkESP8266_Lib\ESP8266 (2).cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\BlynkESP8266_Lib\ESP8266.cpp.o (symbol from plugin): In function `ESP8266::ESP8266(Stream*)':

(.text+0x0): multiple definition of `ESP8266::disableMUX()'

libraries\BlynkESP8266_Lib\ESP8266 (2).cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\BlynkESP8266_Lib\ESP8266.cpp.o (symbol from plugin): In function `ESP8266::ESP8266(Stream*)':

(.text+0x0): multiple definition of `ESP8266::sATCIPSERVER(unsigned char, unsigned long)'

libraries\BlynkESP8266_Lib\ESP8266 (2).cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\BlynkESP8266_Lib\ESP8266.cpp.o (symbol from plugin): In function `ESP8266::ESP8266(Stream*)':

(.text+0x0): multiple definition of `ESP8266::startTCPServer(unsigned long)'

libraries\BlynkESP8266_Lib\ESP8266 (2).cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\BlynkESP8266_Lib\ESP8266.cpp.o (symbol from plugin): In function `ESP8266::ESP8266(Stream*)':

(.text+0x0): multiple definition of `ESP8266::startServer(unsigned long)'

libraries\BlynkESP8266_Lib\ESP8266 (2).cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\BlynkESP8266_Lib\ESP8266.cpp.o (symbol from plugin): In function `ESP8266::ESP8266(Stream*)':

(.text+0x0): multiple definition of `ESP8266::stopTCPServer()'

libraries\BlynkESP8266_Lib\ESP8266 (2).cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\BlynkESP8266_Lib\ESP8266.cpp.o (symbol from plugin): In function `ESP8266::ESP8266(Stream*)':

(.text+0x0): multiple definition of `ESP8266::stopServer()'

libraries\BlynkESP8266_Lib\ESP8266 (2).cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\BlynkESP8266_Lib\ESP8266.cpp.o (symbol from plugin): In function `ESP8266::ESP8266(Stream*)':

(.text+0x0): multiple definition of `ESP8266::sATCIPMODE(unsigned char)'

libraries\BlynkESP8266_Lib\ESP8266 (2).cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\BlynkESP8266_Lib\ESP8266.cpp.o (symbol from plugin): In function `ESP8266::ESP8266(Stream*)':

(.text+0x0): multiple definition of `ESP8266::setCIPMODE(unsigned char)'

libraries\BlynkESP8266_Lib\ESP8266 (2).cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\BlynkESP8266_Lib\ESP8266.cpp.o (symbol from plugin): In function `ESP8266::ESP8266(Stream*)':

(.text+0x0): multiple definition of `ESP8266::eATSAVETRANSLINK(unsigned char, String, unsigned long)'

libraries\BlynkESP8266_Lib\ESP8266 (2).cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\BlynkESP8266_Lib\ESP8266.cpp.o (symbol from plugin): In function `ESP8266::ESP8266(Stream*)':

(.text+0x0): multiple definition of `ESP8266::saveTransLink(unsigned char, String, unsigned long)'

libraries\BlynkESP8266_Lib\ESP8266 (2).cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\BlynkESP8266_Lib\ESP8266.cpp.o (symbol from plugin): In function `ESP8266::ESP8266(Stream*)':

(.text+0x0): multiple definition of `ESP8266::eATPING(String)'

libraries\BlynkESP8266_Lib\ESP8266 (2).cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\BlynkESP8266_Lib\ESP8266.cpp.o (symbol from plugin): In function `ESP8266::ESP8266(Stream*)':

(.text+0x0): multiple definition of `ESP8266::setPing(String)'

libraries\BlynkESP8266_Lib\ESP8266 (2).cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\BlynkESP8266_Lib\ESP8266.cpp.o (symbol from plugin): In function `ESP8266::ESP8266(Stream*)':

(.text+0x0): multiple definition of `ESP8266::sATCIPSTO(unsigned long)'

libraries\BlynkESP8266_Lib\ESP8266 (2).cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\BlynkESP8266_Lib\ESP8266.cpp.o (symbol from plugin): In function `ESP8266::ESP8266(Stream*)':

(.text+0x0): multiple definition of `ESP8266::setTCPServerTimeout(unsigned long)'

libraries\BlynkESP8266_Lib\ESP8266 (2).cpp.o (symbol from plugin):(.text+0x0): first defined here

collect2.exe: error: ld returned 1 exit status

exit status 1
Error compiling for board Arduino/Genuino Uno.

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

the code i used

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

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();
}

,why it doest even compile

The “code” I just used for your last two posts :stuck_out_tongue_winking_eye:

Blynk%20-%20FTFC

i don’t know, probably something messed up in your IDE and/or libraries… remove Blynk and reinstall as per the directions.

http://help.blynk.cc/getting-started-library-auth-token-code-examples/how-to-install-blynk-library-for-arduino

@vinzmac with IDE 1.8.8 and board set as Uno your last sketch compiles OK. As stated, start again with a clean install etc.

i uninstalled everything deleted all files,
installed back ide 1.8.8 ,
downloaded blynk zip file ,extracted files ,moved to library and tools folder…
installed esp board 2.5.0 beta 2.
still same prob

Are you selecting Uno for the board?

i did :sob::sob::sob: …
im going crazy with tiz…

Select verbose compiler warnings and paste the result here.

yeahhhhhhhhhhhhhhhhhh,finallyyyyyyy,something to do with my ide ,
i did online with arduino create it worked perfectly,
tq soo much guys if only i can cinfigure whats wrong with my ide

can help how u solve the riddle …i think ii got same problem

@Mohd_Azhar this is a three year old topic, and the version of Blynk in use at that time has now been retired.
You’ve provided no information about the version of Blynk that you yourself are using, or whether you also have overwritten the default firmware in the ESP-01, as the OP did in this case.

I’d suggest that you start a new “Need help with my project” topic, and provide ALL of the information that is requested when you do that.
You should also include details of how your hardware is connected and powered, along with any additional information that you feel may be of use.

Pete.