Try removing this line:
and move these lines below the Blynk libraries.
Pete.
Try removing this line:
and move these lines below the Blynk libraries.
Pete.
It is still same
23:45:29.064 -> pm open,type:2 0
23:46:40.454 -> state: 5 -> 2 (2a0)
23:46:40.454 -> rm 0
23:46:40.454 -> pm close 7
23:46:41.480 -> reconnect
23:46:41.480 -> state: 2 -> 0 (0)
23:46:41.571 -> scandone
23:46:41.571 -> no UniMAP-WiFi found, reconnect after 1s
23:46:41.663 -> reconnect
23:46:44.549 -> scandone
23:46:44.549 -> state: 0 -> 2 (b0)
23:46:44.549 -> state: 2 -> 3 (0)
23:46:45.529 -> state: 3 -> 0 (4)
23:46:45.529 -> reconnect
23:46:48.372 -> scandone
23:46:48.372 -> state: 0 -> 2 (b0)
23:46:48.419 -> state: 2 -> 3 (0)
23:46:48.419 -> state: 3 -> 5 (10)
23:46:48.419 -> add 0
23:46:48.419 -> aid 1
23:46:48.419 -> cnt
23:46:58.434 -> pm open,type:2 0
Try one of the basic sketches from the Sketch Builder, and test it with nothing connected to your board other than the USB cable.
Pete.
Hi Pete, I tried the basic coding as below and use another USB cable
/*************************************************************
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 runs directly on ESP8266 chip.
Note: This requires ESP8266 support package:
https://github.com/esp8266/Arduino
Please be sure to select the right ESP8266 module
in the Tools -> Board menu!
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
/* Fill-in your Template ID (only if using Blynk.Cloud) */
//#define BLYNK_TEMPLATE_ID "YourTemplateID"
#include <ESP8266WiFi.h>
#include <BlynkSimpleEsp8266.h>
// You should get Auth Token in the Blynk App.
// Go to the Project Settings (nut icon).
char auth[] = "y67ppUqAduYLCfRuwltVPb7mgV-lulsa"; // Authentication Token Sent by Blynk
char ssid[] = "Carvell"; //WiFi SSID
char pass[] = "carvell1234"; //WiFi Password
void setup()
{
// Debug console
Serial.begin(9600);
Blynk.begin(auth, ssid, pass);
}
void loop()
{
Blynk.run();
}
The serial monitor show
Can you post a screenshot of your phone’s WiFi connection screen, which shows the WiFi SSID that your phone is connected to?
Pete.
To connect with blynk cloud instead of using
Blynk.begin(auth, ssid, pass);
use
Blynk.begin(auth, ssid, pass, “blynk.cloud”, 80);
@Priyank_Raj your comment isn’t relevant to this topic, but your solution shouldn’t be required for any sketch provided that the Blynk 1.0.1 library is being used, and the firmware configuration settings have been copied from the Blynk web console and pasted at the very top of the sketch.
Pete.