SlideShare a Scribd company logo
Anant Shrivatsava EI – 7 th  SEM
INTRODUCTION AVR or Atmel AVR are RISC based  family of  microcontroller produced by Atmel Corporations The acronym AVR has been reported to stand for  Advanced Virtual RISC, but it  has also been  rumored to stand for the initials chip's designers:  Alf and Vegard [RISC]. Atmel says that the name  AVR is not an acronym and does not stand  for  anything in particular.
The original AVR MCU was developed at a local  ASIC house in Trondheim Norway, where the two  founders of Atmel  Norway were working as  students. It was known as a uRISC (MicroRISC).  The internal architecture was further  developed by  Alf and Vergard. The AVR is a Harvard architecture machine with  programs and data stored  separately.
AVRs are generally classified into three broad groups: tinyAVRs  1-8 kB program memory 8-20-pin package Limited peripheral set megaAVRs  4-256 kB program memory 28-100-pin package Extended instruction set and peripheral set Application specific AVRs  megaAVRs with special features not found on the other members of the AVR family, such as LCD controller, USB controller, advanced PWM etc.
Device Architecture Data RAM Flash, EEPROM, and SRAM are all integrated onto a single chip, removing the need for external memory (though still available on some devices). Program Memory Program instructions  are stored in non-volatile Flash memory. Although they are 8-bit MCUs, each instruction takes 16 bits with an 8-bit opcode followed by 8 bits of data or an address to be modified by the previous instruction. So the flash memory is actually addressed in a 16-bit fashion. Internal Data Memory The data address space consists of the register file, I/O registers, and SRAM. The AVRs have 32 single-byte registers and are classified as 8-bit RISC devices.
Internal Registers The working registers are mapped in as the first 32 memory addresses (000016-001F16) followed by the 64 I/O registers (002016-005F16). Actual SRAM starts after the register sections (address 006016).  EEPROM Some AVR microcontrollers have internal Electrically Erasable Programmable Read Only Memory (EEPROM) for semi-permanent data storage. Like Flash memory, EEPROM can maintain its contents when electrical power is removed.Since the number of writes to EEPROM is not unlimited - Atmel specifies 100,000 write cycles in their datasheets. More on Device Architecture
Program Execution Atmel's AVRs have a single level pipeline design. This means the next machine instruction is fetched as the current one is executing. Most instructions take just one or two clock cycles, making AVRs relatively fast among the eight-bit microcontrollers. The AVR family of processors were designed with the efficient execution of compiled C code in mind and has several built-in pointers for the task. MCU Speed The AVR line can normally support clock speeds from 0-16 MHz, with some devices reaching 20 MHz. Lower powered operation usually requires a reduced clock speed. All AVRs feature an on-chip oscillator. Since many operations on the AVR are single cycle, the AVR can achieve up to 1MIPS per MHz.
Features Current AVRs offer a wide range of features: Multifunction, Bi-directional General Purpose I/O ports with configurable, built-in pull-up resistors Multiple Internal Oscillators Internal, Self-Programmable Instruction Flash Memory up to 256 K  In-System Programmable using ISP, JTAG, or High Voltage methods Optional Boot Code Section with Independent Lock Bits for Protection On chip debugging (OCD) support through JTAG or debugWIRE on most devices Internal Data EEPROM up to 4 kB Internal SRAM up to 8 K 8-Bit and 16-Bit Timers
Synchronous/Asynchronous Serial Peripherals (UART/USART)  Serial Peripheral Interface Bus (SPI) Universal Serial Interface (USI) for Two/Three-Wire Synchronous Data Transfer Brownout Detection Watchdog Timer (WDT) Multiple Power-Saving Sleep Modes Lighting and motor control (PWM Specific) Controller models 10-Bit A/D Converters, with multiplex of up to 16 channels A variety of serial interfaces, including MORE FEATURES
SOME MORE FEATURES CAN Controller Support USB Controller Support  Proper High-speed hardware & Hub controller with embedded AVR. Also freely available low-speed (HID) software emulation Ethernet Controller Support LCD Controller Support Low-voltage Devices Operating Down to 1.8v picoPower Devices I²C Compatible Two-Wire Interface (TWI)  PWM output (Dead time generator on some devices) Input capture Analog Comparators

