Handling the Digital Input Output in AVR Micro Controllers

I have already discussed about a few chapters necessary to get into AVR programming. Now this is the first article that deals with programming.  Let us start with the basics. Digital input output (I/O) is the basic feature supported by  AVR micro controller. To facilitate digital input output, three registers are associated with each port of the micro controller. Data Direction Register- This register determines which of the pins will act as an output port, and which of them as input. Data Output Register-This register holds the Data output to the port. Data Input Register- Reads data from the port…

Read More

Avr Atmega8 Microcontroller – An Introduction

In my previous article, I’ve discussed about ATmega32. Now, let me introduce another member of AVR microcontroller family, the ATmega8. This member has many features similar to that of ATmega32. But it has reduced number of features and capabilities, yet it has enough features to work with. Now let me tell you that if you want to gather knowledge and at the same time want to do it in less cost than the budget of ATmega32, you can think of making projects with ATmega8. In that case, one feature you won’t be able to realize is the JTAG interface. But…

Read More