Skip to content

NeilSCGH/EceborgWeatherStation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Eceborg-Weather-Station

This project contains the code of the connected weather station. This weather station will record various weather data and send them every 5 minutes to a database by wifi.

Getting Started

Prerequisites

You'll need a working web server to host the php file (in the API folder), an SQL server to store data, and all the hardware with sensors etc.

Installing

You'll have to change (in the arduino folder):

  • SSID, PASSWORD, server and uri in the wifi.cpp file
  • the key in the sensors.cpp file (have to match the key in the API/esp.php file)

You can use the sql file in the API folder to create the database with the good fields, including the automatic date.

Running the tests

Make sure the hardware and the software parts are working properly.

Test the hardware part

If the variable 'v' (for verbose) is set to true in the arduino, you'll have all the data printed through serial. ('vw' in the wifi file and 'vs' in the sensor file).

Test the sofware part

You can use the test.html file to simulate the post method made by the arduino. Make sure to write the direct ip of the web server, and the path to the php file before testing.

Authors

With the help of:

Acknowledgments

Voila voila enjoy :)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published