Position: Index > Control Circuit >

Avr Atmega8 Microcontroller

2015-03-02 10:21  
Declaration:We aim to transmit more information by carrying articles . We will delete it soon, if we are involved in the problems of article content ,copyright or other problems.

In my previous article, I’ve discussed aboutATmega32. 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 simultaneously 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 rest of the features are available in this IC. Let us see what one can get from ATmega8.

Here find the pin diagram of Atmega8 microcontroller:-

avr atmega8 micro controller pin diagram

Pin Diagram – Atmega8

Memory:It has 8 Kb of Flash program memory (10,000 Write/Erase cycles durability), 512 Bytes of EEPROM (100,000 Write/Erase Cycles). ?1Kbyte Internal SRAM

I/O Ports:23 I/ line can be obtained from three ports; namely Port B, Port C and Port D.

Interrupts:? Two External Interrupt source, located at port D. 19 different interrupt vectors supporting 19 events generated by internal peripherals.

Timer/Counter:three Internal Timers available, two 8 bit, one 16 bit, Offering various operating modes and supporting internal or external clocking.

SPI (Serial Peripheral interface):ATmega8 holds three communication device integrated. One of them is Serial Peripheral Interface. Four pins are assigned to it to implement this scheme of communication.

USART:One of the most powerful communication solutions is USART and ATmega8 supports both synchronous and asynchronous data transfer schemes. It has three pins assigned for that. In many projects, this module is extensively used for PC-Micro controller communication.

TWI (Two Wire Interface):Another communication device that is present in ATmega32 is Two Wire Interface. It allows designers to set up a commutation between two devices using just two wires along with a common ground connection, As the TWI output is made by means of open collector Outputs, thus external pull up resistors are required to make the circuit.

Analog Comparator:A comparator module is integrated in the IC that provides comparison facility between two voltages connected to the two inputs of the Analog comparator via External pins attached to the micro controller.

Analog to Digital Converter:Inbuilt analog to digital converter can convert an analog input signal into digital data of 10bit resolution. For most of the low end application, this much resolution is enough.

Links

ATmega8 Datasheet

Find below the “internal architecture block diagram” of Atmega8

internal architecture atmega8

 

 


Reprinted Url Of This Article:
http://www.circuitstoday.com/avr-atmega8-microcontroller-an-introduction