More Related Content

What's hot (20)

PPTX
Serial Communication in 8051
Sudhanshu Janwadkar
 
PPT
8051 block diagram
DominicHendry
 
DOC
8051 Microcontroller Notes
Dr.YNM
 
PPT
Interfacing rs232
PRADEEP
 
PDF
Introduction to Avr Microcontrollers
Mohamed Tarek
 
PPTX
PIC Microcontrollers
Abdullah Saghir Ahmad
 
PPTX
Uart
Aditee Apurvaa
 
PPTX
Introduction to embedded systems
RAMPRAKASHT1
 
PPTX
Ec8791 arm 9 processor
RajalakshmiSermadurai
 
PDF
Unit II Arm 7 Introduction
Dr. Pankaj Zope
 
PDF
Introduction to pic microcontroller
Siva Kumar
 
PDF
Introduction in microcontroller
Sayed Mahmoud AbdEl Rahman
 
PPT
Embedded System Basics
Dr M Muruganandam Masilamani
 
PPTX
Microprocessor 8085 complete
Shubham Singh
 
PPTX
Architecture of 8051
hello_priti
 
PPTX
Introduction to AVR Microcontroller
Mahmoud Sadat
 
DOCX
8085 interfacing with memory chips
Srikrishna Thota
 
DOCX
Hardware-Software Codesign
Sudhanshu Janwadkar
 
PPTX
Microcontroller presentation
xavierpaulino
 
PPT
Communication Interface of The Embedded Systems
VijayKumar5738
 
Serial Communication in 8051
Sudhanshu Janwadkar
 
8051 block diagram
DominicHendry
 
8051 Microcontroller Notes
Dr.YNM
 
Interfacing rs232
PRADEEP
 
Introduction to Avr Microcontrollers
Mohamed Tarek
 
PIC Microcontrollers
Abdullah Saghir Ahmad
 
Introduction to embedded systems
RAMPRAKASHT1
 
Ec8791 arm 9 processor
RajalakshmiSermadurai
 
Unit II Arm 7 Introduction
Dr. Pankaj Zope
 
Introduction to pic microcontroller
Siva Kumar
 
Introduction in microcontroller
Sayed Mahmoud AbdEl Rahman
 
Embedded System Basics
Dr M Muruganandam Masilamani
 
Microprocessor 8085 complete
Shubham Singh
 
Architecture of 8051
hello_priti
 
Introduction to AVR Microcontroller
Mahmoud Sadat
 
8085 interfacing with memory chips
Srikrishna Thota
 
Hardware-Software Codesign
Sudhanshu Janwadkar
 
Microcontroller presentation
xavierpaulino
 
Communication Interface of The Embedded Systems
VijayKumar5738
 

Viewers also liked (20)

PPSX
Programming ATmega microcontroller using Embedded C
Varun A M
 
PPTX
AVR programming - BASICS
Robotix 2011
 
PPTX
Advance Microcontroller AVR
Daksh Raj Chopra
 
PDF
AVR Microcontroller
Özcan Acar
 
PPSX
ATmega32
Sɐɐp ɐɥɯǝp
 
PDF
Raspberry pi Beginners Session
Anant Shrivastava
 
PDF
When the internet bleeded : RootConf 2014
Anant Shrivastava
 
PPT
Web2.0 : an introduction
Anant Shrivastava
 
PPTX
Career In Information security
Anant Shrivastava
 
PDF
Owasp Mobile Risk M2 : Insecure Data Storage : null/OWASP/G4H Bangalore Aug 2014
Anant Shrivastava
 
PPTX
Basics of ATmega32
Nima Ghaedsharafi
 
PDF
Security Issues in Android Custom ROM
Anant Shrivastava
 
PDF
My tryst with sourcecode review
Anant Shrivastava
 
PDF
Android Tamer BH USA 2016 : Arsenal Presentation
Anant Shrivastava
 
