Skip to content

An arduino and DHT11 based temperature and humidity logger built using MySQL and PHP. It visualizes data as a graph.

Notifications You must be signed in to change notification settings

dhanuzch/Temperature-logger_PHP_MySQL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Temperature-logger_PHP_MySQL

Working:

Display Temperature and humidity Data from NodeMCU as a graph in webpage

Features:

  1. Auto Refresh the website
  2. MySQL based
  3. Displays temperature and humidity data in separate graphs.
  4. Added CSS, so visually looks better.
  5. Out of the box compatibility with NodeMCU. For other MCUs minor alterations are needed.

How to use?

  1. Upload the code in Arduino Sketch to NodeMCU
  2. Paste the PHP folder in htdocs folder
  3. Start visualizing temperature and humidity data by opening index.php

Libraries needed:

  1. DHT.h
  2. WiFiClient.h
  3. ESP8266WiFi.h
  4. ESP8266WebServer.h
  5. ESP8266mDNS.h
  6. SPI.h

TODO

  • Auto Refresh

  • Auto Refresh with one output at a time (not all outputs at a time)

  • Add CSS and make it look good, preferably add Gauges to display Data

  • Set Graph axes min and max

  • Display latest 15 Data in Graph

  • Work on readme

About

An arduino and DHT11 based temperature and humidity logger built using MySQL and PHP. It visualizes data as a graph.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published