In this chapter, we are going to build our first project, a weather station. Yes, you read it right, your own tiny weather station. You can place it inside or outside your house to measure the weather conditions. This IoT-based weather station will be equipped to measure temperature, humidity, wind speed, atmospheric pressure, sunrise, and sunset time. After collecting the weather data, we will push it to Google cloud spreadsheets, which you can access from anywhere in the world.
The weather station will have a digital temperature and humidity sensor, integrated with Raspberry Pi directly. For other parameters, such as wind speed, atmospheric pressure, and the time of sunset and sunrise, the data will be obtained from free and open source weather APIs, because sensors to measure such parameters are very expensive.
There will be four main components to our project...