PDF
Null bhopal Sep 2016: What it Takes to Secure a Web Application
Anant Shrivastava
 
PDF
Snake bites : Python for Pentesters
Anant Shrivastava
 
PDF
OWASP Bangalore : OWTF demo : 13 Dec 2014
Anant Shrivastava
 
PDF
Android Tamer: Virtual Machine for Android (Security) Professionals
Anant Shrivastava
 
PDF
Exploiting publically exposed Version Control System
Anant Shrivastava
 
PDF
Tale of Forgotten Disclosure and Lesson learned
Anant Shrivastava
 
Programming ATmega microcontroller using Embedded C
Varun A M
 
AVR programming - BASICS
Robotix 2011
 
Advance Microcontroller AVR
Daksh Raj Chopra
 
AVR Microcontroller
Özcan Acar
 
ATmega32
Sɐɐp ɐɥɯǝp
 
Raspberry pi Beginners Session
Anant Shrivastava
 
When the internet bleeded : RootConf 2014
Anant Shrivastava
 
Web2.0 : an introduction
Anant Shrivastava
 
Career In Information security
Anant Shrivastava
 
Owasp Mobile Risk M2 : Insecure Data Storage : null/OWASP/G4H Bangalore Aug 2014
Anant Shrivastava
 
Basics of ATmega32
Nima Ghaedsharafi
 
Security Issues in Android Custom ROM
Anant Shrivastava
 
My tryst with sourcecode review
Anant Shrivastava
 
Android Tamer BH USA 2016 : Arsenal Presentation
Anant Shrivastava
 
Null bhopal Sep 2016: What it Takes to Secure a Web Application
Anant Shrivastava
 
Snake bites : Python for Pentesters
Anant Shrivastava
 
OWASP Bangalore : OWTF demo : 13 Dec 2014
Anant Shrivastava
 
Android Tamer: Virtual Machine for Android (Security) Professionals
Anant Shrivastava
 
Exploiting publically exposed Version Control System
Anant Shrivastava
 
Tale of Forgotten Disclosure and Lesson learned
Anant Shrivastava
 
Ad

Similar to Avr introduction (20)

PPTX
3.TechieNest microcontrollers
TechieNest Pvt. Ltd .
 
PDF
introduction to embedded systems part 2
Hatem Abd El-Salam
 
PDF
1-AVR Introduction to Atmega32 good .pdf
KSRaviKumarMVGREEE
 
PDF
Atmega 128 datasheet
Rehmatullah Shaikh
 
PPTX
8051 presentation
Shivashankar Sawalgi
 
PPTX
Project Wireframes (1) (3).pptx
Raokt1
 
PDF
Data sheet of chip ATMEGA64 from Microchip
vuong49ctu
 
PPTX
Arduino Microcontroller
creatjet3d labs
 
PPTX
Arm arc-2016
Mohammed Gomaa
 
PDF
Dsp on an-avr
Vikash Kumar
 
PPT
Avr microcontrollers training (sahil gupta - 9068557926)
Sahil Gupta
 
PDF
Atmel 42735-8-bit-avr-microcontroller-a tmega328-328-p_summary
Rajan Gautam
 
PDF
2502s
Andi Gian
 
PDF
The document provides an overview of the Arduino platform for beginners.
QucngV
 
PDF
Interfacing using ِAtmega16/32
محمدعبد الحى
 
PPT
microcontroller basics
sagar Ramdev
 
PDF
ARM 7 and 9 Core Architecture Illustration
Jason J Pulikkottil
 
PPTX
Electronics Microcontrollers for IoT applications
Leopoldo Armesto
 
PDF
Doc2502
Poenya Boedie
 
PPTX
SNAPDRAGON SoC Family and ARM Architecture
Abdullaziz Tagawy
 
3.TechieNest microcontrollers
TechieNest Pvt. Ltd .
 
introduction to embedded systems part 2
Hatem Abd El-Salam
 
1-AVR Introduction to Atmega32 good .pdf
KSRaviKumarMVGREEE
 
Atmega 128 datasheet
Rehmatullah Shaikh
 
