Weather station based on Raspberry Pi Zero
- Raspberry Pi Zero
- Wind and rain sensor assembly datasheet, you can buy for example from aliexpress
- MCP3008 analog to digital converter
- BME280 combined humidity and pressure sensor
- NTC termistor, i used one that is used for measuring water temperature, 10K with temperature coeficient 3380K, unfortunetly i could not find documentation for it in english. datasheet
- Two 10k resistors
I connect everything together as shown below
There are two voltage dividers one for NTC termistor and another one for wind vane.
For storing meassured data i use InfluxDB database(1.8), it's advantage is that even with large amout of data it works really well even on Raspberry Pi Zero however i recommend to run database on external server for better data backup and performance.
Web interface is written in PHP with JpGraph(4.2.9) library. It's divided into two sections, overview with current meassurements and option to view detailed history of one day, and history to display chosen time seciton.
Weather station is been now working for almost four years without major problems, i only found that humidity sensor on BME280 stuck on 100% humidity after some time in my case after around two years. Now i am trying to get better values from it by varying calibration parameters.