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

Опубликовано: 10 Ноябрь 2024
на канале: Useful Electronics
4,330
122

You can reach-out all of the tutorial materials using GitHub Repository link.

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.

Patreon Web page:
  / usefulelectronics  

GitHub Repository:
https://github.com/UsefulElectronics/...

Thingiverse Profile:
https://www.thingiverse.com/wardzx/de...