SlideShare a Scribd company logo
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/

More Related Content

What's hot (20)

PDF
Introduction to FPGA, VHDL
Amr Rashed
 
PPTX
PIC Microcontrollers
Abdullah Saghir Ahmad
 
PDF
8051 microcontroller
Gaurav Verma
 
PPT
8255 ppi
Suraj Bora
 
PPT
Memory & I/O interfacing
deval patel
 
PPTX
Pin diagram 8085
Siddhesh Palkar
 
PPTX
Pic 18 microcontroller
Ashish Ranjan
 
PPTX
8 Bit ALU
E ER Yash nagaria
 
PPT
Introduction to microprocessor
Sudhir Reddy
 
PPTX
Math Co-processor 8087
Prothoma Diteeya
 
PPT
AVR Fundamentals
Vinit Vyas
 
PDF
ARM architcture
Hossam Adel
 
PPTX
Microprocessor - Intel Pentium Series
Laguna State Polytechnic University
 
PPTX
INTRODUCTION TO MICROCONTROLLER
Ankita Jaiswal
 
PDF
USB protocol
Mostafa El-koumy
 
PPTX
8051 Microcontroller PPT's By Er. Swapnil Kaware
Prof. Swapnil V. Kaware
 
PDF
Arduino Lecture 1 - Introducing the Arduino
Eoin Brazil
 
PPTX
Introduction to arm processor
RAMPRAKASHT1
 
PPTX
8255 PPI
deval patel
 
Introduction to FPGA, VHDL
Amr Rashed
 
PIC Microcontrollers
Abdullah Saghir Ahmad
 
8051 microcontroller
Gaurav Verma
 
8255 ppi
Suraj Bora
 
Memory & I/O interfacing
deval patel
 
Pin diagram 8085
Siddhesh Palkar
 
Pic 18 microcontroller
Ashish Ranjan
 
Introduction to microprocessor
Sudhir Reddy
 
Math Co-processor 8087
Prothoma Diteeya
 
AVR Fundamentals
Vinit Vyas
 
ARM architcture
Hossam Adel
 
Microprocessor - Intel Pentium Series
Laguna State Polytechnic University
 
INTRODUCTION TO MICROCONTROLLER
Ankita Jaiswal
 
USB protocol
Mostafa El-koumy
 
8051 Microcontroller PPT's By Er. Swapnil Kaware
Prof. Swapnil V. Kaware
 
Arduino Lecture 1 - Introducing the Arduino
Eoin Brazil
 
Introduction to arm processor
RAMPRAKASHT1
 
8255 PPI
deval patel
 

Viewers also liked (20)

PPSX
Programming ATmega microcontroller using Embedded C
Varun A M
 
PPTX
AVR programming - BASICS
Robotix 2011
 
PPTX
Traffic light controller
Srikanth Kaleru
 
PPTX
Advance Microcontroller AVR
Daksh Raj Chopra
 
PDF
AVR Microcontroller
Özcan Acar
 
PDF
Atmega 8
Amri Yusron
 
PDF
Projects at mega32-avr-projects-list-1197-projects
Ashraf11111
 
DOC
LATEST GSM PROJECTS 2012 ABSTRACT-GSM BASED HOME APPLIANCE CONTROL&SECURITY S...
ASHOKKUMAR RAMAR
 
PPTX
7 segment interface with avr microcontroller
Kushagra Ganeriwal
 
DOCX
ARDUINO EMBEDDED SYSTEM
Vishal GARG
 
PDF
Most usefull at commands
Vishnu Chittan Mudrakartha
 
PPT
Lcd & keypad
Izwanizam Yahaya
 
PDF
Solar charger for mobile devices
Andrew Huang
 
PDF
A.F. Ismail (presentation)
Elektro_UMBO
 
PPTX
Temperature Controlled Fan
Peeyush Pashine
 
PDF
Cam bien va ung dung
Đinh Công Thiện Taydo University
 
PDF
LED Vu-Metter LM3915 and LM386
Mr Giap
 
PDF
T.H. (presentation)
ElektroUMBO
 
DOC
Gsm based home automation using avr
Padmakar Mangrule
 
