element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Members
    Members
    • Benefits of Membership
    • Achievement Levels
    • Members Area
    • Personal Blogs
    • Feedback and Support
    • What's New on element14
  • Learn
    Learn
    • Learning Center
    • eBooks
    • STEM Academy
    • Webinars, Training and Events
    • More
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • More
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • More
  • Products
    Products
    • Arduino
    • Dev Tools
    • Manufacturers
    • Raspberry Pi
    • RoadTests & Reviews
    • Avnet Boards Community
    • More
  • Store
    Store
    • Visit Your Store
    • Choose Another Store
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
Arduino
  • Products
  • More
Arduino
Arduino Forum Internet Weather Observations, Data Logger with Rain Gauge
  • Blog
  • Forum
  • Documents
  • Events
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Arduino requires membership for participation - click to join
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 5 replies
  • Subscribers 118 subscribers
  • Views 548 views
  • Users 0 members are here
  • esp32
  • ab9nq
  • esp8266
  • rain gauge
  • arduino
  • data logger
Related

Internet Weather Observations, Data Logger with Rain Gauge

ab9nq
ab9nq over 2 years ago

02/26/2020

 

 

All links verified to be working now!

 

ISP forced another WAN, ip address change; so previous web links are no longer valid.  Signed up with Noip.com for "Hostnames" that hopefully will eliminate this issue.

My apologies for the inconvenience this caused.

 

http://weather-1.ddns.net/Weather

ESP8266 Based, Wifi Client/Server

 

http://weather-3.ddns.net/Weather

ESP32 Based, ESPAsyncWebServer

 

http://observations-weather.000webhostapp.com/index.php

Project --Hosted, Domain web site:

 

 

Observations-I, web page driven by ESP8266 --Sketch, "NTP_Web_Interface_Data_Logger.ino."

Observations-II, web page driven by ESP32 --Sketch,  "Rain_Gauge_Two.ino."

 

Many thanks to everyone that have visited Project web pages!

 

Attached, "Project --Upload  Ver 2.7.zip"  current, online version of Sketch, "Rain_Gauge_Two.ino"; running ESPAsyncWebServer on ESP32. "dataCollector2.php" included for sending data from project to Hosted domain web site.  Also, included Serial Monitor output confirming operation of project.

 

Second  attachment "Project --NTP_Time-synced_Web_Interface.zip"  current, online version of Sketch; running WiFi Client/Server on ESP8266. "dataCollector.php" included for sending data from project to Hosted domain web site.

 

 

William, AB9NQ

Attachments:
Project --NTP_Time-synced_Web_Interface.zip
Project --Upload Version 2.7.zip
  • Reply
  • Cancel
  • Cancel

Top Replies

  • ab9nq
    ab9nq over 2 years ago in reply to BigG +2

    BigG  wrote:

     

    Just curious, are you posting data directly from the ESP32 to webhostapp hosted website?

     

    Function "webInterface" sends data to Domain, hosted web site.  HTTPClient library sends data…

  • BigG
    BigG over 2 years ago +1

    Just curious, are you posting data directly from the ESP32 to webhostapp hosted website?

  • neilk
    neilk over 1 year ago +1

    ab9nq

     

    Hi William, just catching up with your project. Very impressive.

     

    I'm running a 2 sensor temperature monitor for my greenhouse - 1 probe inside and 1 probe outside - on ESP8266, posting data to a webserver…

