12. How to Create a GPIO Push Button Input for ARM Microcontrollers - Debouncing Tutorial Part 1

Опубликовано: 12 Июнь 2016
на канале: BuildYourCNC
25,781
252

Purchase my new book: Arm Microcontroller Programming and Circuit Building Volume 1
https://www.amazon.com/dp-B09PHBT859/...
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-too...

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

Since push buttons are mechanical devices, the action of pressing a push button has unwanted electrical characteristics. In this video, I will explain push button and switch bounce and discuss the best way to remove bounce through software. More importantly, the operation of software debouncing will not tie up the microcontroller cycles.

The new Software Debouncing Exclusive Video (promo code: youtube):
https://newbiehack.com/ARMSoftwareDeb...

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

ARM STM32 Video Series:
https://newbiehack.com/categories/new...

ARM STM32 Kits:
https://newbiehack.com/Categories/ARM

AVR Video Series:
https://newbiehack.com/Microcontrolle...

AVR Kits:
https://newbiehack.com/Categories/AVR

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?   / wpllxz