Assembling the weather station
Now that our weather station is set up and takes the readings correctly, it's time to assemble the weather station and set it up outside.
Before we do this, you may want to consider how the Pi will connect to your network and receive power. Here, I would recommend you use Wi-Fi for networking. This can be set up by following the same procedure that we used in Chapter 2, Portable Speaker System. For power, I used a 10 foot micro USB cable, which was long enough to reach as far outside as I had located the weather station.
For the Maplin weather sensors, simply assemble the two masts and fix both the anemometer and wind direction sensor at the top of their own masts by using a 30 mm M3 screw. These masts can then be pushed relatively easily into the soil. Since they are not particularly tall, it is better to place them in an area as open as possible to improve the accuracy of the readings taken from them.
As an enclosure for the remaining sensors, the Arduino, and...