8051 presentation
Shivashankar Sawalgi
 
Project Wireframes (1) (3).pptx
Raokt1
 
Data sheet of chip ATMEGA64 from Microchip
vuong49ctu
 
Arduino Microcontroller
creatjet3d labs
 
Arm arc-2016
Mohammed Gomaa
 
Dsp on an-avr
Vikash Kumar
 
Avr microcontrollers training (sahil gupta - 9068557926)
Sahil Gupta
 
Atmel 42735-8-bit-avr-microcontroller-a tmega328-328-p_summary
Rajan Gautam
 
2502s
Andi Gian
 
The document provides an overview of the Arduino platform for beginners.
QucngV
 
Interfacing using ِAtmega16/32
محمدعبد الحى
 
microcontroller basics
sagar Ramdev
 
ARM 7 and 9 Core Architecture Illustration
Jason J Pulikkottil
 
Electronics Microcontrollers for IoT applications
Leopoldo Armesto
 
Doc2502
Poenya Boedie
 
SNAPDRAGON SoC Family and ARM Architecture
Abdullaziz Tagawy
 
Ad

More from Anant Shrivastava (15)

PDF
Diverseccon keynote: My 2 Paisa's on Infosec World
Anant Shrivastava
 
PDF
Slides null puliya linux basics
Anant Shrivastava
 
PDF
SSL Pinning and Bypasses: Android and iOS
Anant Shrivastava
 
PDF
Understanding The Known: OWASP A9 Using Components With Known Vulnerabilities
Anant Shrivastava
 
PPTX
Owasp Mobile Risk Series : M4 : Unintended Data Leakage
Anant Shrivastava
 
PDF
Owasp Mobile Risk Series : M3 : Insufficient Transport Layer Protection
Anant Shrivastava
 
PDF
WhitePaper : Security issues in android custom rom
Anant Shrivastava
 
PDF
Web application finger printing - whitepaper
Anant Shrivastava
 
PDF
Battle Underground NullCon 2011 Walkthrough
Anant Shrivastava
 
PDF
Nullcon Hack IM 2011 walk through
Anant Shrivastava
 
PPT
Embedded Systems : introduction
Anant Shrivastava
 
PPT
introduction to Lamp Stack
Anant Shrivastava
 
PPT
Logic Families Electronics
Anant Shrivastava
 
PPT
Filesystem
Anant Shrivastava
 
PPT
basic knowhow hacking
Anant Shrivastava
 
Diverseccon keynote: My 2 Paisa's on Infosec World
Anant Shrivastava
 
Slides null puliya linux basics
Anant Shrivastava
 
SSL Pinning and Bypasses: Android and iOS
Anant Shrivastava
 
Understanding The Known: OWASP A9 Using Components With Known Vulnerabilities
Anant Shrivastava
 
Owasp Mobile Risk Series : M4 : Unintended Data Leakage
Anant Shrivastava
 
Owasp Mobile Risk Series : M3 : Insufficient Transport Layer Protection
Anant Shrivastava
 
WhitePaper : Security issues in android custom rom
Anant Shrivastava
 
Web application finger printing - whitepaper
Anant Shrivastava
 
Battle Underground NullCon 2011 Walkthrough
Anant Shrivastava
 
Nullcon Hack IM 2011 walk through
Anant Shrivastava
 
Embedded Systems : introduction
Anant Shrivastava
 
introduction to Lamp Stack
Anant Shrivastava
 
Logic Families Electronics
Anant Shrivastava
 
Filesystem
Anant Shrivastava
 
basic knowhow hacking
Anant Shrivastava
 

Recently uploaded (20)

PDF
NewBase 03 July 2025 Energy News issue - 1799 by Khaled Al Awadi_compressed.pdf
Khaled Al Awadi
 
PPTX
Technical Analysis of 1st Generation Biofuel Feedstocks - 25th June 2025
TOFPIK
 
PPTX
World First Cardiovascular & Thoracic CT Scanner
arineta37
 
PDF
NewBase 07 July 2025 Energy News issue - 1800 by Khaled Al Awadi_compressed.pdf
Khaled Al Awadi
 
