IoT Beginner Project #2: How to Monitor Temperature Data with LED Alert using BLYNK App
IoT Beginner Project #2: How to Monitor Temperature Data with LED Alert using BLYNK App About Project: The temperature data and graph can be monitored by using Blynk App through Wi-Fi. The LED will light up if the temperature is equal or higher than 35 degrees celsius. Components: Smart phone with BLYNK App Computer Breadboard ESP32 Sensor LM35 Red LED Resistor 220 Ohm Jumper Male-to-Female Micro USB-B Internet needed Schematic Diagram: Coding using Arduino IDE: #define BLYNK_PRINT Serial #include <WiFi.h> #include <WiFiClient.h> #include <BlynkSimpleEsp32.h> BlynkTimer timer; char auth[] = "__YlX-ijzaSbHG0zdCennMY1SYXoH26A"; // Auth Token in Blynk Application or by email. char ssid[] = "mywifi"; //wifi name char pass[] = "mypassword"; //wifi password int Raw= 0; double Volt = 0; double Celcius = 0; const int ledPin = 22; // Led di pin 22 const int lmPin = 35; // LM...
Comments
Post a Comment