SlideShare une entreprise Scribd logo
1  sur  27
Tutorial On AVR Atmega8
Microcontroller, Architecture
And Its Applications
http://www.elprocus.com/
Tutorial On AVR Atmega8 Microcontroller,
Architecture And Its Applications
Introduction:
 AVR Microcontroller is “Advanced Virtual RISC” and MCU is the short term
of the Microcontroller. A Microcontroller is a tiny computer on a single chip
and it is also termed as a control device. Similar to a computer, the
Microcontroller is made with a variety of peripherals like input & output
units, memory, Timers, serial data communications, programmable.
http://www.elprocus.com/
Tutorial On AVR Atmega8 Microcontroller,
Architecture And Its Applications
 AVR Microcontroller was produced by the “Atmel Corporation”.
 The Microcontroller includes the Harvard architecture that works
rapidly with the RISC.
 The features of this Microcontroller include different features compared
with other like sleep modes-6, inbuilt ADC (analog to digital converter).
 Internal oscillator and serial data communication, performs the
instructions in a single execution cycle.
What is an AVR Atmega8 Microcontroller
http://www.elprocus.com/
Tutorial On AVR Atmega8 Microcontroller,
Architecture And Its Applications
What is an AVR Atmega8 Microcontroller
 These Microcontroller were very fast and they utilize low power to work in
different power saving modes.
 There are different configurations of AVR microcontrollers are available to
perform various operations like 8-bit, 16-bit, and 32-bit.
Atmega8 Microcontroller
http://www.elprocus.com/
Tutorial On AVR Atmega8 Microcontroller,
Architecture And Its Applications
Different Categories Of AVR Microcontroller
 AVR microcontrollers are available in three different categories such as
• TinyAVR
• MegaAVR
• XmegaAVR
http://www.elprocus.com/
Tutorial On AVR Atmega8 Microcontroller,
Architecture And Its Applications
Different Categories Of AVR Microcontroller
 The Tiny AVR microcontroller is very small in size and used in many
simple applications
 Mega AVR microcontroller is very famous due to a large number of
integrated components, good memory, and used in modern to multiple
applications
 The Xmega AVR microcontroller is applied in difficult applications, which
require high speed and huge program memory.
http://www.elprocus.com/
Tutorial On AVR Atmega8 Microcontroller,
Architecture And Its Applications
Atmega8 Microcontroller Pin Description
 The main feature of Atmega8 Microcontroller is that, all the pins of the
Microcontroller support two signals except 5-pins.
 The Atmega8 microcontroller consists of 28 pins where pins
9,10,14,15,16,17,18,19 are used for port B
 Pins 23,24,25,26,27,28 and 1 are used for port C and pins
2,3,4,5,6,11,12 are used for port D.
http://www.elprocus.com/
Tutorial On AVR Atmega8 Microcontroller,
Architecture And Its Applications
Atmega8 Microcontroller Pin Description
http://www.elprocus.com/
Tutorial On AVR Atmega8 Microcontroller,
Architecture And Its Applications
Atmega8 Microcontroller Pin Description
 Pin -1 is the RST (Reset) pin and applying a low level signal for a time
longer than the minimum pulse length will produce a RESET.
 Pin-2 and pin-3 are used in USART for serial communication
 Pin-4 and pin-5 are used as an external interrupt.
 One of them will activate when an interrupt flag bit of the status
register is set and the other will activate as long as the intrude condition
succeeds.
http://www.elprocus.com/
Tutorial On AVR Atmega8 Microcontroller,
Architecture And Its Applications
Atmega8 Microcontroller Pin Description
 Pin-9 & pin-10 are used as a timer counters oscillators as well as an
external oscillator.
 Where the crystal is associated directly with the two pins.
 Pin-10 is used for low-frequency crystal oscillator or crystal oscillator.
 If the internal adjusted RC oscillator is used as the CLK source & the
asynchronous timer is allowed, then these pins can be utilized as a timer
oscillator pin.
http://www.elprocus.com/
Tutorial On AVR Atmega8 Microcontroller,
Architecture And Its Applications
Atmega8 Microcontroller Pin Description
 Pin-19 is used as a Master CLK o/p, slave CLK i/p for the SPI-channel.
 Pin-18 is used as Master CLK i/p, slave CLK o/p.
 Pin-17 is used as Master data o/p, slave data i/p for the SPI-channel.
 It is used as an i/p when empowered by a slave & is bidirectional
when allowed by the master.
http://www.elprocus.com/
Tutorial On AVR Atmega8 Microcontroller,
Architecture And Its Applications
Atmega8 Microcontroller Pin Description
 This pin can also be utilized as an o/p compare with match o/p, which
helps as an external o/p for the timer/counter.
 Pin-16 is used as a slave choice i/p. It can also be used as a timer or
counter1 comparatively by arranging the PB2-pin as an o/p.
 Pin-15 can be used as an external o/p of the timer or counter compare
match A.
 Pin-23 to Pins28 have used for ADC (digital value of analog
input) channels.
http://www.elprocus.com/
Tutorial On AVR Atmega8 Microcontroller,
Architecture And Its Applications
 Pin-27 can also be used as a serial interface CLK & pin-28 can be
used as a serial interface data
 Pin-12 and pin-13 are used as an Analog Comparator i/ps.
 Pin-6 and pin-11 are used as timer/counter sources.
Atmega8 Microcontroller Pin Description
http://www.elprocus.com/
Tutorial On AVR Atmega8 Microcontroller,
Architecture And Its Applications
Atmega8 AVR Microcontroller Architecture
 The Atmega AVR Microcontroller architecture includes the following blocks.
http://www.elprocus.com/
Tutorial On AVR Atmega8 Microcontroller,
Architecture And Its Applications
Atmega8 AVR Microcontroller Architecture
 The Atmega AVR Microcontroller architecture includes the following blocks.
http://www.elprocus.com/
Tutorial On AVR Atmega8 Microcontroller,
Architecture And Its Applications
Atmega8 AVR Microcontroller Architecture
Memory:
 It has 1Kbyte Internal SRAM, 8 Kb of Flash program memory and 512 Bytes
of EEPROM.
I/O Ports:
It has three ports, namely port-B, port-C and port-D and 23 I/O line can
be attained from these ports.
http://www.elprocus.com/
Tutorial On AVR Atmega8 Microcontroller,
Architecture And Its Applications
Atmega8 AVR Microcontroller Architecture
Interrupts
 The two Exterior Interrupt sources are located at port D.
 Nineteen dissimilar interrupts vectors supporting nineteen events
produced by interior peripherals.
Timer/Counter
 There are 3-Internal Timers are accessible, 8 bit-2, 16 bit-1,
presenting numerous operating modes & supporting
internal/external clocking.
http://www.elprocus.com/
Tutorial On AVR Atmega8 Microcontroller,
Architecture And Its Applications
Atmega8 AVR Microcontroller Architecture
Serial Peripheral Interface (SPI)
 ATmega8 microcontroller holds three integrated communication
devices.
 One of them is an SPI, 4-pins are allocated to the Microcontroller to
implement this system of communication.
http://www.elprocus.com/
Tutorial On AVR Atmega8 Microcontroller,
Architecture And Its Applications
Atmega8 AVR Microcontroller Architecture
USART
 USART is one of the most powerful communication solutions.
 Microcontroller ATmega8 supports both synchronous & asynchronous
data transmission schemes.
 It has three pins allocated for that.
In many communication projects, USART module is widely used for
communication with PC-Microcontroller.
http://www.elprocus.com/
Tutorial On AVR Atmega8 Microcontroller,
Architecture And Its Applications
Atmega8 AVR Microcontroller Architecture
Two Wire Interface (TWI)
 TWI is an another communication device which is present in ATmega8
microcontroller.
 It permits designers to set up a communication b/n two devices using
two wires along with a mutual GND connection.
 As the o/p of the TWI is made by means of open collector o/ps,
therefore external pull-up resistors are compulsory to make the circuit.
http://www.elprocus.com/
Tutorial On AVR Atmega8 Microcontroller,
Architecture And Its Applications
Atmega8 AVR Microcontroller Architecture
Analog Comparator
 This module is incorporated in the integrated circuit that offers
 contrast facility between two voltages linked to the two inputs of the
comparator through External pins associated with the Microcontroller.
ADC
 Inbuilt ADC (analog to digital converter) can alter an analog i/p signal into
digital data of the 10-bit resolution.
 For a maximum of the low-end application, this much resolution is sufficient.
http://www.elprocus.com/
Tutorial On AVR Atmega8 Microcontroller,
Architecture And Its Applications
Atmega8 Microcontroller Applications
 The Atmega8 microcontroller is used to build various electrical and
electronic projects.
Atmega8 based Project
http://www.elprocus.com/
Tutorial On AVR Atmega8 Microcontroller,
Architecture And Its Applications
Atmega8 Microcontroller Applications
 The Atmega8 microcontroller is used to build various electrical and
electronic projects.Embedded applications & automatically controlled
devices like.
 Medical devices
 Remote control devices
 Control systems
 Office machines
 Power tools
 Electronic devices
http://www.elprocus.com/
Tutorial On AVR Atmega8 Microcontroller,
Architecture And Its Applications
Atmega8 Microcontroller Applications
 Some of the AVR atmega8 Microcontroller projects are listed below.
• AVR Microcontroller based LED Matrix Interfacing
• UART communication between ArduinoUno and ATmega8
• Interfacing of Optocoupler with ATmega8 Microcontroller
• AVR Microcontroller based Fire Alarm System
• Measurement of Light Intensity using AVR Microcontroller and LDR
http://www.elprocus.com/
Tutorial On AVR Atmega8 Microcontroller,
Architecture And Its Applications
Atmega8 Microcontroller Applications
• AVR Microcontroller based 100mA Ammeter
• ATmega8 Microcontroller based Anti-Theft Alarm System
• AVR Microcontroller based Interfacing of Joystick
• AVR Microcontroller based Interfacing of Flex Sensor
• Stepper Motor Control using AVR Microcontroller
http://www.elprocus.com/
Tutorial On AVR Atmega8 Microcontroller,
Architecture And Its Applications
 This is all about Atmega8 microcontroller tutorial 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.
Conclusion
http://www.elprocus.com/

Contenu connexe

Tendances (20)

Microprocessor - Intel Pentium Series
Microprocessor - Intel Pentium SeriesMicroprocessor - Intel Pentium Series
Microprocessor - Intel Pentium Series
 
Lecture 3 instruction set
Lecture 3  instruction setLecture 3  instruction set
Lecture 3 instruction set
 
PPT ON Arduino
PPT ON Arduino PPT ON Arduino
PPT ON Arduino
 
Embedded system
Embedded systemEmbedded system
Embedded system
 
Assembly Language Programming Of 8085
Assembly Language Programming Of 8085Assembly Language Programming Of 8085
Assembly Language Programming Of 8085
 
Introduction to FPGAs
Introduction to FPGAsIntroduction to FPGAs
Introduction to FPGAs
 