PPTX
2025 July - ABM for B2B in Hubspot - Demand Gen HUG.pptx
mjenkins13
 
DOCX
TCP Communication Flag Txzczczxcxzzxypes.docx
esso24
 
PPTX
Understanding ISO 42001 Standard: AI Governance & Compliance Insights from Ad...
Adeptiv AI
 
PDF
LEWIONICS SCO Company Profile UAE JULY 2025
Natalie Lewes
 
PDF
"Complete Guide to the Partner Visa 2025
Zealand Immigration
 
PDF
15 Essential Cloud Podcasts Every Tech Professional Should Know in 2025
Amnic
 
PPTX
GE%205.pptx BUSINESS EMAIL this report aims
KenSantos27
 
PDF
Maksym Vyshnivetskyi: Управління закупівлями (UA)
Lviv Startup Club
 
PDF
Smart Lead Magnet Review: Effortless Email List Growth with Automated Funnels...
Larry888358
 
PDF
Thane Stenner - An Industry Expert
Thane Stenner
 
PDF
Jordan Minnesota City Codes and Ordinances
Forklift Trucks in Minnesota
 
PPTX
Top Oil and Gas Companies in India Fuelling the Nation’s Growth.pptx
Essar Group
 
DOCX
RECLAIM STOLEN CRYPTO REVIEW WITH RECUVA HACKER SOLUTIONS
camilamichaelj7
 
PPTX
Build Wealth & Protect Your Legacy with Indexed Universal Life Insurance
iulfinancial6
 
PPTX
Why-Your-BPO-Startup-Must-Track-Attrition-from-Day-One.pptx.pptx
Orage technologies
 
PDF
BeMetals_Presentation_July_2025 .pdf
DerekIwanaka2
 
NewBase 03 July 2025 Energy News issue - 1799 by Khaled Al Awadi_compressed.pdf
Khaled Al Awadi
 
Technical Analysis of 1st Generation Biofuel Feedstocks - 25th June 2025
TOFPIK
 
World First Cardiovascular & Thoracic CT Scanner
arineta37
 
NewBase 07 July 2025 Energy News issue - 1800 by Khaled Al Awadi_compressed.pdf
Khaled Al Awadi
 
2025 July - ABM for B2B in Hubspot - Demand Gen HUG.pptx
mjenkins13
 
TCP Communication Flag Txzczczxcxzzxypes.docx
esso24
 
Understanding ISO 42001 Standard: AI Governance & Compliance Insights from Ad...
Adeptiv AI
 
LEWIONICS SCO Company Profile UAE JULY 2025
Natalie Lewes
 
"Complete Guide to the Partner Visa 2025
Zealand Immigration
 
15 Essential Cloud Podcasts Every Tech Professional Should Know in 2025
Amnic
 
GE%205.pptx BUSINESS EMAIL this report aims
KenSantos27
 
Maksym Vyshnivetskyi: Управління закупівлями (UA)
Lviv Startup Club
 
Smart Lead Magnet Review: Effortless Email List Growth with Automated Funnels...
Larry888358
 
Thane Stenner - An Industry Expert
Thane Stenner
 
Jordan Minnesota City Codes and Ordinances
Forklift Trucks in Minnesota
 
Top Oil and Gas Companies in India Fuelling the Nation’s Growth.pptx
Essar Group
 
RECLAIM STOLEN CRYPTO REVIEW WITH RECUVA HACKER SOLUTIONS
camilamichaelj7
 
Build Wealth & Protect Your Legacy with Indexed Universal Life Insurance
iulfinancial6
 
Why-Your-BPO-Startup-Must-Track-Attrition-from-Day-One.pptx.pptx
Orage technologies
 
BeMetals_Presentation_July_2025 .pdf
DerekIwanaka2
 

