Microtechnologies for Discharge-based Sensors.