2022-02-26 12:33 AM
In this tutorial, STM32 MCU is used to read the status of 3 buttons using only one pin that is configured to do analog to digital conversion continuously to read the voltage variations of a voltage divider circuit over DMA. Software button debounce algorithm is also used in order to ignore false readings. The tutorial has detailed explanation of both the hardware and software needed for this application.
YouTube Video Link: