Notice: Undefined index: order_next_posts in /nas/content/live/gadgetmag/wp-content/plugins/smart-scroll-posts/smart-scroll-posts.php on line 194

Notice: Undefined index: post_link_target in /nas/content/live/gadgetmag/wp-content/plugins/smart-scroll-posts/smart-scroll-posts.php on line 195

Notice: Undefined index: posts_featured_size in /nas/content/live/gadgetmag/wp-content/plugins/smart-scroll-posts/smart-scroll-posts.php on line 196

Build a Pi weather station

Discover what you need to build your own Pi-based weather station


Stuck for something to do on a rainy Tuesday afternoon? How about turning your Pi into a weather station so you can predict precipitation?

While a waterproof case is also a good idea here, some of the sensors would benefit from being outside the case, like the temperature sensor –  there are waterproofed variants available for some of them. You could always use a mix of sensors, so you can take an average of the readings and also have some built-in redundancy.

The idea here is to connect up lots of sensors via the GPIOs in order to get a reading of the weather state in your area. With the Wi-Fi and portable power pack, you can have the weather station in your garden connected to your home router (or a Wi-Fi repeater!) for an internet connection, and you can post all of the data onto an easily-accessed WordPress site, hosted on the Pi.

You will need:

– DHT22 sensor
– BMP085 sensor
– TGS 2600
– UV1-01 sensor
– LDR (light dependent resistor)
– ADC (analogue-to-digital convertor)
– Wind vane
– Anemometer