AVR Microcontroller
AVR Microcontroller
What is microcontroller
• On chip memory ,I/O and CPU
• Specific tasks
• Lesser speed of processing
• cheaper
Why do you need a microcontroller ?
The figure illustrates the IC numbers for the TTL
family. To
implement this equation, we need 3 ICs with
about 57 percent utilization
The PLD in Figure 1.2 has about 150 gates,
of which
we have used only about 12, representing a
mere 8 percent utilization
A PLD-based circuit is
also more power-consuming than a
comparable ASIC circuit, which is due to
the redundant
hardware on the PLD chip.
It is as small as the PLD-based circuit, and in terms of power
consumption, is better than a PLD circuit. In terms of speed, the
PLD will perform much
faster than a processor.
It is not that the microprocessor is the solution to all problems.
Sometimes you need to use a PLD in conjunction with a
processor, and sometimes a PLD alone is
required.
Why AVR ?
1.RISC architecture with mostly fixed-length instruction, load-store memory access,
and 32 general-purpose registers.
2. A two-stage instruction pipeline that speeds up execution.
3. Majority of instructions take one clock cycle.
4. Up to 10-MHz clock operation.
5. Wide variety of on-chip peripherals, including digital I/O, ADC, EEPROM, Timer,
UART, RTC timer, pulse width modulator (PWM), etc.
6. Internal program and data memory.
7. In-system programmable.
8. Available in 8-pin to 64-pin package size to suit wide variety of applications.
9. Up to 12 times performance speedup over conventional CISC controllers.
10.Wide operating voltage from 2.7 V to 6.0 V.
11. A simple architecture offers a small learning curve to the uninitiated.
Microcontrollers are fun.
And most of all, microcontrollers are easy to use and to design with, from the point of view
of a designer.
A typical 8 –bit microcontroller
Ⅰ. ARM