/RPIWeatherStation

Test python files for weather station

Primary LanguagePythonMIT LicenseMIT

Weather Station

Raspberry Pi Weather Station


The Raspberry Pi weather station is an IoT project used to demonstrate the use of Python, Linux, Adafruit IO, various meteorological sensors, and a Raspberry Pi to stream meteorological data. It uses Raspberry Pi OS (lite) and python to collect meteorological data and send it to Adafruit IO. This guide provides the code installation and setup.


Background & Objectives

You can read about why I made this project here


Contributing

See here


Bill of Materials and Tools

This Google Sheet contains all the materials, tools, and hardware used to assemble the weather station. Some hardware/sensor improvements are provided here:

UPDATE - Hydreon RG-15

When I first set out do buy a digital rain guage to replace a tipping bucket, the best option that stood out was the Hydreon RG-11. Since completing this project, Hydreon has come out with a better version of their digital rain gauge called the RG-15. Although being more expensive than the RG-11, it is specifically designed to be a digital solution to replace the tipping-bucket, and is more accurate (± 10%) than the RF-11 (± 36% 2/3 of the time).


Wiring


Setup and Install

NOTE: This assumes you have correctly wired your Raspberry Pi to the sensors.

See the Install page


Troubleshooting

SPI and I2C Not Working

Sometimes after an update the I2C and SPI interfaces will stop working. This can be solved by re-enabling them in raspi-config:

$ sudo raspi-config

Follow the previous setup and install instructions to enable SPI and I2C again


Application Crash

There is curretly a known bug that will crash the application when sending the wind direction to the Adafruit IO feed. While I attempt to solve the bug and apply a fix, rebooting the Raspberry Pi solves this issue:

$ sudo reboot

Updates