Microcontroller 8051 and its interfacing
Microcontroller 8051 and its interfacingMicrocontroller 8051 and its interfacing
Microcontroller 8051 and its interfacing
 
Arm instruction set
Arm instruction setArm instruction set
Arm instruction set
 
Intro to Arduino
Intro to ArduinoIntro to Arduino
Intro to Arduino
 
Interfacing LCD with 8051 Microcontroller
Interfacing LCD with 8051 MicrocontrollerInterfacing LCD with 8051 Microcontroller
Interfacing LCD with 8051 Microcontroller
 
Instruction set of 8086
Instruction set of 8086Instruction set of 8086
Instruction set of 8086
 
Interrupts in pic
Interrupts in picInterrupts in pic
Interrupts in pic
 
Introduction to Embedded Architecture
Introduction to Embedded Architecture Introduction to Embedded Architecture
Introduction to Embedded Architecture
 
Chapter 1 microprocessor introduction
Chapter 1 microprocessor introductionChapter 1 microprocessor introduction
Chapter 1 microprocessor introduction
 
Architecture of 16C6X
Architecture of 16C6XArchitecture of 16C6X
Architecture of 16C6X
 
ATMEGA 328
ATMEGA 328ATMEGA 328
ATMEGA 328
 
Embedded System Basics
Embedded System BasicsEmbedded System Basics
Embedded System Basics
 
Introduction to Microcontroller
Introduction to MicrocontrollerIntroduction to Microcontroller
Introduction to Microcontroller
 
Introduction to 8085svv
Introduction to 8085svvIntroduction to 8085svv
Introduction to 8085svv
 
Memory & I/O interfacing
Memory & I/O  interfacingMemory & I/O  interfacing
Memory & I/O interfacing
 

En vedette

Programming ATmega microcontroller using Embedded C
Programming ATmega microcontroller using Embedded CProgramming ATmega microcontroller using Embedded C
Programming ATmega microcontroller using Embedded CVarun A M
 
AVR programming - BASICS
AVR programming - BASICSAVR programming - BASICS
AVR programming - BASICSRobotix 2011
 
Traffic light controller
Traffic light controllerTraffic light controller
Traffic light controllerSrikanth Kaleru
 
Advance Microcontroller AVR
Advance Microcontroller AVRAdvance Microcontroller AVR
Advance Microcontroller AVRDaksh Raj Chopra
 
AVR Fundamentals
AVR FundamentalsAVR Fundamentals
AVR FundamentalsVinit Vyas
 
Introduction to AVR Microcontroller
Introduction to AVR Microcontroller Introduction to AVR Microcontroller
Introduction to AVR Microcontroller Mahmoud Sadat
 
AVR Microcontroller
AVR MicrocontrollerAVR Microcontroller
AVR MicrocontrollerÖzcan Acar
 
Projects at mega32-avr-projects-list-1197-projects
Projects   at mega32-avr-projects-list-1197-projectsProjects   at mega32-avr-projects-list-1197-projects
Projects at mega32-avr-projects-list-1197-projectsAshraf11111
 
LATEST GSM PROJECTS 2012 ABSTRACT-GSM BASED HOME APPLIANCE CONTROL&SECURITY S...
LATEST GSM PROJECTS 2012 ABSTRACT-GSM BASED HOME APPLIANCE CONTROL&SECURITY S...LATEST GSM PROJECTS 2012 ABSTRACT-GSM BASED HOME APPLIANCE CONTROL&SECURITY S...
LATEST GSM PROJECTS 2012 ABSTRACT-GSM BASED HOME APPLIANCE CONTROL&SECURITY S...ASHOKKUMAR RAMAR
 
7 segment interface with avr microcontroller
7 segment interface with avr microcontroller7 segment interface with avr microcontroller
7 segment interface with avr microcontrollerKushagra Ganeriwal
 
ARDUINO EMBEDDED SYSTEM
ARDUINO EMBEDDED SYSTEMARDUINO EMBEDDED SYSTEM
ARDUINO EMBEDDED SYSTEMVishal GARG
 
Solar charger for mobile devices
Solar charger for mobile devicesSolar charger for mobile devices
Solar charger for mobile devicesAndrew Huang
 
A.F. Ismail (presentation)
A.F. Ismail (presentation)A.F. Ismail (presentation)
A.F. Ismail (presentation)Elektro_UMBO
 
Temperature Controlled Fan
Temperature Controlled FanTemperature Controlled Fan
Temperature Controlled FanPeeyush Pashine
 
LED Vu-Metter LM3915 and LM386
LED Vu-Metter LM3915 and LM386LED Vu-Metter LM3915 and LM386
LED Vu-Metter LM3915 and LM386Mr Giap
 
T.H. (presentation)
T.H. (presentation)T.H. (presentation)
T.H. (presentation)ElektroUMBO
 

En vedette (20)

Programming ATmega microcontroller using Embedded C
Programming ATmega microcontroller using Embedded CProgramming ATmega microcontroller using Embedded C
Programming ATmega microcontroller using Embedded C
 
AVR programming - BASICS
AVR programming - BASICSAVR programming - BASICS
AVR programming - BASICS
 
Traffic light controller
Traffic light controllerTraffic light controller
Traffic light controller
 
Advance Microcontroller AVR
Advance Microcontroller AVRAdvance Microcontroller AVR
Advance Microcontroller AVR
 
AVR Fundamentals
AVR FundamentalsAVR Fundamentals
AVR Fundamentals
 
Introduction to AVR Microcontroller
Introduction to AVR Microcontroller Introduction to AVR Microcontroller
Introduction to AVR Microcontroller
 
AVR Microcontroller
AVR MicrocontrollerAVR Microcontroller
AVR Microcontroller
 
