ArticleslgStudy

science

AVR microcontrollers

AVR microcontrollers is a science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand AVR microcontrollers rather than just read about it. In short: AVR is a family of microcontrollers developed by Atmel since 1996. It was acquired by Microchip Technology in 2016.

AVR microcontrollers — main illustration
AVR microcontrollers — illustration

Key takeaways

  • AVR microcontrollers belongs to science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect AVR microcontrollers to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of AVR microcontrollers from memory before moving on to harder problems.

Reference excerpt

AVR is a family of microcontrollers developed by Atmel since 1996. It was acquired by Microchip Technology in 2016. They comprise 8-bit RISC single-chip microcontrollers based on a modified Harvard architecture. AVR was one of the first microcontroller families to use on-chip flash memory for program storage, as opposed to one-time programmable ROM, EPROM, or EEPROM used by other microcontrollers at the time. AVR microcontrollers are used numerously as embedded systems. They are especially common in hobbyist and educational embedded applications, popularized by their inclusion in many of the Arduino line of open hardware development boards. The AVR 8-bit microcontroller architecture was introduced in 1997. By 2003, Atmel had shipped 500 million AVR flash microcontrollers.

History The AVR architecture was conceived by two students at the Norwegian Institute of Technology (NTH), Alf-Egil Bogen and Vegard Wollan. Atmel says that the name AVR is not an acronym and does not stand for anything in particular. The creators of the AVR give no definitive answer as to what the term "AVR" stands for. However, it is commonly accepted that AVR stands for Alf and Vegard's RISC processor. Note that the use of "AVR" in this article generally refers to the 8-bit RISC line of Atmel AVR microcontrollers. The original AVR MCU was developed at an ASIC design company in Trondheim, Norway, called Nordic VLSI at the time, now Nordic Semiconductor, where Bogen and Wollan were working as students. It was known as a μRISC (Micro RISC) and was available as silicon IP/building block from Nordic VLSI. When the technology was sold to Atmel from Nordic VLSI, the internal architecture was further developed by Bogen and Wollan at Atmel Norway, a subsidiary of Atmel. The designers worked closely with compiler writers at IAR Systems to ensure that the AVR instruction set provided efficient compilation of high-level languages. Among the first of the AVR line was the AT90S8515, which in a 40-pin DIP package has the same pinout as an 8051 microcontroller, including the external multiplexed address and data bus. The polarity of the RESET line was opposite (8051's having an active-high RESET, while the AVR has an active-low RESET), but other than that the pinout was identical. The Arduino platform, developed for simple electronics projects and popular in the hobbyist community, was released in 2005 and featured ATmega8 AVR microcontrollers.

Device overview The AVR is a modified Harvard architecture machine, where program and data are stored in separate physical memory systems that appear in different address spaces, but having the ability to read data items from program memory using special instructions.

Basic families AVRs are generally classified into following (the AT- prefix refers to Atmel): tinyAVR – the ATtiny series

The ATtiny series features small package microcontrollers with a limited peripheral set available. However, the improved tinyAVR 0/1/2-series (released in 2016) include:

Peripherals equal to or exceed megaAVR 0-series Event System Improved AVRxt instruction set (improved timing of calls), hardware multiply flash memory is readable by ordinary load instructions, PROGMEM macro is not needed (AVR42789) megaAVR – the ATmega series

The ATmega series features microcontrollers that provide an extended instruction set (multiply instructions and instructions for handling larger program memories), an extensive peripheral set, a solid amount of program memory, as well as a wide range of pins available. The megaAVR 0-series (released in 2016) also has functionality such as:

Event system New peripherals with enhanced functionality Improved AVRxt instruction set (improved timing of calls) flash memory is readable by ordinary load instructions, PROGMEM macro is not needed (AVR42789) AVR Dx – The AVR Dx family features multiple microcontroller series, focused on HCI, analog signal conditioning and functional safety.

The parts numbers is formatted as AVRffDxpp, where ff is flash size, x is family, and pp is number of pins. Example: AVR128DA64 – 64-pin DA-series with 128k flash. All devices in the AVR Dx family include:

an Async Type D timer that can run faster than the CPU 12-bit ADC 10-bit DAC AVR DA-series (early 2020) – The high memory density makes these MCUs well suited for both wired and wireless communication-stack-intensive functions. integrated sensors for capacitative touch measurement (HCI) updated core independent peripherals (CIPs) and analog peripherals no external high frequency crystal AVR DB-series (mid-late 2020) – inherits many features from the DA-family, while adding its own: 2 or 3 on-chip opamps MultiVoltage IO (MVIO) on PORTC Supports external HF crystal AVR DD-series 16–64 KiB Flash 2–8 KiB SRAM 14–32-pin package internal 24 MHz oscillator 7–23-channel 130 kS/s 12-bit differential Analog-to-Digital Converter (ADC) no amplifiers 1 analog comparator Two USARTs, one SPI, one dual-mode TWI Multi-Voltage Input/Output (MVIO) support on 3 or 4 pins on Port C 4 Configurable Custom Logic (CCL) cells, 6 Event System channels AVR EA-series 8–64 KiB Flash 28–48-pin package internal 20 MHz oscillator 24–32-channel 130 kS/s 12-bit differential Analog-to-Digital Converter (ADC) Programmable Gain Amplifier (PGA) with up to 16x gain 2 analog comparators Three USARTs, one SPI, one dual-mode TWI no Multi-Voltage Input/Output (MVIO) 4 Configurable Custom Logic (CCL) cells, 6 Event System channels XMEGA

the ATxmega series offers a wide variety of peripherals and functionality such as:

Extended performance features, such as DMA, "Event System", and cryptography support Extensive peripheral set with ADCs Application-specific AVR

megaAVRs with special features not found on the other members of the AVR family, such as LCD controller, USB controller, advanced PWM, CAN, etc. FPSLIC (AVR with FPGA)

… excerpt ends here. Continue reading the full article.

Illustrations

AVR microcontrollers: AVR logo
AVR logo
AVR microcontrollers: Various older AVR microcontrollers: ATmega8 in 28-pin narrow dual in-line package (DIP-28N), ATxmega128A1 in 100-pin thin quad flat pack (TQFP-100) package, ATtiny45 in 8-pin small outline (SO-8) package
Various older AVR microcontrollers: ATmega8 in 28-pin narrow dual in-line package (DIP-28N), ATxmega128A1 in 100-pin thin quad flat pack (TQFP-100) package, ATtiny45 in 8-pin small outline (SO-8) package
AVR microcontrollers: ATmega328P in 28-pin narrow dual in-line package (DIP-28N). It is commonly found on Arduino boards.
ATmega328P in 28-pin narrow dual in-line package (DIP-28N). It is commonly found on Arduino boards.
AVR microcontrollers: Atmel ATxmega128A1 in 100-pin TQFP package
Atmel ATxmega128A1 in 100-pin TQFP package
AVR microcontrollers: ATMEL MEGA32U4 die shot
ATMEL MEGA32U4 die shot

Worked examples

Example 1 — a first encounter with AVR microcontrollers

Start with the simplest possible case. Write down what AVR microcontrollers claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to AVR microcontrollers before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about AVR microcontrollers ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of AVR microcontrollers

In research
AVR microcontrollers appears in science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses AVR microcontrollers in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
AVR microcontrollers is common in secondary-school and first-year university syllabi. It links to neighbouring topics Atmel microcontrollers, Norwegian Institute of Technology, Norwegian inventions, so understanding it makes those chapters shorter.
In everyday life
Look for AVR microcontrollers outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “AVR microcontrollers” →

How to study AVR microcontrollers in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what AVR microcontrollers means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain AVR microcontrollers out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is AVR microcontrollers in simple terms?

AVR is a family of microcontrollers developed by Atmel since 1996. It was acquired by Microchip Technology in 2016.

Why does AVR microcontrollers matter?

Because it connects several science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study AVR microcontrollers?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on AVR microcontrollers.

Tags

  • Atmel microcontrollers
  • Norwegian Institute of Technology
  • Norwegian inventions

Keep exploring