0% found this document useful (0 votes)
128 views14 pages

Introduction To AVR

(1) The AVR architecture was designed by two students in Norway and further developed by Atmel Norway. AVR stands for Advanced Virtual RISC or Alf and Vegard's RISC processor. (2) AVR microcontrollers have RAM, ROM, and EEPROM embedded on a single chip, making them more compact than microprocessors which require external components. Microcontrollers are also cheaper to produce and use less power. (3) The main AVR families are tinyAVR, megaAVR, and XMEGA. They vary in program memory size, number of pins, and peripheral features. The ATmega328P has 28 pins and can be used for digital
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
128 views14 pages

Introduction To AVR

(1) The AVR architecture was designed by two students in Norway and further developed by Atmel Norway. AVR stands for Advanced Virtual RISC or Alf and Vegard's RISC processor. (2) AVR microcontrollers have RAM, ROM, and EEPROM embedded on a single chip, making them more compact than microprocessors which require external components. Microcontrollers are also cheaper to produce and use less power. (3) The main AVR families are tinyAVR, megaAVR, and XMEGA. They vary in program memory size, number of pins, and peripheral features. The ATmega328P has 28 pins and can be used for digital
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 14

VR

A
TO
O N
T I
U C
D
T RO
IN
INTRODUCTION

AVR stand for?


It’s full form is not correctly
described by the founders but
there are two names which
are mostly used for AVR.
(1) Advanced Virtual RISC
(2) Alf and Vegard’s RISC processor
AVR architecture was designed by two students at Norwegian Institute of
Technology and further refined and developed at Atmel Norway, the Atmel
company founded by the two chip architects.

AVR Micro controllers is Family of RISC Microcontrollers from Atmel.


DIFFERENCE BETWEEN MICROCONTROLLERS & MICROPROCESSOR

Key difference in both of them is presence of external peripheral, where


microcontrollers have RAM, ROM, EEPROM embedded in it while we have to
use external circuits in case of microprocessors.
As all the peripheral of microcontroller are on single chip it is compact while
microprocessor is bulky.
Microcontrollers are made by using complementary metal oxide semiconductor
technology so they are far cheaper than microprocessors. In addition the
applications made with microcontrollers are cheaper because they need lesser
external components, while the overall cost of systems made with
microprocessors are high because of the high number of external components
required for such systems.
Processing speed of microcontrollers is about 8 MHz to 50 MHz, but in contrary processing
speed of general microprocessors is above 1 GHz so it works much faster than
microcontrollers.

Generally microcontrollers have power saving system, like idle mode or power saving mode
so overall it uses less power and also since external components are low overall
consumption of power is less. While in microprocessors generally there is no power
saving system and also many external components are used with it, so its power
consumption is high in comparison with microcontrollers.
Microcontrollers are compact so it makes them favorable and efficient system for
small products and applications while microprocessors are bulky so they are
preferred for larger applications
AVR FAMILY
AVRs are generally classified into following:
tinyAVR – the ATtiny series
 0.5–16 KB program memory
 6–32-pin package
 Limited peripheral set
megaAVR – the ATmega series
 4–256 KB program memory
 28–100-pin package
 Extended instruction set (multiply instructions and instructions for handling larger
program memories)
 Extensive peripheral set
XMEGA – the ATxmega series
 16–384 KB program memory
 44–64–100-pin package (A4, A3, A1)
 32-pin package: XMEGA-E (XMEGA8E5)
 Extended performance features, such as DMA, "Event System", and cryptography
support
 Extensive peripheral set with ADCs
ATMEGA 328 PIN DIAGRAM
PIN DESCRIPTION TABLE
PIN NUMBER DESCRIPTION FUNCTION
1 PC6 Reset
2 PD0 Digital Pin (RX)
3 PD1 Digital Pin (TX)
4 PD2 Digital Pin
5 PD3 Digital Pin (PWM)
6 PD4 Digital Pin
Positive Voltage
7 Vcc
(Power)
8 GND Ground
9 XTAL 1 Crystal Oscillator
PIN NUMBER DESCRIPTION FUNCTION
10 XTAL 2 Crystal Oscillator
11 PD5 Digital Pin (PWM)
12 PD6 Digital Pin (PWM)
13 PD7 Digital Pin
14 PB0 Digital Pin
15 PB1 Digital Pin (PWM)
16 PB2 Digital Pin (PWM)
17 PB3 Digital Pin (PWM)
18 PB4 Digital Pin
PIN NUMBER DESCRIPTION FUNCTION
18 PB4 Digital Pin
19 PB5 Digital Pin
Positive voltage for ADC
20 AVCC
(power)
21 AREF Reference Voltage
22 GND Ground
23 PC0 Analog Input
24 PC1 Analog Input
25 PC2 Analog Input
26 PC3 Analog Input
27 PC4 Analog Input
28 PC5 Analog Input
THANK YOU

You might also like