Atmega 8
Atmega 8Atmega 8
Atmega 8
 
Projects at mega32-avr-projects-list-1197-projects
Projects   at mega32-avr-projects-list-1197-projectsProjects   at mega32-avr-projects-list-1197-projects
Projects at mega32-avr-projects-list-1197-projects
 
LATEST GSM PROJECTS 2012 ABSTRACT-GSM BASED HOME APPLIANCE CONTROL&SECURITY S...
LATEST GSM PROJECTS 2012 ABSTRACT-GSM BASED HOME APPLIANCE CONTROL&SECURITY S...LATEST GSM PROJECTS 2012 ABSTRACT-GSM BASED HOME APPLIANCE CONTROL&SECURITY S...
LATEST GSM PROJECTS 2012 ABSTRACT-GSM BASED HOME APPLIANCE CONTROL&SECURITY S...
 
7 segment interface with avr microcontroller
7 segment interface with avr microcontroller7 segment interface with avr microcontroller
7 segment interface with avr microcontroller
 
ARDUINO EMBEDDED SYSTEM
ARDUINO EMBEDDED SYSTEMARDUINO EMBEDDED SYSTEM
ARDUINO EMBEDDED SYSTEM
 
Most usefull at commands
Most usefull at commandsMost usefull at commands
Most usefull at commands
 
Lcd & keypad
Lcd & keypadLcd & keypad
Lcd & keypad
 
Solar charger for mobile devices
Solar charger for mobile devicesSolar charger for mobile devices
Solar charger for mobile devices
 
A.F. Ismail (presentation)
A.F. Ismail (presentation)A.F. Ismail (presentation)
A.F. Ismail (presentation)
 
Temperature Controlled Fan
Temperature Controlled FanTemperature Controlled Fan
Temperature Controlled Fan
 
Cam bien va ung dung
Cam bien va ung dungCam bien va ung dung
Cam bien va ung dung
 
LED Vu-Metter LM3915 and LM386
LED Vu-Metter LM3915 and LM386LED Vu-Metter LM3915 and LM386
LED Vu-Metter LM3915 and LM386
 
T.H. (presentation)
T.H. (presentation)T.H. (presentation)
T.H. (presentation)
 

Similaire à Tutorial on avr atmega8 microcontroller, architecture and its applications

Overview of Microcontroller and ATMega32 microcontroller
Overview of Microcontroller and ATMega32 microcontrollerOverview of Microcontroller and ATMega32 microcontroller
Overview of Microcontroller and ATMega32 microcontrollerRup Chowdhury
 
AVR atmega8 microcontroller based projects list - ATMega32 AVR.pdf
AVR atmega8 microcontroller based projects list - ATMega32 AVR.pdfAVR atmega8 microcontroller based projects list - ATMega32 AVR.pdf
AVR atmega8 microcontroller based projects list - ATMega32 AVR.pdfIsmailkhan77481
 
AN INTEGRATED FOUR-PORT DC-DC CONVERTER-CEI0080
AN INTEGRATED FOUR-PORT DC-DC CONVERTER-CEI0080AN INTEGRATED FOUR-PORT DC-DC CONVERTER-CEI0080
AN INTEGRATED FOUR-PORT DC-DC CONVERTER-CEI0080Vivek Venugopal
 
AVR Atmega16 based Projects List - ATMega32 AVR _ Atmega16 based Projects.pdf
AVR Atmega16 based Projects List - ATMega32 AVR _ Atmega16 based Projects.pdfAVR Atmega16 based Projects List - ATMega32 AVR _ Atmega16 based Projects.pdf
AVR Atmega16 based Projects List - ATMega32 AVR _ Atmega16 based Projects.pdfIsmailkhan77481
 
AVR Atmega16 based Projects List - ATMega32 AVR _ Atmega16 based Projects.pdf
AVR Atmega16 based Projects List - ATMega32 AVR _ Atmega16 based Projects.pdfAVR Atmega16 based Projects List - ATMega32 AVR _ Atmega16 based Projects.pdf
AVR Atmega16 based Projects List - ATMega32 AVR _ Atmega16 based Projects.pdfIsmailkhan77481
 
AVR atmega8 microcontroller based projects list - ATMega32 AVR.pdf
AVR atmega8 microcontroller based projects list - ATMega32 AVR.pdfAVR atmega8 microcontroller based projects list - ATMega32 AVR.pdf
AVR atmega8 microcontroller based projects list - ATMega32 AVR.pdfIsmailkhan77481
 
microcontroller basics
microcontroller basicsmicrocontroller basics
microcontroller basicssagar Ramdev
 
Introduction to Avr Microcontrollers
Introduction to Avr MicrocontrollersIntroduction to Avr Microcontrollers
Introduction to Avr MicrocontrollersMohamed Tarek
 
Embedded system (Chapter 2) part A
Embedded system (Chapter 2) part AEmbedded system (Chapter 2) part A
Embedded system (Chapter 2) part AIkhwan_Fakrudin
 
Pic microcontroller architecture
Pic microcontroller architecturePic microcontroller architecture
Pic microcontroller architectureJamia Hamdard
 
embedded system and microcontroller
 embedded system and microcontroller embedded system and microcontroller
embedded system and microcontrollerSHILPA Sillobhargav
 
Atmel-7735-Automotive-Microcontrollers-ATmega169P_-968165.pdf
Atmel-7735-Automotive-Microcontrollers-ATmega169P_-968165.pdfAtmel-7735-Automotive-Microcontrollers-ATmega169P_-968165.pdf
Atmel-7735-Automotive-Microcontrollers-ATmega169P_-968165.pdfMiguel Angel Sejas Villarroel
 
INDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptx
INDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptxINDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptx
INDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptxMeghdeepSingh
 

Similaire à Tutorial on avr atmega8 microcontroller, architecture and its applications (20)

Overview of Microcontroller and ATMega32 microcontroller
Overview of Microcontroller and ATMega32 microcontrollerOverview of Microcontroller and ATMega32 microcontroller
Overview of Microcontroller and ATMega32 microcontroller
 
AVR atmega8 microcontroller based projects list - ATMega32 AVR.pdf
AVR atmega8 microcontroller based projects list - ATMega32 AVR.pdfAVR atmega8 microcontroller based projects list - ATMega32 AVR.pdf
AVR atmega8 microcontroller based projects list - ATMega32 AVR.pdf
 
AN INTEGRATED FOUR-PORT DC-DC CONVERTER-CEI0080
AN INTEGRATED FOUR-PORT DC-DC CONVERTER-CEI0080AN INTEGRATED FOUR-PORT DC-DC CONVERTER-CEI0080
AN INTEGRATED FOUR-PORT DC-DC CONVERTER-CEI0080
 
Atmega8u2 mur
Atmega8u2 murAtmega8u2 mur
Atmega8u2 mur
 
AVR Atmega16 based Projects List - ATMega32 AVR _ Atmega16 based Projects.pdf
AVR Atmega16 based Projects List - ATMega32 AVR _ Atmega16 based Projects.pdfAVR Atmega16 based Projects List - ATMega32 AVR _ Atmega16 based Projects.pdf
AVR Atmega16 based Projects List - ATMega32 AVR _ Atmega16 based Projects.pdf
 
2502s
2502s2502s
2502s
 
AVR Atmega16 based Projects List - ATMega32 AVR _ Atmega16 based Projects.pdf
AVR Atmega16 based Projects List - ATMega32 AVR _ Atmega16 based Projects.pdfAVR Atmega16 based Projects List - ATMega32 AVR _ Atmega16 based Projects.pdf
AVR Atmega16 based Projects List - ATMega32 AVR _ Atmega16 based Projects.pdf
 
AVR atmega8 microcontroller based projects list - ATMega32 AVR.pdf
AVR atmega8 microcontroller based projects list - ATMega32 AVR.pdfAVR atmega8 microcontroller based projects list - ATMega32 AVR.pdf
AVR atmega8 microcontroller based projects list - ATMega32 AVR.pdf
 
3.TechieNest microcontrollers
3.TechieNest  microcontrollers3.TechieNest  microcontrollers
3.TechieNest microcontrollers
 
Doc2502
Doc2502Doc2502
Doc2502
 
Dsp on an-avr
Dsp on an-avrDsp on an-avr
Dsp on an-avr
 
microcontroller basics
microcontroller basicsmicrocontroller basics
microcontroller basics
 
Introduction to Avr Microcontrollers
Introduction to Avr MicrocontrollersIntroduction to Avr Microcontrollers
Introduction to Avr Microcontrollers
 
Embedded system (Chapter 2) part A
Embedded system (Chapter 2) part AEmbedded system (Chapter 2) part A
Embedded system (Chapter 2) part A
 
Pic microcontroller architecture
Pic microcontroller architecturePic microcontroller architecture
Pic microcontroller architecture
 
embedded system and microcontroller
 embedded system and microcontroller embedded system and microcontroller
embedded system and microcontroller
 
AT89 S52
AT89 S52AT89 S52
AT89 S52
 
Atmel-7735-Automotive-Microcontrollers-ATmega169P_-968165.pdf
Atmel-7735-Automotive-Microcontrollers-ATmega169P_-968165.pdfAtmel-7735-Automotive-Microcontrollers-ATmega169P_-968165.pdf
Atmel-7735-Automotive-Microcontrollers-ATmega169P_-968165.pdf
 
INDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptx
INDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptxINDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptx
INDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptx
 
Atmega324 p
Atmega324 pAtmega324 p
Atmega324 p
 

Plus de Edgefxkits & Solutions

Mains operated under voltage over voltage trip switch
Mains operated under voltage over voltage trip switchMains operated under voltage over voltage trip switch
Mains operated under voltage over voltage trip switchEdgefxkits & Solutions
 
TV Remote Jammer | 555 Timer Projects | Final Year Engineering Projects
TV Remote Jammer | 555 Timer Projects | Final Year Engineering ProjectsTV Remote Jammer | 555 Timer Projects | Final Year Engineering Projects
TV Remote Jammer | 555 Timer Projects | Final Year Engineering ProjectsEdgefxkits & Solutions
 
Predefined speed control of bldc motor
Predefined speed control of bldc motorPredefined speed control of bldc motor
Predefined speed control of bldc motorEdgefxkits & Solutions
 
Microcontroller based Electronic Eye Controlled security System
Microcontroller based Electronic Eye Controlled security SystemMicrocontroller based Electronic Eye Controlled security System
Microcontroller based Electronic Eye Controlled security SystemEdgefxkits & Solutions
 
How to select the diy electrical projects kit by engineering students
How to select the diy electrical projects kit by engineering studentsHow to select the diy electrical projects kit by engineering students
How to select the diy electrical projects kit by engineering studentsEdgefxkits & Solutions
 
Smooth start of a single phase induction motor
Smooth start of a single phase induction motorSmooth start of a single phase induction motor
Smooth start of a single phase induction motorEdgefxkits & Solutions
 
