Features of “Rain_Gauge_Two.ino”. Version 2.0
New in this version: All customizing edits are now in file; located in “variableInput.h.”
Additional comments in the “variableInput.h” file.
NTP Time; used for 15 minute time interval and date-time stamping;
"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,
temperature, barometric pressure, rainfall by five minutes, hour, and day.
Only LOG files are listed as web links; for download.
LOGXXYYZZZZ file is appended every 15 minutes with the latest update; storing data to Dynamic,
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.
HTTPClient library is used to POST data to the Domain, hosted website. Function
“webInterface” function sends data to Domain website.
Free, “000webhost powered by HOSTINGER” may be used for Domain, hosted website.
“dataCollector.php” needs to be uploaded to your Domain, Hosted web site.
12 Simple FTP file transfer; allows for easy file maintenance, preventing too many log log files.
Tested with Filezilla client.
Built-in OTA update; remote sketch update by web interface; ota function.
Two websites,one sketch: “Rain_Gauge_Two.ino”
ESP32 Dynamic web server, with file browser (selected file can be viewed), and graphs. Note this project is in development; maybe offline or log files may be affected. Server is online 24/7; except during periods of testing. Sensor is currently located inside of house.
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.
“Rain_Gauge_Two.zip” includes files related to Sketch.
Weather_View_Timezone.zip (18.7 KB)
Serial Monitor.txt (10.5 KB)
Rain_Gauge_Two.zip (425 KB)