Avr introduction

  • 1. Anant Shrivatsava EI – 7 th SEM
  • 2. INTRODUCTION AVR or Atmel AVR are RISC based family of microcontroller produced by Atmel Corporations The acronym AVR has been reported to stand for Advanced Virtual RISC, but it has also been rumored to stand for the initials chip's designers: Alf and Vegard [RISC]. Atmel says that the name AVR is not an acronym and does not stand for anything in particular.
  • 3. The original AVR MCU was developed at a local ASIC house in Trondheim Norway, where the two founders of Atmel Norway were working as students. It was known as a uRISC (MicroRISC). The internal architecture was further developed by Alf and Vergard. The AVR is a Harvard architecture machine with programs and data stored separately.
  • 4. AVRs are generally classified into three broad groups: tinyAVRs 1-8 kB program memory 8-20-pin package Limited peripheral set megaAVRs 4-256 kB program memory 28-100-pin package Extended instruction set and peripheral set Application specific AVRs megaAVRs with special features not found on the other members of the AVR family, such as LCD controller, USB controller, advanced PWM etc.
  • 5. Device Architecture Data RAM Flash, EEPROM, and SRAM are all integrated onto a single chip, removing the need for external memory (though still available on some devices). Program Memory Program instructions are stored in non-volatile Flash memory. Although they are 8-bit MCUs, each instruction takes 16 bits with an 8-bit opcode followed by 8 bits of data or an address to be modified by the previous instruction. So the flash memory is actually addressed in a 16-bit fashion. Internal Data Memory The data address space consists of the register file, I/O registers, and SRAM. The AVRs have 32 single-byte registers and are classified as 8-bit RISC devices.
  • 6. Internal Registers The working registers are mapped in as the first 32 memory addresses (000016-001F16) followed by the 64 I/O registers (002016-005F16). Actual SRAM starts after the register sections (address 006016). EEPROM Some AVR microcontrollers have internal Electrically Erasable Programmable Read Only Memory (EEPROM) for semi-permanent data storage. Like Flash memory, EEPROM can maintain its contents when electrical power is removed.Since the number of writes to EEPROM is not unlimited - Atmel specifies 100,000 write cycles in their datasheets. More on Device Architecture
  • 7. Program Execution Atmel's AVRs have a single level pipeline design. This means the next machine instruction is fetched as the current one is executing. Most instructions take just one or two clock cycles, making AVRs relatively fast among the eight-bit microcontrollers. The AVR family of processors were designed with the efficient execution of compiled C code in mind and has several built-in pointers for the task. MCU Speed The AVR line can normally support clock speeds from 0-16 MHz, with some devices reaching 20 MHz. Lower powered operation usually requires a reduced clock speed. All AVRs feature an on-chip oscillator. Since many operations on the AVR are single cycle, the AVR can achieve up to 1MIPS per MHz.
  • 8. Features Current AVRs offer a wide range of features: Multifunction, Bi-directional General Purpose I/O ports with configurable, built-in pull-up resistors Multiple Internal Oscillators Internal, Self-Programmable Instruction Flash Memory up to 256 K In-System Programmable using ISP, JTAG, or High Voltage methods Optional Boot Code Section with Independent Lock Bits for Protection On chip debugging (OCD) support through JTAG or debugWIRE on most devices Internal Data EEPROM up to 4 kB Internal SRAM up to 8 K 8-Bit and 16-Bit Timers
  • 9. Synchronous/Asynchronous Serial Peripherals (UART/USART) Serial Peripheral Interface Bus (SPI) Universal Serial Interface (USI) for Two/Three-Wire Synchronous Data Transfer Brownout Detection Watchdog Timer (WDT) Multiple Power-Saving Sleep Modes Lighting and motor control (PWM Specific) Controller models 10-Bit A/D Converters, with multiplex of up to 16 channels A variety of serial interfaces, including MORE FEATURES
  • 10. SOME MORE FEATURES CAN Controller Support USB Controller Support Proper High-speed hardware & Hub controller with embedded AVR. Also freely available low-speed (HID) software emulation Ethernet Controller Support LCD Controller Support Low-voltage Devices Operating Down to 1.8v picoPower Devices I²C Compatible Two-Wire Interface (TWI) PWM output (Dead time generator on some devices) Input capture Analog Comparators