Analog sensor data send to blynk cloud The analog sensor data can be sent from your ESP8266 to the blynk cloud to monitor the data. First of all we will send the analog data value from 0 to 1023 and after that we will send calculated data of different sensors. Circuit Diagram Code #define BLYNK_PRINT Serial #define BLYNK_TEMPLATE_ID "TMPL09mgzGQd" #define BLYNK_DEVICE_NAME "project1" #define BLYNK_AUTH_TOKEN "qT1XpiEBwwW-U54IdimqyOfrEtFFNHsp" #include <ESP8266WiFi.h> #include <BlynkSimpleEsp8266.h> // You should get Auth Token in the Blynk App. // Go to the Project Settings (nut icon). char auth[] = "qT1XpiEBwwW-U54IdimqyOfrEtFFNHsp"; // Your WiFi credentials. // Set password to "" for open networks. char ssid[] = "YourNetworkName"; char pass[] = "YourPassword"; int sensor1; BlynkTimer timer; void mytimer() { Blynk.virtualWrite(V2, sensor1); } void setup() { // Debug console Serial.begin(960
Here you can find the solution of problem related to the subject electronics engineering(Bachelor).