How to build a robot with an arduino and 8051 microcontroller
How to build a robot with an arduino and 8051 microcontrollerHow to build a robot with an arduino and 8051 microcontroller
How to build a robot with an arduino and 8051 microcontrollerEdgefxkits & Solutions
 
Opto-Electronic Oscillator Circuit Working and Applications
Opto-Electronic Oscillator Circuit Working and ApplicationsOpto-Electronic Oscillator Circuit Working and Applications
Opto-Electronic Oscillator Circuit Working and ApplicationsEdgefxkits & Solutions
 
Importance of Doing Mini Projects By Engineering Students
Importance of Doing Mini Projects By Engineering StudentsImportance of Doing Mini Projects By Engineering Students
Importance of Doing Mini Projects By Engineering StudentsEdgefxkits & Solutions
 
Common mode rejection ratio (cmrr) and the operational amplifier
Common mode rejection ratio (cmrr) and the operational amplifierCommon mode rejection ratio (cmrr) and the operational amplifier
Common mode rejection ratio (cmrr) and the operational amplifierEdgefxkits & Solutions
 
Photodiode working principle characteristics and applications
Photodiode working principle characteristics and applicationsPhotodiode working principle characteristics and applications
Photodiode working principle characteristics and applicationsEdgefxkits & Solutions
 
Cro cathode ray oscilloscope working and applications
Cro cathode ray oscilloscope working and applicationsCro cathode ray oscilloscope working and applications
Cro cathode ray oscilloscope working and applicationsEdgefxkits & Solutions
 
Electronic Speed Control (ESC) Circuits, Working And Applications
Electronic Speed Control (ESC) Circuits, Working And ApplicationsElectronic Speed Control (ESC) Circuits, Working And Applications
Electronic Speed Control (ESC) Circuits, Working And ApplicationsEdgefxkits & Solutions
 
Difference between soc and single board computer ppt1
Difference between soc and single board computer ppt1Difference between soc and single board computer ppt1
Difference between soc and single board computer ppt1Edgefxkits & Solutions
 
Prepaid energy meter with gsm interface
Prepaid energy meter with gsm interfacePrepaid energy meter with gsm interface
Prepaid energy meter with gsm interfaceEdgefxkits & Solutions
 
Pc mouse operated electrical load control using vb application
Pc mouse operated electrical load control using vb applicationPc mouse operated electrical load control using vb application
Pc mouse operated electrical load control using vb applicationEdgefxkits & Solutions
 

Plus de Edgefxkits & Solutions (20)

Mains operated under voltage over voltage trip switch
Mains operated under voltage over voltage trip switchMains operated under voltage over voltage trip switch
Mains operated under voltage over voltage trip switch
 
Scada for remote industrial plant
Scada for remote industrial plant Scada for remote industrial plant
Scada for remote industrial plant
 
TV Remote Jammer | 555 Timer Projects | Final Year Engineering Projects
TV Remote Jammer | 555 Timer Projects | Final Year Engineering ProjectsTV Remote Jammer | 555 Timer Projects | Final Year Engineering Projects
TV Remote Jammer | 555 Timer Projects | Final Year Engineering Projects
 
Predefined speed control of bldc motor
Predefined speed control of bldc motorPredefined speed control of bldc motor
Predefined speed control of bldc motor
 
Microcontroller based Electronic Eye Controlled security System
Microcontroller based Electronic Eye Controlled security SystemMicrocontroller based Electronic Eye Controlled security System
Microcontroller based Electronic Eye Controlled security System
 
How to select the diy electrical projects kit by engineering students
How to select the diy electrical projects kit by engineering studentsHow to select the diy electrical projects kit by engineering students
How to select the diy electrical projects kit by engineering students
 
Smooth start of a single phase induction motor
Smooth start of a single phase induction motorSmooth start of a single phase induction motor
Smooth start of a single phase induction motor
 
How to build a robot with an arduino and 8051 microcontroller
How to build a robot with an arduino and 8051 microcontrollerHow to build a robot with an arduino and 8051 microcontroller
How to build a robot with an arduino and 8051 microcontroller
 
Opto-Electronic Oscillator Circuit Working and Applications
Opto-Electronic Oscillator Circuit Working and ApplicationsOpto-Electronic Oscillator Circuit Working and Applications
Opto-Electronic Oscillator Circuit Working and Applications
 
Importance of Doing Mini Projects By Engineering Students
Importance of Doing Mini Projects By Engineering StudentsImportance of Doing Mini Projects By Engineering Students
Importance of Doing Mini Projects By Engineering Students
 
Common mode rejection ratio (cmrr) and the operational amplifier
Common mode rejection ratio (cmrr) and the operational amplifierCommon mode rejection ratio (cmrr) and the operational amplifier
Common mode rejection ratio (cmrr) and the operational amplifier
 
Vehicle tracking by gps gsm
Vehicle tracking by gps   gsm Vehicle tracking by gps   gsm
Vehicle tracking by gps gsm
 
Photodiode working principle characteristics and applications
Photodiode working principle characteristics and applicationsPhotodiode working principle characteristics and applications
Photodiode working principle characteristics and applications
 
Cro cathode ray oscilloscope working and applications
Cro cathode ray oscilloscope working and applicationsCro cathode ray oscilloscope working and applications
Cro cathode ray oscilloscope working and applications
 
Rfid security access control system
Rfid security access control systemRfid security access control system
Rfid security access control system
 
Density based traffic signal system
Density based traffic signal systemDensity based traffic signal system
Density based traffic signal system
 
Electronic Speed Control (ESC) Circuits, Working And Applications
Electronic Speed Control (ESC) Circuits, Working And ApplicationsElectronic Speed Control (ESC) Circuits, Working And Applications
Electronic Speed Control (ESC) Circuits, Working And Applications
 
