I have a problem in connecting wemos D1 Mini V2.2.0 to Blynk Trying to Load Sketch through Aduino IDE 1.8.7 Ver

Before creating the topic

  1. Search forum for similar topics
  2. Check http://docs.blynk.cc and http://help.blynk.cc/
  3. Add details :
    • Hardware model + communication type. For example: Arduino UNO with Ethernet Shield
    • Smartphone OS (iOS or Android) + version
    • Blynk server or local server
    • Blynk Library version
    • Add your sketch code. :point_up:Code should be formatted as example below.

Simply paste your code between ``` If you don’t format your code, your topic can be deleted by moderators.


void loop()

Try Arduino IDE 1.8.8.

Hi Costaa ,
Thanks for quick response
I tried with 1.8.8 too no luck
did you work with wemos D1 Mini
Please advise

We need more details then.

Sketch and Serial Monitor.

99% of my work is with this hardware.

I tried to Upload the sketch , It is not allowing , i am new to blynk community , amazing app
#define BLYNK_PRINT Serial

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

char auth[] = “xxxx”;
char ssid[] = “MUNEER 9749”;
char pass[] = “xxxxxxxx”;

void setup()
{
// Debug console
Serial.begin(9600);
Blynk.begin(auth, ssid, pass);
}
void loop()
{
Blynk.run();
}

HI costas this is my full sketch

Reproduced without your token:

#define BLYNK_PRINT Serial
#include <ESP8266WiFi.h>
#include <BlynkSimpleEsp8266.h>

char auth[] = “xxxx”;
char ssid[] = “MUNEER 9749”;
char pass[] = “xxxxxxxx”;

void setup()
{
  Serial.begin(9600); // Debug console
  Blynk.begin(auth, ssid, pass);
}
void loop()
{
  Blynk.run();
}

What do you see in Serial Monitor?

Arduino: 1.8.7 (Windows 10), Board: "LOLIN(WEMOS) D1 R2 & mini, 80 MHz, Flash, 4M (no SPIFFS), v2 Lower Memory, Disabled, None, Only Sketch, 921600"

NodeMCU:6:1: error: stray '\223' in program

 char auth[] = “xxxx”;

 ^

NodeMCU:6:1: error: stray '\224' in program

NodeMCU:7:1: error: stray '\223' in program

 char ssid[] = “GWTSVR-MUNEER 9749”;

 ^

NodeMCU:7:1: error: stray '\224' in program

NodeMCU:8:1: error: stray '\223' in program

 char pass[] = “72801%eT”;

 ^

NodeMCU:8:1: error: stray '\224' in program

NodeMCU:6:16: error: 'xxxx' was not declared in this scope

 char auth[] = “xxxx”;

                ^

NodeMCU:7:16: error: 'GWTSVR' was not declared in this scope

 char ssid[] = “GWTSVR-MUNEER 9749”;

                ^

NodeMCU:7:23: error: 'MUNEER' was not declared in this scope

 char ssid[] = “GWTSVR-MUNEER 9749”;

                       ^

NodeMCU:8:22: error: 'eT' was not declared in this scope

 char pass[] = “72801%eT”;

                      ^

Multiple libraries were found for "BlynkSimpleEsp8266.h"
 Used: C:\Users\Muneer\Documents\Arduino\libraries\blynk-library-master
 Not used: C:\Users\Muneer\Documents\Arduino\libraries\Blynk
 Not used: C:\Users\Muneer\Documents\Arduino\libraries\Blynk
 Not used: C:\Users\Muneer\Documents\Arduino\libraries\Blynk
 Not used: C:\Users\Muneer\Documents\Arduino\libraries\Blynk
exit status 1
stray '\223' in program

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

it filed while compiling

It’s your inverted commas that are a problem.
Try this one:

#define BLYNK_PRINT Serial
#include <ESP8266WiFi.h>
#include <BlynkSimpleEsp8266.h>

char auth[] = "xxx";
char ssid[] = "MUNEER 9749";
char pass[] = "xxxxxxxx";

void setup()
{
  Serial.begin(9600); // Debug console
  Blynk.begin(auth, ssid, pass);
}
void loop()
{
  Blynk.run();
}

it i done , Now serial screen shows … dots

Have you entered your Blynk token and WiFi credentials?

wifi credentials yes
not token

I just remove token for your security but you need to include it.

I added now

Connected now?

HI Costas It worked m after reinstalling the IDE 1.8.8 and updated the Esp8266 libraries
Thank you dear , can you tell me which version wemos is better for professional use