Why Embedded C?
DoAfCo » Embedded C
by Team DoAfCo
4y ago
Embedded C is a variant of C language with created to support programming on Embedded systems. It came into existence because of the limitations in C language. According to wikipedia – “Embedded C programming typically requires nonstandard extensions to the C language in order to support enhanced microprocessor features such as fixed-point arithmetic, multiple distinct memory banks, and basic I/O operations.” Limitation in C C has some limitation while being used for microcontrollers- C doesn’t support direct access to registers nor does it allow reading and sett ..read more
Visit website
Serial Peripheral Interface
DoAfCo » Embedded C
by Team DoAfCo
4y ago
Serial peripheral interface (SPI) allows high-speed synchronous data transfer between the embedded systems. It is basically used for short distance communication between two Embedded devices. One of the most common use of SPI is to connect your micro-controller to peripherals like, LCD. What is Serial Peripheral Interface? “Serial peripheral Interface (SPI) is a communication protocol that is designed for transferring synchronous data in a short distance.” Now let’s simplify the above definition. What is synchronous data? According to dictionary the word Synchronous means – something that happ ..read more
Visit website
How to Create a Arduino projects using Embedded C?
DoAfCo » Embedded C
by Team DoAfCo
4y ago
Hi everyone, so I have came up with a different type of blog. I am going to use all the skills that I have taught you to create one project. So the basic idea is for you to first understand the input and try developing the project as per inputs. So let’s get started. Here in this blog we will create Arduino projects using embedded C. Inputs So we wanted to create a LAMP-DIMMER on an arduino board using embedded C that means we want to regulate the brightness of our LED with the help of a regulator (Potentiometer) so out required hardware would be- LED Potentiometer Arduino Bread Board ..read more
Visit website
Analog-to-digital converter -how to code ADC peripheral on an Arduino in Embedded C?
DoAfCo » Embedded C
by Team DoAfCo
4y ago
So till now we have learned about Timers and also how to give interrupts to the normally working super loop. Now we will learn About what is Analog-to-digital converter on Arduino how to program this peripheral for our use. How to code Analog-to-digital converter on an arduino wein Embedded C? What is Analog-to-digital converter on arduino? So According to Wikipedia and many other references It is a system that can convert analog signal into digital values. But what does these lines mean -so It means when you take some set of values that are continuous and give a specific single value to ..read more
Visit website
AVR Timer – PWM mode
DoAfCo » Embedded C
by Team DoAfCo
4y ago
As we have discussed in our previous blog about how to program a timer in Normal mode so as to create a delay of several seconds or minutes according to the calculations. Now comes how AVR timers work in PWM mode. And how we can generate waves using them. This means Turning ON/OFF something in a particular fashion like- creating LED patterns or controlling the speed of motor. So before going through this blog please have a look at my previous blog if you have not gone through- What is Timer in AVR? HOW TO PROGRAM A TIMER IN AVR? Link to previous blogSo for creating PWM waves we need ..read more
Visit website
What are the best books to learn AVR?
DoAfCo » Embedded C
by Team DoAfCo
4y ago
So in this part, I will discuss about what are the books to learn AVR better. So here is the list of few books that you can refer for getting a better understanding and can be called as best books to learn AVR. The first book is – 1-The avr microcontroIIer and embedded system using assembly and c by -MUHAMMAD ALI MAZlDl . you can buy the book from here- This book is must read from chapter 1 till chapter 11. A nd it has explained AVR architechture very well. The second book is – 2-Make : AVR programming -by Elliot Williams You can buy the book from here. This boo ..read more
Visit website
AVR Architecture -basics part 3
DoAfCo » Embedded C
by Team DoAfCo
4y ago
In this blog we will talk about internals of AVR Architecture like- What is the memory organization of AVR? and how things works? Get started AVR Architecture So let’s get started AVR Architecture basics- AVR Block Diagram Let us First understand the Memory map of an AVR board. So AVR board have two memory – One is program memory and another one is data memory. So in this case RAM is the data memory and Flash is the program memory.But before that we need to understand the concept of program memory and data memory. For that we need to understand memory organization of AVR ..read more
Visit website
AVR Architecture -basics part 2
DoAfCo » Embedded C
by Team DoAfCo
4y ago
In the previous blog I have discussed the basics like what is Embedded , how data is processed inside the processor and what is a Micro-controller??? Now here let’s get started with second part of AVR Architecture basics. Now in this blog I will talk about what are micro-controller internals what are the mostly used terms and many other concepts. So, Lets get started. So firstly let’s understand Micro-controller- In figure 1 you can see the basic building block of a Micro-controller. So as I have already told MICRO-CONTROLLER= CPU/PROCESSOR + EXTRA PERIPHERALS. So, in the figure w ..read more
Visit website
AVR Architecture -basics Introduction (part 1)
DoAfCo » Embedded C
by Team DoAfCo
4y ago
What is Embedded System? “ An embedded system is a micro-controller based software driven, real time control system, which ma y be autonomous or human or network interactive , operating on diverse physical variables and in diverse environments ” Where do we find Embedded Systems?? • Home appliances – Microwave ovens , washing machines , • Entertainment devices – TV, DVD players , MP3 players • Telecommunication – Mobile phones , Telephones • Computers – Keyboards , Disk drives • Automobiles – Dashboard, Fuel Injection, suspension, GPS What are the characteristics o ..read more
Visit website
How to create a process in Operating system?
DoAfCo » Embedded C
by Team DoAfCo
4y ago
In my last blog I have talked about what is the significance of process in an operating system. Now here I will talk about how to create a process ,what are states of process and how process is maintain? What is a process in Operating system? Link to my last blogSo as I have told in my last blog process is a piece of code that is running on an operating system or will run on an operating system thus has taken some address space from the memory(RAM). So every program in Operating system that is executing or is going to execute will take some space and will consume some amount of CPU cyc ..read more
Visit website

Follow DoAfCo » Embedded C on FeedSpot

Continue with Google
Continue with Apple
OR