{'fraction_non_alphanumeric': 0.023417172593235037, 'fraction_numerical': 0.003469210754553339, 'mean_word_length': 5.171122994652406, 'pattern_counts': {'":': 0, '<': 1, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
A microcontroller-based interface circuit for lossy capacitive sensors

This paper introduces and analyses a low-cost microcontroller-based interface circuit for lossy capacitive sensors, i.e. sensors whose parasitic conductance (Gx) is not negligible. Such a circuit relies on a previous circuit also proposed by the authors, in which the sensor is directly connected to a microcontroller without using either a signal conditioner or an analogue-to-digital converter in the signal path. The novel circuit uses the same hardware, but it performs an additional measurement and executes a new calibration technique. As a result, the sensitivity of the circuit to Gx decreases significantly (a factor higher than ten), but not completely due to the input capacitances of the port pins of the microcontroller. Experimental results show a relative error in the capacitance measurement below 1% for Gx < 200 nS, which is quite remarkable considering the simplicity of the circuit proposed. The measurement of a commercial capacitive humidity sensor subjected to condensation (in order to have a significant value of Gx) shows the effectiveness of the circuit.