A sensor for detecting an amount of material deposition. The sensor includes a substrate, a heater disposed on the substrate, and a temperature sensor. The heat and the temperature sensor are separated from one another by a gap.