AVR Tutorial

Interfacing of Temperature Sensor with Atmega 16-ADC

Interfacing of Temperature Sensor with Atmega 16 Introduction In the previous article, I have written about the basic concepts of an ADC and some essential features of the ADC in Atmega16/32. In this article, I am going to tell you about the ADC initialization, taking the value through the ADC from a temperature sensor and …

Interfacing of Temperature Sensor with Atmega 16-ADC Read More »

ADC-Analog to Digital Conversion in Atmega-16

ADC-Analog to Digital Conversion ADC stands for Analog to Digital Conversion. It is the process which converts the Analog Signal such as the sound picked by a microphone, or the light entering the camera into the Digital Signals, which is required for further processing of the data. In this article, you will get to know …

ADC-Analog to Digital Conversion in Atmega-16 Read More »

Sensors-Introduction

Sensors-Introduction Before getting into ADC of AVR, let us discuss automation in the machine. So, what does it take to make a machine autonomous? Humans are the autonomous machine, so what does it take to become autonomous? The answer is sensors. Humans have 5 senses namely -vision, smell, taste, hearing, and touch. Therefore, in order …

Sensors-Introduction Read More »

Interrupts in Atmega16-AVR

Introduction The interrupt is another method to program the microcontroller. In the interrupt method, the microcontroller gets interrupted by the device connected to it. Once interrupted, it is going to run the piece of code written for particular interrupt called Interrupt Service Routine(ISR). Once it has done executing, it’s going to resumes the operation from where it’s …

Interrupts in Atmega16-AVR Read More »

Polling vs Interrupt

Introduction There are two basic approaches to the task in the microcontroller programming- Polling Method and Interrupt. In this article, we will point out the difference between Interrupt and Polling. An Example Consider a scenario: suppose you are waiting for your friend. There are two methods to know that when your friend has arrived. First …

Polling vs Interrupt Read More »

Scroll to Top