Features of "Rain_Gauge_One.ino". Version 1.4
-
RTC with GPS update; used for 15 minute time interval, date-time stamping, and dayofweek;
"LOG. file gets created daily. File name is in the format "LOGxxyyzzzz" xx being the DATE and yy
beining the MONTH and zzzz being the YEAR; a new log file is created after every file renaming. -
Dynamic web page of current observations showing Last update time and date, humidity, dew
point, temperature, heat index, barometric pressure, rainfall by five minutes, hour, and day.. -
Files on server are listed as web links; clicking link prompts for: "FAVICON.ICO", and "ACCESS.TXT"
are listed; however, they are for internal use and are restricted; result of clicking link produces
"404 Page not found." -
LOGXXYYZZZZ file is appended every 15 minutes with the latest update; storing data from Dynamic
web page. -
URL file names other than ones defined in the Sketch produce "404 Page not found." Methods
other than "GET," produce "405" message and exits current request. -
Optional; Audible alert from Piezo electric buzzer when there is Barometric Pressure difference
of.020 inches of Mercury. I am interested in sudden drop of Barometric Pressure in a 15 minute
interval. Serve weather more likely with a sudden drop. Difference of .020 inches of Mercury
point is set for my observations to log and sound audible alert; not based on any known value
to be associated with serve weather. -
Optional; two-line LCD Display of Barometric Pressure, in both inches of Mercury and millibars.
-
Temperature, Humidity, Barometric Pressure, and Dew Point have four embedded "ThinkSpeak.com"
graphs on one web page. Graphs are created from Iframes provided by "ThingSpeak.com" -
HTTPClient library is used to POST data to the hosted, Domain website. Function
"webInterface" function sends data. -
Free, "000webhost powered by HOSTINGER" may be used for "Domain hosted" website.
-
"dataCollector.php" needs to be uploaded to your Hosted web site.
12 Simple FTP file transfer; allows for easy file maintenance, preventing too many log log files.
Works with Filezilla client.
-
Built-in OTA update; remote sketch update by web interface. Used with "webInterface" function.
-
Two websites,one sketch: "Rain_Gauge_One.ino"
ESP32 Project, ESPAsyncWebServer based
ESP32 Project; ESPAsyncWebServer, Domain Hosted web site
ESPAsyncWebServer based; Dynamic web page has file browser (selected file can be viewed), and graphs displayed. Note this project is in development; maybe offline or log files may be affected. Server is online 24/7; except during periods of testing.
Server is an "Adafruit, Espressif ESP32 Development Board - Developer Edition," PRODUCT ID: 3269.
Development board, GY-BME280 breakout board, purchased from "Ebay.com," NEO m8n GPS Module,and a "tipping bucket" rain gauge are required for project.
Development board is "Arduino" friendly; can be programed using the Arduino IDE.
William
Rain_Gauge_One.zip (53.6 KB)