10. How to Create a GPIO Input for ARM MCUs - Tutorial on Push Button Input and LED Output

Опубликовано: 15 Октябрь 2024
на канале: BuildYourCNC
28,180
292

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/

In this tutorial video, the GPIO (General Purpose Input/Output) input will be explained and a circuit put together. A push button switch will be installed on port B pin 1 and an LED will be installed on Port C Pin 6. The circuit and passive components (in this case, various resistors) are introduced and explained how they connect to the microcontroller and how the input pin is protected and why it is necessary to pull the pin down to ground.

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

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

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

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