In this chapter, we have successfully delivered a package to a place by using our mission control drone. But mission control needs to be aware of the weather and the environment for a successful flight and mission. So, if we can monitor the weather surrounding the drone, we can fly it safely and the package can be delivered without any problem.
To monitor the weather, we need the following things (for demonstration purposes, we will only look at the air pressure in this chapter):
- A barometric pressure sensor (BMP 180 preferred)
- An Arduino (pro mini preferred)
- An ESP8266 transreceiver module
Firstly, connect the Arduino to the barometer sensor. The pin configuration is as follows: