Debounce a button with esp32

Debouncing a button is a common issue for the effective operation of a button. The physical imperfections of the button lead to voltage bounces when the button is pressed, resulting in a voltage signal that bounces just like the following figure: Voltage Bouncing I tackled this issue with Arduino some time ago (pomodoro timer with arduino (ita)), but recently I’ve started experimenting a bit with the ESP32 board and revisited the problem using this framework and programming language C++. ...

June 5, 2024 · 1 min · Nico Fiorini