This setup uses three sensors connected to a Raspberry Pi to measure different aspects of the environment:
-
Barometric Pressure Sensor (BMP085): This sensor measures air pressure, which can be used to detect changes in the weather. Higher pressure often means clear skies, while lower pressure can indicate storms or rain. It also calculates altitude by comparing the measured pressure to sea-level pressure, giving an idea of how high the sensor is above sea level.
-
Temperature and Humidity Sensor (DHT11): The DHT11 measures the air temperature and the amount of moisture in the air (humidity). Temperature readings show how warm or cold it is, and humidity helps describe how dry or damp the air feels. Together, these measurements can describe the comfort level or provide context for other weather data.
-
Light Sensor (BH1750): The BH1750 measures the brightness of the environment in lux, a unit of light intensity. This helps track how bright or dark it is, which could depend on the time of day, weather conditions like cloud cover, or changes in the surroundings.
Each sensor collects data every 10 seconds.
The data is sent to the server every 30 seconds.
The server processes a new plot every minute.
The server retrains the RNN once a day.
https://github.com/nialljmiller/weather_station