Fundamentally computers are calculating machines. Lets understand how we can do computations and logic operations on your computer with the help of C. In order to perform Computations and logic Operations, C provides Operators. Operators are symbols used to perform operations on variables and values. The items of data that an operator applies to areContinue reading “Doing Computations and Logic in C”
Author Archives: Veeresh P S
Default Data Types and Variables in C
In order to understand variables and Default Data Types in C, we first need to understand how data is stored in computer. Memory in Your Computer The instructions that make up your program, and the data that it acts upon, have to be stored somewhere that’s instantly accessible while your computer(Embedded System) is executing that program. When your program is running,Continue reading “Default Data Types and Variables in C”
Execution of a C Program
Once you have successfully compiled the C program, it creates an executable file. You execute/run the program. The question arises is “How does this program gets run on the target?”. Target can be both a Microprocessor or Microcontroller. In order to understand this, we need to first understand little bit about the Central Processing UnitContinue reading “Execution of a C Program”
Dissecting a Simple C Program
What constitutes a simple C program? Let’s understand bit more in detail. Comments Comment is not actually part of the program code, in that it is not telling the computer to do anything. It is simply a comment, and it is there to remind you, or someone else reading your code, what the program does.Continue reading “Dissecting a Simple C Program”
Creating C Programs
There are three fundamental stages, or processes, in the creation of any C program: Editing Editing is the process of creating and modifying C source code — the name given to the program instructions you write. You can use any integrated development environment (IDE) such as Eclipse or Visual Studio Code for writing, managing, developing,Continue reading “Creating C Programs”
Why learning C is important for Embedded Systems?
Learning C is particularly important for embedded systems for several compelling reasons: In conclusion, learning C is crucial for embedded systems development because it provides the necessary tools to interact with hardware, optimize code for limited resources, and meet the real-time requirements often associated with embedded applications. Whether you’re working on IoT devices, microcontrollers, orContinue reading “Why learning C is important for Embedded Systems?”
How you can #learn #embedded #systems Step by Step in 12 months:
Here is step by step process to learn embedded systems in 12 months. Month 1-2: Foundations Spend the first few weeks learning the fundamentals of C/C++ programming using online resources, textbooks, and coding platforms to practice. Study basic electronics concepts such as resistors, capacitors, diodes, and transistors. Build simple circuits to understand how components workContinue reading “How you can #learn #embedded #systems Step by Step in 12 months:”
Introduction to ARM Architecture
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”
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.