Chat freely about anything...

User avatar
By Sirquil
#68052 Wemos D1 R2 is based on ESP8266 with 4 Mb of flash memory, board was selected for the low cost, Wifi wireless wifi built-in on module, and the flash memory; it replaces an "Arduino Mega 2560 and an Adafruit CC3000 Shield.

Project is an "Internet Weather Data Logger and Dynamic Web server;" Open Source and available from: https://github.com/Tech500/Observations

Project web page: http://weather-1.ddns.net/Weather

Features Web display of current "Weather Observations," "Collected Data files, and "Graphed Weather Observations." Graphs are provided by "ThingSpeak.com." Project data is sent to "ThingSpeak.com" channel every 15 minutes. Graphs in the project are drawn on web page by using embedded iframes from "ThingSpeak.com."

Project porting from the "Arduino Mega to Wemos D1 R2 was only possible with the help of and creation of two functions; "listFiles" and "readFiles" by martinayotte of this this Community Forum. Thank you martinayotte.

William
Attachments
Updated file 7/6/2017 Now featuring Four graphs from ThingSpeak.com!
(9.62 KiB) Downloaded 529 times
Last edited by Sirquil on Mon Jan 24, 2022 4:51 pm, edited 2 times in total.
User avatar
By Sirquil
#68675 Added zoomx's application of "NTP with Timezones"  and have a successful working sketch, "NTP_Observations_SPIFFS.ino"

Included in the attachment are the sketch, "LOG.TXT" (portion actually logging during testing) and output of the Serial Monitor (during testing.)

Note:  Time keeping is now accomplished with software using NTP time server.

Project web page: http://tinyurl.com/Four-Graphs

William
Attachments
Now using NTP, time server.
(15.81 KiB) Downloaded 429 times
User avatar
By Sirquil
#75036 Non-hosted , RobotDyn based project web page: http://tinyurl.com/Observations-weather features data updates every 15 minutes, collected weekly data file can be selected to download, blazing fast downloads, and four graphs obtained from "ThingSpeak.com" channels.

https://forum.arduino.cc/index.php?topic=466867.0 This is the thread for the project from the start of "porting" the project from an "Arduino Mega and Adafruit CC3000 shield" to the form it is in today.

https://www.hackster.io/storms/internet-weather-datalogger-and-dynamic-web-server-7860de Write up on "Hackster.io"

Present form of project is a hosted web page: https://observations-weather.000webhostapp.com/
Attaching current project file and php file that collects data from "NTP_Web_Interface.ino." The domain POSTING is an add-on containing just a few additional lines of code to the on-going Wemos/RobotDyn project.
Attachments
Current project file 3/31/2018 --latest addition posts data to a hosted website.
(13.97 KiB) Downloaded 386 times