After getting to know different microcontroller architectures, its time to explore the ARM architecture as we are going to use STM32 microcontroller in this course which is of ARM architecture. ARM (Advanced RISC Machines) is a family of processor architectures developed by ARM. It is one of the most widely used and popular processor architecturesContinue reading ” Introduction to ARM Architecture”
Tag Archives: read
Debouncing considerations when reading input from switch
Mechanical switches and buttons can have bouncing or chatter when they are pressed or released. During this time, the electrical contacts inside the switch make and break contact rapidly before settling into a stable state. This bouncing can generate multiple pulses or transitions in a short period.
Debouncing is an essential consideration when reading digital input from switches, buttons, or other mechanical contacts in embedded systems or digital circuits. Failing to debounce inputs properly can lead to erratic behavior and false readings.
Project 1.2: Read status of push button switch and write to LED (on/off) on STM32F407G-DISC1 Board
In this sub-project we are going to:
Read the status(on/off) of push button switch
Reflect the status of the switch to the LED on STM32F407G-DISC1 Board.
Upon completion of this project, you will learn.
To identify the Correct GPIO pin connect to the push button switch
How push button switch is connected to Microcontroller.
To refer datasheet and user manual when required.
To work with GPIO registers.
To work with C programming.