Complete DIY Raspberry Pi Weather station with software. via instructables
Back in late February I saw this post on the Raspberry Pi site.
They had created Raspberry Pi Weather Stations for Schools. I totally wanted one! But at that time (and I believe still as of writing this) they are not publicly available (you need to be in a select group of testers). Well, I wanted on and I didn’t feel like shelling out hundreds of dollars for an existing 3rd party system.
So, like a good Instructable user, I decided to make my own!!!
I did a little research and found some good commercial systems I could base mine off. I found some good Instructables to help with some of the Sensor or Raspberry PI concepts. I even found this site, which was pay dirt, they had tore down an existing Maplin system:
Fast forward about a month and I have a basic working system. This is a complete Raspberry Pi Weather system with just the base Raspberry Pi hardware, camera, and some assorted analog and digital sensors to make our measurements. No buying pre-made anemometers or rain gauges, we are making our own! Here’s it’s features:
Records info to RRD and CSV, so can be manipulated or exported/imported to other formats.
Uses the Weather Underground API to get cool info like historical highs and lows, moon phases, and sunrise/sunset.
Uses the Raspberry Pi Camera to take a picture once a minute (you can then use them to make timelapses).
Has webpages that display the data for the current conditions and some historical (last hour, day, 7 days, month, year). The website theme changes with the time of day (4 options: sunrise, sunset, day and night).
All of the software for record and displaying the information is in a Github, I’ve even done some bug tracking, feature requests in there as well:
This project was a great learning experience for me, I got to really dive into the capabilities of the Raspberry Pi especially with the GPIO, and I hit some learning pain points as well. I hope you, the reader, can learn from some of my trials and tribulations.
Each Friday is PiDay here at Adafruit! Be sure to check out our posts, tutorials and new Raspberry Pi related products. Adafruit has the largest and best selection of Raspberry Pi accessories and all the code & tutorials to get you up and running in no time!