How to build an environmental monitor to track air purity