A moisture sensor includes a first electrode (a conductive substrate) having a first sensor portion and a first terminal portion as well as a second electrode having a second sensor portion and a second terminal portion. The moisture sensor also includes a layer of porous dielectric material sandwiched between the first sensor portion and the second sensor portion. Further the moisture sensor includes a layer of dense insulating material sandwiched between the first terminal portion and the second terminal portion. Leads are then connected to the two terminal portions