STM32 Multiple Buttons ADC Read Through One Pin With Software Button Debounce
Views 520

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.

Tutorial video link:



Login or Sign Up to post comments on this tutorial.