Programming ATmega microcontroller using Embedded C
Varun A M
 
AVR programming - BASICS
Robotix 2011
 
Traffic light controller
Srikanth Kaleru
 
Advance Microcontroller AVR
Daksh Raj Chopra
 
AVR Microcontroller
Özcan Acar
 
Atmega 8
Amri Yusron
 
Projects at mega32-avr-projects-list-1197-projects
Ashraf11111
 
LATEST GSM PROJECTS 2012 ABSTRACT-GSM BASED HOME APPLIANCE CONTROL&SECURITY S...
ASHOKKUMAR RAMAR
 
7 segment interface with avr microcontroller
Kushagra Ganeriwal
 
ARDUINO EMBEDDED SYSTEM
Vishal GARG
 
Most usefull at commands
Vishnu Chittan Mudrakartha
 
Lcd & keypad
Izwanizam Yahaya
 
Solar charger for mobile devices
Andrew Huang
 
A.F. Ismail (presentation)
Elektro_UMBO
 
Temperature Controlled Fan
Peeyush Pashine
 
LED Vu-Metter LM3915 and LM386
Mr Giap
 
T.H. (presentation)
ElektroUMBO
 
Gsm based home automation using avr
Padmakar Mangrule
 
Ad

Similar to Tutorial on avr atmega8 microcontroller, architecture and its applications (20)

PDF
The document provides an overview of the Arduino platform for beginners.
QucngV
 
DOCX
Avr report
NITISH KUMAR
 
PPTX
3.TechieNest microcontrollers
TechieNest Pvt. Ltd .
 
PPTX
Hardware for Body Area Network presentation
ssusere58e49
 
PPTX
Overview of Microcontroller and ATMega32 microcontroller
Rup Chowdhury
 
PDF
1.Introduction to AVR.pdf
MostafaKhaled78
 
PDF
Introduction to Avr Microcontrollers
Mohamed Tarek
 
PPTX
ATmega 16
Rahul Singh
 
PPT
Ajal mod 1
AJAL A J
 
PPTX
AVR ATmega32
Prashant Tiwari
 
PDF
Micro controller
محمدعبد الحى
 
PDF
Microcontroller
Kumar Satyam
 
PPTX
Atmega16
Thrived Kumar
 
PPTX
Embedded system design using arduino
Santosh Verma
 
PDF
introduction to embedded systems part 2
Hatem Abd El-Salam
 
PPTX
Introduction to Microcontroller
Nikhil Sharma
 
PPTX
Intro to micro controller (Atmega16)
Ramadan Ramadan
 
DOCX
Training report on embedded sys_AVR
Galgotias College of Engg. & Tech.
 
PPT
Avr introduction
Anant Shrivastava
 
PPTX
PPT WITH GRP.pptx Which microcontroller used in our projects ?
formyasuspc2022
 
The document provides an overview of the Arduino platform for beginners.
QucngV
 
Avr report
NITISH KUMAR
 
3.TechieNest microcontrollers
TechieNest Pvt. Ltd .
 
Hardware for Body Area Network presentation
ssusere58e49
 
Overview of Microcontroller and ATMega32 microcontroller
Rup Chowdhury
 
1.Introduction to AVR.pdf
MostafaKhaled78
 
Introduction to Avr Microcontrollers
Mohamed Tarek
 
ATmega 16
Rahul Singh
 
Ajal mod 1
AJAL A J
 
AVR ATmega32
Prashant Tiwari
 
Micro controller
محمدعبد الحى
 
Microcontroller
Kumar Satyam
 
Atmega16
Thrived Kumar
 
Embedded system design using arduino
Santosh Verma
 
introduction to embedded systems part 2
Hatem Abd El-Salam
 
Introduction to Microcontroller
Nikhil Sharma
 
Intro to micro controller (Atmega16)
Ramadan Ramadan
 
Training report on embedded sys_AVR
Galgotias College of Engg. & Tech.
 
Avr introduction
Anant Shrivastava
 
PPT WITH GRP.pptx Which microcontroller used in our projects ?
formyasuspc2022
 
Ad

More from Edgefxkits & Solutions (20)

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

Recently uploaded (20)

