SlideShare une entreprise Scribd logo
1  sur  20
Introduction to AVR 
Microcontrollers 
Presented By: 
Mahmoud Sadat Badran
OUTLINE: 
• Microcontroller ? (History ,Components, Advantages, Applications) 
• Hardware VS. Software 
• Microcontroller Vs. Microprocessor. 
• Major market players. 
• AVR Microcontroller. 
• References.
• Microcontroller ? 
• A microcontroller is a single chip, self-contained 
computer.
History. 
1. 1971 Texas Instrument calculator-on-a-chip TMS 1000, which 
was a 4-bit microcontroller with built-in ROM and RAM. 
2. 1976 Intel 8048 was one of Intel's first microcontrollers. 
3. 1980 Intel 8051 followed in and became one of the most 
popular microcontroller families. 
4. 1996 Atmel AVR was one of the first microcontroller families 
to use on-chip flash memory for program storage.
Components. 
A Microcontroller has seven main components: 
1-Central processing unit (CPU) 
2-ROM 
3-RAM 
4-Input and Output 
5-Timer 
6-Interrupt circuitry 
7-Buses 
8-Oscillatory circuits
Advantages. 
1. Cheap. 
2. Very small in size. 
3. Programming of Microcontrollers is simple to learn (c language or 
Assembly). 
4. Ability to simulate project before implementation.
Applications. 
1.Mobile Phones. 
2.Auto-motive industry. 
3.CD/DVD Players. 
4.Washing Machines. 
5.Cameras. 
6.Modems and Routers. 
7.Security Alarms. 
8.Electronic Measurement. 
9.Microwave Oven. 
Etc.
Hardware VS. Software 
Hardware Software 
# Hardware Software 
Design Cost High Medium 
Speed High Medium 
Modifications Hard Easy 
Maintainability Hard Easy 
Time to market Long short 
Cost High Low
Microcontroller Vs. Microprocessor 
# Micro-controller Micro-processor 
Cost Cheap Expensive 
Speed Slow (in MHz Range) Fast (in GHz Range) 
Purpose Special General 
Dependency Single Chip has almost 
all components 
Need external 
components to be able 
to interact. 
Resources Limited Unlimited
Major market 
1p. lTaeyxeasr sInstruments. 
2. Atmel Corporation. 
3. Microchip. 
4. Renesas Technology Corp. 
5. Intel Corporation. 
6. STMicroelectronics. 
7. Freescale Semiconductor.
AVR Microcontroller 
The AVR architecture was conceived by two students at the 
Norwegian Institute of Technology Alf-Egil Bogen and Vegard 
Wollan 
• Devices range from 1 to 
256KB 
• Pin count range from 8 to 
100 
• Full code compatibility 
• Pin/feature compatible 
families
AVR Family 
• TINY AVR family 
 8 -32 pin 
 16 family members 
• MEGA AVR family 
 32 -100 pin 
 23 family members 
• XMEGA AVR family 
 32 -100 pin 
• Application-specific AVRs 
 USB, CAN and LCD 
 Motor Control and Lighting 
 Automotive 
 Battery Management 
 8 family members
AVR Architecture 
• RISC modified Harvard architecture 
 Powerful instruction set for C and Assembly 
• Scalable 
 Same powerful AVR core in all devices 
• Single cycle execution 
 One instruction per external clock 
 Low power consumption 
• 32 Working Registers 
 All Directly connected to ALU! 
• Very efficient core 
 20 MIPS @ 20MHz 
• High System Level Integration 
 Lowest total system cost
AVR Architecture
Single-Chip Solution
Code Size and Execution Time
Real-life Applications 
1. Complete navigation application 
2. Car Radio control 
3. DES encryption / decryption 
4. Reed-Solomon (error correction) 
encoder/decoder. 
5. Pager protocol 
6. Refrigerator control 
7. Battery charger 
8. Embedded web server 
9. Label/recite printer
Development Tools 
• AVR Studio -front end for all AVR tools 
• Win AVR 
• Code Vision (Evaluation version with limited code 
size) 
 Free 
• Starter kits and evaluation boards 
 From $19 
• On-Chip Debuggers and Emulators 
 From $299
Support 
• Fully updated product web 
• Highly skilled Field Application 
Engineers 
• Support mail handled by AVR 
experts 
• Reference designs 
• Application notes 
• AVRfreaks community website
References : 
1. http://mathcs.slu.edu/~fritts/CSCI305_306_F08/AVR/AVR%20Introduction.pdf 
2. http://www.circuitstoday.com/microcontroller-invention-history 
3. http://www.atmel.com/products/microcontrollers/avr/ 
4. http://www.circuitstoday.com/basics-of-microcontrollers

Contenu connexe

Tendances

Tendances (20)

Microprocessor & Micro-controller
Microprocessor & Micro-controllerMicroprocessor & Micro-controller
Microprocessor & Micro-controller
 
Arm architecture chapter2_steve_furber
Arm architecture chapter2_steve_furberArm architecture chapter2_steve_furber
Arm architecture chapter2_steve_furber
 
