Our company has developed a thermostat based on a microcontroller STM8L151K4T6. Many thermostats from the manufacturer were rejected. The analysis showed that the microcontroller does not correctly measure the voltage at the external terminals. The m...