Difference between soc and single board computer ppt1
Difference between soc and single board computer ppt1Difference between soc and single board computer ppt1
Difference between soc and single board computer ppt1
 
Prepaid energy meter with gsm interface
Prepaid energy meter with gsm interfacePrepaid energy meter with gsm interface
Prepaid energy meter with gsm interface
 
Pc mouse operated electrical load control using vb application
Pc mouse operated electrical load control using vb applicationPc mouse operated electrical load control using vb application
Pc mouse operated electrical load control using vb application
 

Dernier

Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.pptRamjanShidvankar
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the ClassroomPooky Knightsmith
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17Celine George
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsKarakKing
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsMebane Rash
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdfVishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdfssuserdda66b
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxcallscotland1987
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptxMaritesTamaniVerdade
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...Poonam Aher Patil
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxEsquimalt MFRC
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxAmanpreet Kaur
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfPoh-Sun Goh
 

Dernier (20)

Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdfVishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptx
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 

Tutorial on avr atmega8 microcontroller, architecture and its applications

  • 1. Tutorial On AVR Atmega8 Microcontroller, Architecture And Its Applications
  • 2. http://www.elprocus.com/ Tutorial On AVR Atmega8 Microcontroller, Architecture And Its Applications Introduction:  AVR Microcontroller is “Advanced Virtual RISC” and MCU is the short term of the Microcontroller. A Microcontroller is a tiny computer on a single chip and it is also termed as a control device. Similar to a computer, the Microcontroller is made with a variety of peripherals like input & output units, memory, Timers, serial data communications, programmable.
  • 3. http://www.elprocus.com/ Tutorial On AVR Atmega8 Microcontroller, Architecture And Its Applications  AVR Microcontroller was produced by the “Atmel Corporation”.  The Microcontroller includes the Harvard architecture that works rapidly with the RISC.  The features of this Microcontroller include different features compared with other like sleep modes-6, inbuilt ADC (analog to digital converter).  Internal oscillator and serial data communication, performs the instructions in a single execution cycle. What is an AVR Atmega8 Microcontroller
  • 4. http://www.elprocus.com/ Tutorial On AVR Atmega8 Microcontroller, Architecture And Its Applications What is an AVR Atmega8 Microcontroller  These Microcontroller were very fast and they utilize low power to work in different power saving modes.  There are different configurations of AVR microcontrollers are available to perform various operations like 8-bit, 16-bit, and 32-bit. Atmega8 Microcontroller
  • 5. http://www.elprocus.com/ Tutorial On AVR Atmega8 Microcontroller, Architecture And Its Applications Different Categories Of AVR Microcontroller  AVR microcontrollers are available in three different categories such as • TinyAVR • MegaAVR • XmegaAVR
  • 6. http://www.elprocus.com/ Tutorial On AVR Atmega8 Microcontroller, Architecture And Its Applications Different Categories Of AVR Microcontroller  The Tiny AVR microcontroller is very small in size and used in many simple applications  Mega AVR microcontroller is very famous due to a large number of integrated components, good memory, and used in modern to multiple applications  The Xmega AVR microcontroller is applied in difficult applications, which require high speed and huge program memory.
  • 7. http://www.elprocus.com/ Tutorial On AVR Atmega8 Microcontroller, Architecture And Its Applications Atmega8 Microcontroller Pin Description  The main feature of Atmega8 Microcontroller is that, all the pins of the Microcontroller support two signals except 5-pins.  The Atmega8 microcontroller consists of 28 pins where pins 9,10,14,15,16,17,18,19 are used for port B  Pins 23,24,25,26,27,28 and 1 are used for port C and pins 2,3,4,5,6,11,12 are used for port D.
  • 8. http://www.elprocus.com/ Tutorial On AVR Atmega8 Microcontroller, Architecture And Its Applications Atmega8 Microcontroller Pin Description
  • 9. http://www.elprocus.com/ Tutorial On AVR Atmega8 Microcontroller, Architecture And Its Applications Atmega8 Microcontroller Pin Description  Pin -1 is the RST (Reset) pin and applying a low level signal for a time longer than the minimum pulse length will produce a RESET.  Pin-2 and pin-3 are used in USART for serial communication  Pin-4 and pin-5 are used as an external interrupt.  One of them will activate when an interrupt flag bit of the status register is set and the other will activate as long as the intrude condition succeeds.
  • 10. http://www.elprocus.com/ Tutorial On AVR Atmega8 Microcontroller, Architecture And Its Applications Atmega8 Microcontroller Pin Description  Pin-9 & pin-10 are used as a timer counters oscillators as well as an external oscillator.  Where the crystal is associated directly with the two pins.  Pin-10 is used for low-frequency crystal oscillator or crystal oscillator.  If the internal adjusted RC oscillator is used as the CLK source & the asynchronous timer is allowed, then these pins can be utilized as a timer oscillator pin.
  • 11. http://www.elprocus.com/ Tutorial On AVR Atmega8 Microcontroller, Architecture And Its Applications Atmega8 Microcontroller Pin Description  Pin-19 is used as a Master CLK o/p, slave CLK i/p for the SPI-channel.  Pin-18 is used as Master CLK i/p, slave CLK o/p.  Pin-17 is used as Master data o/p, slave data i/p for the SPI-channel.  It is used as an i/p when empowered by a slave & is bidirectional when allowed by the master.
  • 12. http://www.elprocus.com/ Tutorial On AVR Atmega8 Microcontroller, Architecture And Its Applications Atmega8 Microcontroller Pin Description  This pin can also be utilized as an o/p compare with match o/p, which helps as an external o/p for the timer/counter.  Pin-16 is used as a slave choice i/p. It can also be used as a timer or counter1 comparatively by arranging the PB2-pin as an o/p.  Pin-15 can be used as an external o/p of the timer or counter compare match A.  Pin-23 to Pins28 have used for ADC (digital value of analog input) channels.
  • 13. http://www.elprocus.com/ Tutorial On AVR Atmega8 Microcontroller, Architecture And Its Applications  Pin-27 can also be used as a serial interface CLK & pin-28 can be used as a serial interface data  Pin-12 and pin-13 are used as an Analog Comparator i/ps.  Pin-6 and pin-11 are used as timer/counter sources. Atmega8 Microcontroller Pin Description
  • 14. http://www.elprocus.com/ Tutorial On AVR Atmega8 Microcontroller, Architecture And Its Applications Atmega8 AVR Microcontroller Architecture  The Atmega AVR Microcontroller architecture includes the following blocks.
  • 15. http://www.elprocus.com/ Tutorial On AVR Atmega8 Microcontroller, Architecture And Its Applications Atmega8 AVR Microcontroller Architecture  The Atmega AVR Microcontroller architecture includes the following blocks.
  • 16. http://www.elprocus.com/ Tutorial On AVR Atmega8 Microcontroller, Architecture And Its Applications Atmega8 AVR Microcontroller Architecture Memory:  It has 1Kbyte Internal SRAM, 8 Kb of Flash program memory and 512 Bytes of EEPROM. I/O Ports: It has three ports, namely port-B, port-C and port-D and 23 I/O line can be attained from these ports.
  • 17. http://www.elprocus.com/ Tutorial On AVR Atmega8 Microcontroller, Architecture And Its Applications Atmega8 AVR Microcontroller Architecture Interrupts  The two Exterior Interrupt sources are located at port D.  Nineteen dissimilar interrupts vectors supporting nineteen events produced by interior peripherals. Timer/Counter  There are 3-Internal Timers are accessible, 8 bit-2, 16 bit-1, presenting numerous operating modes & supporting internal/external clocking.
  • 18. http://www.elprocus.com/ Tutorial On AVR Atmega8 Microcontroller, Architecture And Its Applications Atmega8 AVR Microcontroller Architecture Serial Peripheral Interface (SPI)  ATmega8 microcontroller holds three integrated communication devices.  One of them is an SPI, 4-pins are allocated to the Microcontroller to implement this system of communication.
  • 19. http://www.elprocus.com/ Tutorial On AVR Atmega8 Microcontroller, Architecture And Its Applications Atmega8 AVR Microcontroller Architecture USART  USART is one of the most powerful communication solutions.  Microcontroller ATmega8 supports both synchronous & asynchronous data transmission schemes.  It has three pins allocated for that. In many communication projects, USART module is widely used for communication with PC-Microcontroller.
  • 20. http://www.elprocus.com/ Tutorial On AVR Atmega8 Microcontroller, Architecture And Its Applications Atmega8 AVR Microcontroller Architecture Two Wire Interface (TWI)  TWI is an another communication device which is present in ATmega8 microcontroller.  It permits designers to set up a communication b/n two devices using two wires along with a mutual GND connection.  As the o/p of the TWI is made by means of open collector o/ps, therefore external pull-up resistors are compulsory to make the circuit.
  • 21. http://www.elprocus.com/ Tutorial On AVR Atmega8 Microcontroller, Architecture And Its Applications Atmega8 AVR Microcontroller Architecture Analog Comparator  This module is incorporated in the integrated circuit that offers  contrast facility between two voltages linked to the two inputs of the comparator through External pins associated with the Microcontroller. ADC  Inbuilt ADC (analog to digital converter) can alter an analog i/p signal into digital data of the 10-bit resolution.  For a maximum of the low-end application, this much resolution is sufficient.
  • 22. http://www.elprocus.com/ Tutorial On AVR Atmega8 Microcontroller, Architecture And Its Applications Atmega8 Microcontroller Applications  The Atmega8 microcontroller is used to build various electrical and electronic projects. Atmega8 based Project
  • 23. http://www.elprocus.com/ Tutorial On AVR Atmega8 Microcontroller, Architecture And Its Applications Atmega8 Microcontroller Applications  The Atmega8 microcontroller is used to build various electrical and electronic projects.Embedded applications & automatically controlled devices like.  Medical devices  Remote control devices  Control systems  Office machines  Power tools  Electronic devices
  • 24. http://www.elprocus.com/ Tutorial On AVR Atmega8 Microcontroller, Architecture And Its Applications Atmega8 Microcontroller Applications  Some of the AVR atmega8 Microcontroller projects are listed below. • AVR Microcontroller based LED Matrix Interfacing • UART communication between ArduinoUno and ATmega8 • Interfacing of Optocoupler with ATmega8 Microcontroller • AVR Microcontroller based Fire Alarm System • Measurement of Light Intensity using AVR Microcontroller and LDR
  • 25. http://www.elprocus.com/ Tutorial On AVR Atmega8 Microcontroller, Architecture And Its Applications Atmega8 Microcontroller Applications • AVR Microcontroller based 100mA Ammeter • ATmega8 Microcontroller based Anti-Theft Alarm System • AVR Microcontroller based Interfacing of Joystick • AVR Microcontroller based Interfacing of Flex Sensor • Stepper Motor Control using AVR Microcontroller
  • 26. http://www.elprocus.com/ Tutorial On AVR Atmega8 Microcontroller, Architecture And Its Applications  This is all about Atmega8 microcontroller tutorial 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. Conclusion