This is another one of the many debouncer circuits that the reader can find on this site, and it can serve as a shield for microcontrollers and other digital applications. The activation switch is double, and a sensor can also be used. The circuit must be powered by a voltage of 5 V.