Parents
  • BigG
    BigG over 2 years ago

    Just curious, are you posting data directly from the ESP32 to webhostapp hosted website?

    • Cancel
    • Up +1 Down
    • Reply
    • Cancel
  • ab9nq
    ab9nq over 2 years ago in reply to BigG

    BigG  wrote:

     

    Just curious, are you posting data directly from the ESP32 to webhostapp hosted website?

     

    Function "webInterface" sends data to Domain, hosted web site.  HTTPClient library sends data to "dataCollector2.php"

    script; which also creates the HTML page every 15 minutes!

     

    I modified script from Stephen Borsay:  https://www.hackster.io/detox/send-esp8266-data-to-your-webpage-no-at-commands-7ebfec

     

    Features of "Rain_Gauge_Two.ino". Version 2.7

     

    1. NTP Time Server is used for 15 minute time interval, date-time stamping; Data log file gets created daily.

    File name is in the format "LOGxxyyzzzz" xx being the DATE and yy being the MONTH and zzzz being the YEAR; a

    new log file is created after every file renaming.   Only LOGxxyyzzzz.TXT file are listed for viewing.

     

    2. Both (ESP32 Based and Domain, hosted) have dynamic web pages of current observations show Last update time and

    date, humidity, temperature, barometric pressure, rainfall by five minutes, hour, and day.  Two web sites; one Sketch!

     

    3. Data log files on server, are listed as displayable, web links.

     

    4. LOGXXYYZZZZ file is appended every 15 minutes with the latest update; sending data to Dynamic web pages.

     

    5. Sketch features FTP file transfer easing requirement for server maintenance.   Server can store a month of

    data log files.

     

    6. Optional; two-line LCD Display of Barometric Pressure, in both inches of Mercury and millibars.

     

    7. 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"

     

    8. HTTPClient library is used to POST data to the Domain, hosted website. Function "webInterface" function sends data.

     

    9. Free, "000webhost powered by HOSTINGER" may be used for Domain, hosted website.

     

    10.  "dataCollector2.php" needs to be uploaded to Domain, Hosted web site.

     

    11  OTA updates are a feature of the Sketch.

     

    12. Two web sites, one sketch: "Rain_Gauge_Two.ino"

     

    ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------

     

    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 a "HiLetGo,” ESP32 Development Board, a GY-BME280 breakout board, purchased from "Ebay.com," a 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.

    • Cancel
    • Up +2 Down
    • Reply
    • Cancel
Reply
  • ab9nq
    ab9nq over 2 years ago in reply to BigG

    BigG  wrote:

     

    Just curious, are you posting data directly from the ESP32 to webhostapp hosted website?

     

    Function "webInterface" sends data to Domain, hosted web site.  HTTPClient library sends data to "dataCollector2.php"

    script; which also creates the HTML page every 15 minutes!

     

    I modified script from Stephen Borsay:  https://www.hackster.io/detox/send-esp8266-data-to-your-webpage-no-at-commands-7ebfec

     

    Features of "Rain_Gauge_Two.ino". Version 2.7

     

    1. NTP Time Server is used for 15 minute time interval, date-time stamping; Data log file gets created daily.

    File name is in the format "LOGxxyyzzzz" xx being the DATE and yy being the MONTH and zzzz being the YEAR; a

    new log file is created after every file renaming.   Only LOGxxyyzzzz.TXT file are listed for viewing.

     

    2. Both (ESP32 Based and Domain, hosted) have dynamic web pages of current observations show Last update time and

    date, humidity, temperature, barometric pressure, rainfall by five minutes, hour, and day.  Two web sites; one Sketch!

     

    3. Data log files on server, are listed as displayable, web links.

     

    4. LOGXXYYZZZZ file is appended every 15 minutes with the latest update; sending data to Dynamic web pages.

     

    5. Sketch features FTP file transfer easing requirement for server maintenance.   Server can store a month of

    data log files.

     

    6. Optional; two-line LCD Display of Barometric Pressure, in both inches of Mercury and millibars.

     

    7. 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"

     

    8. HTTPClient library is used to POST data to the Domain, hosted website. Function "webInterface" function sends data.

     

    9. Free, "000webhost powered by HOSTINGER" may be used for Domain, hosted website.

     

    10.  "dataCollector2.php" needs to be uploaded to Domain, Hosted web site.

     

    11  OTA updates are a feature of the Sketch.

     

    12. Two web sites, one sketch: "Rain_Gauge_Two.ino"

     

    ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------

     

    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 a "HiLetGo,” ESP32 Development Board, a GY-BME280 breakout board, purchased from "Ebay.com," a 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.

    • Cancel
    • Up +2 Down
    • Reply
    • Cancel
Children
No Data
Element14

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2022 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • Facebook
  • Twitter
  • linkedin
  • YouTube