Skip to content

PRO TIP Block youtube.com at the DNS level — Pi-hole, NextDNS or your hosts file — but allow youtube-nocookie.com and i.ytimg.com. These tutorials keep playing; the rabbit hole does not.

Learning without distractions

13. How to create a GPIO Push Button Input for ARM Microcontrollers – Software Debouncing Part 2

16.1K views on YouTube

Purchase my new book: Arm Microcontroller Programming and Circuit Building Volume 1

I use the STM32CubeIDE in the book!
Get your STM32 kits at https://Newbiehack.com

I recommend using the STM32CubeIDE:
https://www.st.com/en/development-tools/stm32cubeide.html

You can still download the CoIDE here:
https://sourceforge.net/projects/coide/

Time to convert that pseudo-code into real code. In this video, you will see the code that I implemented to remove the bouncing caused by push buttons. The code will be written in the ARM Microcontroller STM32. Specifically the STM32F030. I will also show the program and circuit in action and testing to see how successful the program is.

The new Software Debouncing Exclusive Video (promo code: YouTube):
https://newbiehack.com/ARMSoftwareDebounceExclusive.aspx

Newbiehack.com:
https://newbiehack.com/

ARM STM32 Video Series:
https://newbiehack.com/categories/newbiehack-ARM-tutorial

ARM STM32 Kits:
ARM (STM32) Microcontroller Kits

AVR Video Series:
https://newbiehack.com/MicrocontrollerTutorial.aspx

AVR Kits:
Microcontrollers and Kits

Equipment that I use to make videos:
Canon EOS Rebel: http://amzn.to/2rJSeh0
Macro Lens: http://amzn.to/2qaSKmK
Microphone: http://amzn.to/2qO2RB4
3D Mouse to rotate/zoom/move the object (Must have for CAD!!!): http://amzn.to/2ruFnSn
The drafting pencil I use on these videos: http://amzn.to/2qioYg2
The cheap oscilloscope that I use (because it’s cheap and will work all of the projects in these tutorials): http://amzn.to/2rSHnBa
A better oscilloscope and the one I would recommend: http://amzn.to/2qizK5M
The brand of multimeter that I use and the one I recommend: http://amzn.to/2qicUez

Want to have your own Patreon campaign? https://patreon.com/invite/wpllxz