Hardware requirements
To build our weather station, we will require a development board that fetches the sensor values and sends them to a particular destination, Node-RED in our case, through a communication protocol. For the development board, we will utilize the NodeMCU development board for this project primarily due to its relevant features and cost-effectiveness. Please refer to the following figure to find the components required to build our weather station (Figure 5.2).
Figure 5.2 – The required hardware for the project
Next, we need to choose appropriate sensors so that the readings we get are both reliable and accurate. Hence, we choose the following three sensors for our project:
- A DHT11 temperature and humidity sensor
- A BMP280 pressure sensor
- A CCS811 air quality sensor
We will also need something that we can use to interface all the sensors to the development board. For this, we will use a breadboard and some connecting...