Introduction to embedded systems
Introduction  to embedded systemsIntroduction  to embedded systems
Introduction to embedded systems
 
ARM CORTEX M3 PPT
ARM CORTEX M3 PPTARM CORTEX M3 PPT
ARM CORTEX M3 PPT
 
AVR Fundamentals
AVR FundamentalsAVR Fundamentals
AVR Fundamentals
 
Embedded Systems (18EC62) - ARM Cortex-M3 Instruction Set and Programming (Mo...
Embedded Systems (18EC62) - ARM Cortex-M3 Instruction Set and Programming (Mo...Embedded Systems (18EC62) - ARM Cortex-M3 Instruction Set and Programming (Mo...
Embedded Systems (18EC62) - ARM Cortex-M3 Instruction Set and Programming (Mo...
 
STM32 MCU Family
STM32 MCU FamilySTM32 MCU Family
STM32 MCU Family
 
Introduction to arm processor
Introduction to arm processorIntroduction to arm processor
Introduction to arm processor
 
System On Chip
System On ChipSystem On Chip
System On Chip
 
Unit II Arm 7 Introduction
Unit II Arm 7 IntroductionUnit II Arm 7 Introduction
Unit II Arm 7 Introduction
 
Embedded Systems (18EC62) - ARM - 32-Bit Microcontroller (Module 1)
Embedded Systems (18EC62) - ARM - 32-Bit Microcontroller (Module 1)Embedded Systems (18EC62) - ARM - 32-Bit Microcontroller (Module 1)
Embedded Systems (18EC62) - ARM - 32-Bit Microcontroller (Module 1)
 
Introduction to Microcontroller
Introduction to MicrocontrollerIntroduction to Microcontroller
Introduction to Microcontroller
 
Embedded system introduction
Embedded system introductionEmbedded system introduction
Embedded system introduction
 
Architecture of 8051
Architecture of 8051Architecture of 8051
Architecture of 8051
 
Introduction to Embedded Architecture
Introduction to Embedded Architecture Introduction to Embedded Architecture
Introduction to Embedded Architecture
 
Embedded System Presentation
Embedded System PresentationEmbedded System Presentation
Embedded System Presentation
 
ARM - Advance RISC Machine
ARM - Advance RISC MachineARM - Advance RISC Machine
ARM - Advance RISC Machine
 
Advance Microcontroller AVR
Advance Microcontroller AVRAdvance Microcontroller AVR
Advance Microcontroller AVR
 
ARM Architecture
ARM ArchitectureARM Architecture
ARM Architecture
 
Embedded Systems - Training ppt
Embedded Systems - Training pptEmbedded Systems - Training ppt
Embedded Systems - Training ppt
 

Similaire à Introduction to AVR Microcontroller

Sistem mikroprosessor
Sistem mikroprosessorSistem mikroprosessor
Sistem mikroprosessor
fahmihafid
 

Similaire à Introduction to AVR Microcontroller (20)

ankit
ankitankit
ankit
 
Ajal mod 1
Ajal mod 1Ajal mod 1
Ajal mod 1
 
embedded-systems-for-beginners
embedded-systems-for-beginnersembedded-systems-for-beginners
embedded-systems-for-beginners
 
Micro controller
Micro controllerMicro controller
Micro controller
 
introduction to embedded systems part 2
introduction to embedded systems part 2introduction to embedded systems part 2
introduction to embedded systems part 2
 
Features of 89c51,pic,avr & arm processors
Features of 89c51,pic,avr & arm processorsFeatures of 89c51,pic,avr & arm processors
Features of 89c51,pic,avr & arm processors
 
Embedded systems-for-beginners-electro8
Embedded systems-for-beginners-electro8Embedded systems-for-beginners-electro8
Embedded systems-for-beginners-electro8
 
AVR introduction
AVR introduction AVR introduction
AVR introduction
 
Dsp on an-avr
Dsp on an-avrDsp on an-avr
Dsp on an-avr
 
Module 1.pdf
Module 1.pdfModule 1.pdf
Module 1.pdf
 
Microcontroller
MicrocontrollerMicrocontroller
Microcontroller
 
Solution manual the 8051 microcontroller based embedded systems
Solution manual the 8051 microcontroller based embedded systemsSolution manual the 8051 microcontroller based embedded systems
Solution manual the 8051 microcontroller based embedded systems
 
Embedded System PPT
Embedded System PPTEmbedded System PPT
Embedded System PPT
 
Sistem mikroprosessor
Sistem mikroprosessorSistem mikroprosessor
Sistem mikroprosessor
 
EE6602 Embedded System
EE6602 Embedded SystemEE6602 Embedded System
EE6602 Embedded System
 
Microcontroller from basic_to_advanced
Microcontroller from basic_to_advancedMicrocontroller from basic_to_advanced
Microcontroller from basic_to_advanced
 
Micro controller & Micro processor
Micro controller & Micro processorMicro controller & Micro processor
Micro controller & Micro processor
 
Module 1 - ARM 32 Bit Microcontroller
Module 1 - ARM 32 Bit Microcontroller Module 1 - ARM 32 Bit Microcontroller
Module 1 - ARM 32 Bit Microcontroller
 
Summer training embedded system and its scope
Summer training  embedded system and its scopeSummer training  embedded system and its scope
Summer training embedded system and its scope
 
Living on the iot edge
Living on the iot edgeLiving on the iot edge
Living on the iot edge
 

Dernier

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Dernier (20)

AI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by AnitarajAI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by Anitaraj
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Introduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDMIntroduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDM
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
JohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptxJohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptx
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 

Introduction to AVR Microcontroller

  • 1. Introduction to AVR Microcontrollers Presented By: Mahmoud Sadat Badran
  • 2. OUTLINE: • Microcontroller ? (History ,Components, Advantages, Applications) • Hardware VS. Software • Microcontroller Vs. Microprocessor. • Major market players. • AVR Microcontroller. • References.
  • 3. • Microcontroller ? • A microcontroller is a single chip, self-contained computer.
  • 4. History. 1. 1971 Texas Instrument calculator-on-a-chip TMS 1000, which was a 4-bit microcontroller with built-in ROM and RAM. 2. 1976 Intel 8048 was one of Intel's first microcontrollers. 3. 1980 Intel 8051 followed in and became one of the most popular microcontroller families. 4. 1996 Atmel AVR was one of the first microcontroller families to use on-chip flash memory for program storage.
  • 5. Components. A Microcontroller has seven main components: 1-Central processing unit (CPU) 2-ROM 3-RAM 4-Input and Output 5-Timer 6-Interrupt circuitry 7-Buses 8-Oscillatory circuits
  • 6. Advantages. 1. Cheap. 2. Very small in size. 3. Programming of Microcontrollers is simple to learn (c language or Assembly). 4. Ability to simulate project before implementation.
  • 7. Applications. 1.Mobile Phones. 2.Auto-motive industry. 3.CD/DVD Players. 4.Washing Machines. 5.Cameras. 6.Modems and Routers. 7.Security Alarms. 8.Electronic Measurement. 9.Microwave Oven. Etc.
  • 8. Hardware VS. Software Hardware Software # Hardware Software Design Cost High Medium Speed High Medium Modifications Hard Easy Maintainability Hard Easy Time to market Long short Cost High Low
  • 9. Microcontroller Vs. Microprocessor # Micro-controller Micro-processor Cost Cheap Expensive Speed Slow (in MHz Range) Fast (in GHz Range) Purpose Special General Dependency Single Chip has almost all components Need external components to be able to interact. Resources Limited Unlimited
  • 10. Major market 1p. lTaeyxeasr sInstruments. 2. Atmel Corporation. 3. Microchip. 4. Renesas Technology Corp. 5. Intel Corporation. 6. STMicroelectronics. 7. Freescale Semiconductor.
  • 11. AVR Microcontroller The AVR architecture was conceived by two students at the Norwegian Institute of Technology Alf-Egil Bogen and Vegard Wollan • Devices range from 1 to 256KB • Pin count range from 8 to 100 • Full code compatibility • Pin/feature compatible families
  • 12. AVR Family • TINY AVR family  8 -32 pin  16 family members • MEGA AVR family  32 -100 pin  23 family members • XMEGA AVR family  32 -100 pin • Application-specific AVRs  USB, CAN and LCD  Motor Control and Lighting  Automotive  Battery Management  8 family members
  • 13. AVR Architecture • RISC modified Harvard architecture  Powerful instruction set for C and Assembly • Scalable  Same powerful AVR core in all devices • Single cycle execution  One instruction per external clock  Low power consumption • 32 Working Registers  All Directly connected to ALU! • Very efficient core  20 MIPS @ 20MHz • High System Level Integration  Lowest total system cost
  • 16. Code Size and Execution Time
  • 17. Real-life Applications 1. Complete navigation application 2. Car Radio control 3. DES encryption / decryption 4. Reed-Solomon (error correction) encoder/decoder. 5. Pager protocol 6. Refrigerator control 7. Battery charger 8. Embedded web server 9. Label/recite printer
  • 18. Development Tools • AVR Studio -front end for all AVR tools • Win AVR • Code Vision (Evaluation version with limited code size)  Free • Starter kits and evaluation boards  From $19 • On-Chip Debuggers and Emulators  From $299
  • 19. Support • Fully updated product web • Highly skilled Field Application Engineers • Support mail handled by AVR experts • Reference designs • Application notes • AVRfreaks community website
  • 20. References : 1. http://mathcs.slu.edu/~fritts/CSCI305_306_F08/AVR/AVR%20Introduction.pdf 2. http://www.circuitstoday.com/microcontroller-invention-history 3. http://www.atmel.com/products/microcontrollers/avr/ 4. http://www.circuitstoday.com/basics-of-microcontrollers