PPTX
EDUCATIONAL MEDIA/ TEACHING AUDIO VISUAL AIDS
Sonali Gupta
 
PDF
Vani - The Voice of Excellence - Jul 2025 issue
Savipriya Raghavendra
 
PPTX
Difference between write and update in odoo 18
Celine George
 
PPTX
Universal immunization Programme (UIP).pptx
Vishal Chanalia
 
PPTX
Controller Request and Response in Odoo18
Celine George
 
PDF
STATEMENT-BY-THE-HON.-MINISTER-FOR-HEALTH-ON-THE-COVID-19-OUTBREAK-AT-UG_revi...
nservice241
 
PPTX
grade 5 lesson matatag ENGLISH 5_Q1_PPT_WEEK4.pptx
SireQuinn
 
PPTX
How to Configure Re-Ordering From Portal in Odoo 18 Website
Celine George
 
PDF
Mahidol_Change_Agent_Note_2025-06-27-29_MUSEF
Tassanee Lerksuthirat
 
PDF
Horarios de distribución de agua en julio
pegazohn1978
 
PPTX
Introduction to Biochemistry & Cellular Foundations.pptx
marvinnbustamante1
 
PPTX
HUMAN RESOURCE MANAGEMENT: RECRUITMENT, SELECTION, PLACEMENT, DEPLOYMENT, TRA...
PRADEEP ABOTHU
 
PDF
Council of Chalcedon Re-Examined
Smiling Lungs
 
PPTX
How to Create a Customer From Website in Odoo 18.pptx
Celine George
 
PDF
Exploring the Different Types of Experimental Research
Thelma Villaflores
 
PPTX
CATEGORIES OF NURSING PERSONNEL: HOSPITAL & COLLEGE
PRADEEP ABOTHU
 
PDF
Governor Josh Stein letter to NC delegation of U.S. House
Mebane Rash
 
PDF
Reconstruct, Restore, Reimagine: New Perspectives on Stoke Newington’s Histor...
History of Stoke Newington
 
PPTX
Cultivation practice of Litchi in Nepal.pptx
UmeshTimilsina1
 
PDF
Stokey: A Jewish Village by Rachel Kolsky
History of Stoke Newington
 
EDUCATIONAL MEDIA/ TEACHING AUDIO VISUAL AIDS
Sonali Gupta
 
Vani - The Voice of Excellence - Jul 2025 issue
Savipriya Raghavendra
 
Difference between write and update in odoo 18
Celine George
 
Universal immunization Programme (UIP).pptx
Vishal Chanalia
 
Controller Request and Response in Odoo18
Celine George
 
STATEMENT-BY-THE-HON.-MINISTER-FOR-HEALTH-ON-THE-COVID-19-OUTBREAK-AT-UG_revi...
nservice241
 
grade 5 lesson matatag ENGLISH 5_Q1_PPT_WEEK4.pptx
SireQuinn
 
How to Configure Re-Ordering From Portal in Odoo 18 Website
Celine George
 
Mahidol_Change_Agent_Note_2025-06-27-29_MUSEF
Tassanee Lerksuthirat
 
Horarios de distribución de agua en julio
pegazohn1978
 
Introduction to Biochemistry & Cellular Foundations.pptx
marvinnbustamante1
 
HUMAN RESOURCE MANAGEMENT: RECRUITMENT, SELECTION, PLACEMENT, DEPLOYMENT, TRA...
PRADEEP ABOTHU
 
Council of Chalcedon Re-Examined
Smiling Lungs
 
How to Create a Customer From Website in Odoo 18.pptx
Celine George
 
Exploring the Different Types of Experimental Research
Thelma Villaflores
 
CATEGORIES OF NURSING PERSONNEL: HOSPITAL & COLLEGE
PRADEEP ABOTHU
 
Governor Josh Stein letter to NC delegation of U.S. House
Mebane Rash
 
Reconstruct, Restore, Reimagine: New Perspectives on Stoke Newington’s Histor...
History of Stoke Newington
 
Cultivation practice of Litchi in Nepal.pptx
UmeshTimilsina1
 
Stokey: A Jewish Village by Rachel Kolsky
History of Stoke Newington
 

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