Skip to main content

Posts

Showing posts with the label iot temperature monitor

ESP8266 based local temperature monitoring HTML template

TEMPERATURE MONITORING WEB SERVER make this temperature monitoring web server using node mcu and temperature sensor . use the following code #include <ESP8266WiFi.h> #include <WiFiClient.h> #include <ESP8266WebServer.h>  #include <math.h> int sensorPin = A0; // select the input pin for the potentiometer double Thermistor(int RawADC) {   double Temp;   Temp = log(10000.0*((1024.0/RawADC-1)));   Temp = 1 / (0.001129148 + (0.000234125 + (0.0000000876741 * Temp * Temp ))* Temp );   Temp = Temp - 273.15;            // Convert Kelvin to Celcius    Temp = (Temp * 9.0)/ 5.0 + 32.0 ; // Convert Celcius to Fahrenheit    return Temp; } //SSID and Password of your WiFi router const char* ssid = "kali"; const char* password = "0TSspwyV"; ESP8266WebServer server(80); //Server on port 80  int T = 0; //===========================================================...