element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • 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
  • Settings
Arduino
  • Products
  • More
Arduino
Arduino Forum Internet connected Data Logger and HTTP Server
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Arduino to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 1 reply
  • Subscribers 390 subscribers
  • Views 414 views
  • Users 0 members are here
  • ab9nq
  • video
  • weather
  • http server
  • data logger
  • arduino mega
Related

Internet connected Data Logger and HTTP Server

ab9nq
ab9nq over 9 years ago

http://tinyurl.com/embedded-tech500

 

~ Four minute video of Datalogger combined with HTTPServer project; logs and displays Weather Observations.  Heart of project is a DS1307 Real Time clock

used with the RTCTimedEvent Library for the Arduino.  Every fifteen minutes Weather observations are logged to the SDHC card on the Ethernet Shield.  Following the

logging of data; data is displayed on web page for retrieve from the Internet.  Another use of the RTC is on the seventh day of the week the log file gets renamed and a

new log file created.

 

Functions are used extensively with this Sketch; making modifications easier.

 

There are more features: LCD display that gives Barometric Pressure in real-time;both in inches of Mercury and in millibars.  There is a piezo-electric buzzer that emits an

alert if Barometric Press changes greater than .020 inches of Mercury.

 

July 5, 2016, version of project is attached. 

 

William Lucid, AB9NQ

 

Attachments:
SdWebBrowse_Ethernet_HTTPServer.zip
  • Sign in to reply
  • Cancel
  • ab9nq
    ab9nq over 9 years ago

    SdWebBrowse_Ethernet_WebServer.ino is a data logger and web server.  Current revision is dated July 5, 2016.

     

    Requires Arduino Mega 2560, Ethernet Shield and Real time clock, and Sensors for Humidity/Temperature and Barometric pressure.

     

    Now Features:

     

     

    1. Real Time Clock; used for 15 minute time interval, date and time stamping and dayofweek.  Every Saturday log.txt gets renamed in the format "logxxyy” xx being the month and yy being the date; a new log.txt is created after file renaming; keeps file size manageable.

     

    2. Dynamic web page displays current observations every fifteen minutes of: time and date, Humidity, Dew Point,Temperature, Heat Index, Barometric Pressure both inches of Mercury and millibars.

     

    3. Root directory, Server files are listed as web links; clicking link opens a prompt to: "Open with/Save as."   "System~1/", "Favicon.ico", and "Access" are listed; however, they are for internal use and cannot be "Opened with/Save as," result of clicking one of these links produces "404 Page not found."

     

    4. Log.txt file is appended every 15 minutes with the latest update; storing data from Dynamic web page.

     

    5. Access.txt stores Client IP address; requires special Ethernet.h library file. Web link provided in Sketch source code.

     

    6. Differ.txt stores the difference in Barometric Pressure for the last fifteen minutes. Only a difference of equal to or greater than .020 inches of Mercury are logged with difference, date and time.

     

    7. Server.txt is used to log Server RESETS.   "SwitchDoc Labs, Dual Watchdog Timer, "Watchdog Starting Server" entries from the "Dual Watchdog Timer.."   Entries from opening "Serial Monitor" or pressing red reset button produce a entry of "Starting Server."

     

    8. URL addresses other than ones defined in the Sketch produce "404 Page not found."

     

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

     

    10. Two-line LCD Display of Barometric Pressure in both inches of Mercury and millibars.

     

    11. "SwitchDoc Labs, Dual Watchdog Timer" added to project; resets Arduino Mega in case Sketch execution fails.

     

    12. Added a 74HC73, JK Flip-flop to allow differentiating where RESET originated; whether, from "Dual Watchdog Timer" or from either opening "Serial Monitor" or pressing red "Reset" switch on the Arduino Mega..

     

     

    Project web page:  http://tinyurl.com/weather-server

     

    William lucid, AB9NQ

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
element14 Community

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 © 2025 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

  • X
  • Facebook
  • linkedin
  • YouTube