Documents for ATtiny2313


Datasheet

PDF

Software

Description

ATtiny2313

ATtiny2313 Complete

(file size: 3764247, 226 pages, revision L, updated: 08/2010)

ATtiny2313

ATtiny2313 Summary

(file size: 526903, 20 pages, revision L, updated: 08/2010)

Application Note

PDF

Software

Description

Atmel AT03152: Proximity Sensing for SAR

Atmel AT03152: Proximity Sensing for SAR

(file size: 160KB, 7 pages, revision B, updated: 08/2013)

This application note describes a capacitive proximity circuit which can be used to detect when a device is in contact or close proximity.

Atmel AT06015: Production Programming of Atmel Microcontrollers

Atmel AT06015: Production Programming of Atmel Microcontrollers

(file size: 474KB, 13 pages, revision B, updated: 01/2014)

This application note provides an overview of 3rd party programming tools that can be used to program Atmel microcontrollers in small and large scale production environments. It also provides suggestions for suppliers of pre-programming services.

Atmel AT1886: Mixing Assembly and C with AVRGCC

Atmel AT1886: Mixing Assembly and C with AVRGCC

Atmel AT1886: Mixing Assembly and C with AVRGCC

(file size: 140KB, 8 pages, revision B, updated: 11/2012)

This application note describes how to mix both C and assembly code in an AVRGCC project using Atmel Studio 6 IDE. The application note is written from the perspective that C is the language of choice and assembly language is included in situations where it is either necessary or convenient.

Atmel AVR116: Wear Leveling on DataFlash

Atmel AVR116: Wear Leveling on DataFlash

Atmel AVR116: Wear Leveling on DataFlash

(file size: 629KB, 25 pages, revision A, updated: 07/2012)

This application note describes the use of the Flash Translation Layer (FTL) interface. It describes the features, structure and interface of the FTL library, and how to use this library in Atmel Studio. Flash memory has a limited program/erase lifecycle and programming and erasing the same block many times will result in bad blocks and shortened flash memory life. The intermediate software layer, FTL, addresses this issue.

Atmel AVR1201: Using External Interrupts for tinyAVR Devices

Atmel AVR1201: Using External Interrupts for tinyAVR Devices

Atmel AVR1201: Using External Interrupts for tinyAVR Devices

(file size: 142260, 12 pages, revision A, updated: 12/2011)

This application note illustrates the functionality and configuration steps (usage) of the external interrupts available in Atmel® tinyAVR® family of Atmel AVR® Microcontrollers. The application note also describes the points to be considered while using a GPIO pin as an external interrupt source pin.

Atmel AVR211: Wafer Level Chip Scale Packages

Atmel AVR211: Wafer Level Chip Scale Packages

(file size: 533KB, 12 pages, revision A, updated: 07/2012)

Wafer Level Chip Scale Packaging (WLCSP) refers to the technology of packaging an integrated circuit at wafer level, resulting in a device practically the same size as the die. WLCSP technology allow devices to be integrated in the design using the smallest possible form factor.

Atmel AVR231: AES Bootloader

Atmel AVR231: AES Bootloader

Atmel AVR231: AES Bootloader

(file size: 363KB, 31 pages, revision E, updated: 03/2012)

This application note describes how firmware can be updated securely on AVR microcontrollers with bootloader capabilities. The method uses the Advanced Encryption Standard (AES) to encrypt the firmware.

Atmel AVR259: ATtiny40 QTouchADC Demonstration Kit

AVR259: ATtiny40 QTouchADC Demonstration Kit

Atmel AVR259: ATtiny40 QTouchADC Demonstration Kit

(file size: 1.1MB, 28 pages, revision C, updated: 09/2014)

This is the reference design to demonstrate the capabilities of ATtiny40, which supports Atmel® QTouch®, the latest capacitive touch technology.

The application note includes the firmware supporting seven keys, TWI slave interface (I2C compatible), buzzer and LED control.

Atmel AVR290: Avoid Clock Stretch with Atmel tinyAVR

Atmel AVR290: Avoid Clock Stretch with Atmel tinyAVR

Atmel AVR290: Avoid Clock Stretch with Atmel tinyAVR

(file size: 344161, 15 pages, revision A, updated: 03/2011)

This application note describes a TWI slave driver for the Atmel®ATtiny20 and ATtiny40. A slave software driver is included. The application note explains how the TWI SCL clock is not stretched, provided that the Atmel AVR® clock speed is fast enough to release the serial clock (SCL) and the acknowledge (ACK) on the serial data (SDA) signals.

Atmel AVR310: Using the USI Module as a I2C Master

Atmel AVR310: Using the USI Module as a I2C Master

Atmel AVR310: Using the USI Module as a I2C Master

(file size: 290KB, 10 pages, revision C, updated: 12/2013)

This Application Note describes how to use the USI for TWI master communication on tinyAVR and megaAVR devices.

Atmel AVR4027: Tips and Tricks to Optimize Your C Code for 8-bit AVR Microcontrollers

Atmel AVR4027: Tips and Tricks to Optimize Your C Code for 8-bit AVR Microcontrollers

Atmel AVR4027: Tips and Tricks to Optimize Your C Code for 8-bit AVR Microcontrollers

(file size: 38656, 18 pages, revision A, updated: 11/2011)

This application note covers some basic tips on C code optimization using avr-gcc. Both code and size optimization tips are described.

Atmel AVR443: Sensor-based Control of Three Phase Brushless DC Motor

AVR443: Sensor-based control of three phase BLDC motor based on tinyAVR and megaAVR devices

Atmel AVR443: Sensor-based Control of Three Phase Brushless DC Motor

(file size: 630KB, 9 pages, revision C, updated: 07/2013)

This application note describes the control of a BLDC motor with Hall effect position sensors. The implementation includes both direction and open loop speed control.

Atmel AVR465: Single-Phase Power/Energy Meter with Tamper Detection

Atmel AVR465: Single-Phase Power/Energy Meter with Tamper Detection

Atmel AVR465: Single-Phase Power/Energy Meter with Tamper Detection

(file size: 592KB, 45 pages, revision B, updated: 08/2013)

This application note describes a single-phase power/energy meter with tamper logic. The design measures active power, voltage, and current in a single-phase distribution environment.

Atmel AVR600: STK600 Expansion, Routing and Socket

Atmel AVR600: STK600 Expansion, Routing and Socket

(file size: 725KB, 23 pages, revision C, updated: 04/2013)

This application note describes the process of developing new routing, socket and expansion cards for the STK600. It also describes the physical parameters for creating such cards.

Atmel AVR675: Configurable Three Phase BLDC Fan

Atmel AVR675: Configurable Three Phase BLDC Fan

Atmel AVR675: Configurable Three Phase BLDC Fan

(file size: 1.4MB, 34 pages, revision B, updated: 12/2012)

This application note describes the implementation and use of a configurable 3-phase brushless DC (BLDC) fan using the ATtiny461A microcontroller implementing sensorless control.

Atmel AVR911: AVR Open-source Programmer for tinyAVR and megaAVR devices

Atmel AVR911: AVR Open-source Programmer for tinyAVR and megaAVR devices

Atmel AVR911: AVR Open-source Programmer for tinyAVR and megaAVR devices

(file size: 221KB, 16 pages, revision B, updated: 10/2012)

The AVR Open-source Programmer (AVROSP) is an AVR programmer application that replaces the AVRProg tool included in AVR Studio. It is a command-line tool, using the same syntax as the STK500 and JTAGICE command-line tools in AVR Studio.

Atmel AVR918: Using the Atmel Tiny Programming Interface (TPI)

Atmel AVR918: Using the Atmel Tiny Programming Interface (TPI)

Atmel AVR918: Using the Atmel Tiny Programming Interface (TPI)

(file size: 300KB, 16 pages, revision B, updated: 10/2012)

The Atmel® Tiny Programming Interface (TPI) is featured on selected low-end Atmel AVR® microcontrollers, and allows external programmers to access the nonvolatile memory (NVM) of the device. The interface provides access to device lock bits, the program flash memory, and the signature, configuration, and calibration sections.

Atmel AVR928: Scalar sensorless methods to drive BLDC motors

Atmel AVR928: Scalar sensorless methods to drive BLDC motors

(file size: 487KB, 22 pages, revision B, updated: 07/2013)

This application note describes how to implement a sensorless commutation on BLDC motors and provides all information that is relevant for an implementation of sensorless commutation using the Atmel devices and Starter-kits.

Atmel AVR944: Atmel LED Driver Library for 8-bit AVR

Atmel AVR944: Atmel LED Driver Library for 8-bit AVR

Atmel AVR944: Atmel LED Driver Library for 8-bit AVR

(file size: 74421, 13 pages, revision A, updated: 11/2011)

Atmel MSLxxxx is a series of compact, high power LED drivers. This application note explains how to use 8-bit Atmel AVR® microcontrollers to interface with these LED drivers. MSLxxxx series of drivers feature either TWI or SPI interface to read and write to their internal registers. Atmel LED driver library provides easy to use wrapper functions to read/write to those registers using any 8-bit AVR as master. This library supports both TWI and SPI interfaces.

Atmel AVR947: Single-Wire Bootloader for any MCU with Self Programming Capability

Atmel AVR947: Single-Wire Bootloader for any MCU with Sel Programming Capability

Atmel AVR947: Single-Wire Bootloader for any MCU with Self Programming Capability

(file size: 241KB, 19 pages, revision A, updated: 01/2013)

This application note discusses a bootloader specifically designed for devices lacking a separate bootloader section and any hardware communication modules. This design does not require any chip resources like TWI, SPI or UART modules. Instead, it implements a single-wire UART (as described in the Atmel® AVR®274: Single-wire Software UART, application note) in software, which requires only one general purpose IO-pin.

AVR054: Run-time calibration of the internal RC oscillator via the UART

AVR054: Run-time calibration of the internal RC oscillator via the UART

AVR054: Run-time calibration of the internal RC oscillator via the UART

(file size: 167781, 17 pages, revision C, updated: 04/2008)

This application note describes how to calibrate the internal RC oscillator via the UART. In the method used a slave node is synchronized to a master node at the beginning of every message frame.

AVR055: Using a 32kHz XTAL for run-time calibration of the internal RC

AVR055: Using a 32kHz XTAL for run-time calibration of the internal RC

AVR055: Using a 32kHz XTAL for run-time calibration of the internal RC

(file size: 150049, 16 pages, revision D, updated: 07/2008)

This application note describes a fast and accurate way to calibrate the internal RC oscillator using an external 32.768 kHz crystal as input to an asynchronous Timer/Counter.

AVR067: JTAGICE mkII Communication Protocol

AVR067: JTAGICE mkII Communication Protocol

AVR067: JTAGICE mkII Communication Protocol

(file size: 327125, 69 pages, revision D, updated: 11/2009)

This document describes the communication protocol used between AVR Studio and JTAGICE mkII.

AVR068: STK500 Communication Protocol

AVR068: STK500 Communication Protocol

AVR068: STK500 Communication Protocol

(file size: 161607, 37 pages, revision C, updated: 06/2006)

The document describes version 2.0 of the Atmel STK500 and the PC controlling the STK500 communication protocol. The firmware is distributed with AVR Studio 4.11 build 401 or later.

AVR069: AVRISP mkII Communication Protocol

AVR069: AVRISP mkII Communication Protocol

(file size: 326430, 24 pages, revision B, updated: 02/2006)

This document describes the AVRISP mkII protocol. The firmware is distributed with AVR Studio 4.12 or later.

AVR073: Accessing 10- and 16-bit registers in ATtiny261/461/861

AVR073: Accessing 10- and 16-bit registers in ATtiny261/461/861

AVR073: Accessing 10- and 16-bit registers in ATtiny261/461/861

(file size: 101876, 6 pages, revision B, updated: 01/2008)

This application note explains how 10- and 16-bit accesses should be handled when using the ATtiny261/461/861 family of microcontrollers. A complete set of C macros for accessing 10- and 16-bit. registers is also included with this application note.

AVR077: Opto Isolated Emulation for the DebugWIRE

AVR077: Opto Isolated Emulation for the DebugWIRE

(file size: 236072, 9 pages, revision A, updated: 01/2008)

This application note describes how to implement an optoisolated interface for the DebugWIRE. This device could help the debug of applications with non isolated power supply like ballast, motors, vacuum cleaners, refrigerators, etc.

AVR079: STK600 Communication Protocol

AVR079: STK600 Communication Protocol

(file size: 504628, 61 pages, revision A, updated: 04/2008)

This document describes the STK600 protocol. The firmware is distributed with AVR Studio 4.14 or later.

AVR103: Using the EEPROM Programming Modes on tinyAVR and megaAVR devices

AVR103: Using the EEPROM Programming Modes on tinyAVR and megaAVR devices

AVR103: Using the EEPROM Programming Modes on tinyAVR and megaAVR devices

(file size: 77447, 5 pages, revision A, updated: 03/2005)

This application note implements a driver utilizing the programming modes available for the EEPROM in some tinyAVR and megaAVR devices, involving both time and power savings.

AVR106: C functions for reading and writing to Flash memory on tinyAVR and megaAVR devices

AVR106: C functions for reading and writing to Flash memory on tinyAVR and megaAVR devices

AVR106: C functions for reading and writing to Flash memory on tinyAVR and megaAVR devices

(file size: 49401, 10 pages, revision B, updated: 08/2006)

This application note provides C functions for accessing the Flash memory using the Self programming Program memory which allows to reprogram the Flash memory during program run.

AVR107: Interfacing AVR microcontrollers with serial memories

AVR107: Interfacing AVR microcontrollers with serial memories

AVR107: Interfacing AVR microcontrollers with serial memories

(file size: 496998, 22 pages, revision A, updated: 03/2005)

This application note describes the functionality and the architecture of SPI serial memories drivers as well as the motivation of the selected solution.

AVR121: Enhancing ADC resolution by oversampling

AVR121: Enhancing ADC resolution by oversampling

AVR121: Enhancing ADC resolution by oversampling

(file size: 120791, 14 pages, revision A, updated: 09/2005)

This Application Note explains the method called "Oversampling and Decimation" and which conditions need to be fulfilled to make this method work properly to achieve a higher resolution without using an external ADC.

AVR122: Calibration of the tinyAVR internal temperature reference

AVR122: Calibration of the tinyAVR internal temperature reference

(file size: 307913, 14 pages, revision A, updated: 02/2008)

This application note describes how to calibrate and compensate the temperature measurements from the ATtiny25/45/85. It can also be used on other AVR microcontrollers with internal temperature sensors.

AVR125: ADC of tinyAVR in Single Ended Mode

AVR125: ADC of tinyAVR in Single Ended Mode

AVR125: ADC of tinyAVR in Single Ended Mode

(file size: 127612, 11 pages, revision A, updated: 01/2011)

This application note describes the basic functionality of the ADC in Atmel® tinyAVR® devices in Single ended mode with code examples on Atmel®ATtiny88 to get started. The code examples are written in assembly language and C language.

AVR135: Using Timer Capture to Measure PWM Duty Cycle on tinyAVR and megaAVR devices

AVR135: Using Timer Capture to Measure PWM Duty Cycle on tinyAVR and megaAVR devices

AVR135: Using Timer Capture to Measure PWM Duty Cycle on tinyAVR and megaAVR devices

(file size: 84869, 12 pages, revision A, updated: 10/2005)

This application note describes how the pulse width and period of a signal may be computed using the Input Capture Unit (ICP).

AVR136: Low-jitter Multi-channel Software PWM

AVR136: Low-jitter Multi-channel Software PWM

AVR136: Low-jitter Multi-channel Software PWM

(file size: 27896, 5 pages, revision A, updated: 05/2006)

This application note shows how an multi-channel software pulse-width modulation can be implemented. The implementation uses an 8-bit timer with overflow interrupt to generate 10 PWM channels with very low jitter.

AVR151: Setup and use of the SPI on tinyAVR and megaAVR devices

AVR151: Setup and use of the SPI on tinyAVR and megaAVR devices

AVR151: Setup and use of the SPI on tinyAVR and megaAVR devices

(file size: 262508, 15 pages, revision C, updated: 07/2008)

This application note describes how to setup and use the on-chip Serial Peripheral Interface (SPI) of the tinyAVR and megaAVR devices.

AVR155: Accessing I2C LCD Display Using the tinyAVR and megaAVR 2-Wire Serial Interface

AVR155: Accessing I2C LCD Display Using the tinyAVR and megaAVR 2-Wire Serial Interface

AVR155: Accessing I2C LCD Display Using the tinyAVR and megaAVR 2-Wire Serial Interface

(file size: 93971, 10 pages, revision B, updated: 09/2005)

This application note includes a 2-wire/TWI driver for bus handling and describes how to access a Philips I2C LCD driver on a Batron LCD display.

AVR181: Automotive Grade0 - PCB and Assembly Recommendations

AVR181: Automotive Grade0 - PCB and Assembly Recommendations

(file size: 112200, 8 pages, revision A, updated: 09/2007)

This paper is a collection of technical advice aiming at providing automotive electronic designers elements to manage high temperature constraints when addressing the PCB development.

AVR186: Best practices for the PCB layout of Oscillators

AVR186: Best practices for the PCB layout of Oscillators

(file size: 92401, 4 pages, revision A, updated: 03/2008)

This application note provides guidelines to design the PCB layout in order not to risk failure and unstable oscillator operation.

AVR205: Frequency measurement made easy with Atmel tinyAVR and Atmel megaAVR

AVR205: Frequency measurement made easy with Atmel tinyAVR and Atmel megaAVR

AVR205: Frequency measurement made easy with Atmel tinyAVR and Atmel megaAVR

(file size: 67905, 14 pages, revision A, updated: 02/2011)

This application note describes how to measure frequency of any type of waveform: sine, square etc. with variable duty cycle. A basic requirement for the signal is to have amplitude that is within the I/O pin threshold for the selected Atmel® AVR® device.

AVR221: Discrete PID controller on tinyAVR and megaAVR devices

AVR221: Discrete PID controller on tinyAVR and megaAVR devices

AVR221: Discrete PID controller on tinyAVR and megaAVR devices

(file size: 97986, 10 pages, revision A, updated: 05/2006)

This application note describes a simple implementation of a discrete Proportional-Integral-Derivative (PID) controller on tinyAVR and megaAVR devices.

AVR241: Direct driving of LCD display using general I/O on tinyAVR and megaAVR devices

AVR241: Direct driving of LCD display using general I/O on tinyAVR and megaAVR devices

AVR241: Direct driving of LCD display using general I/O on tinyAVR and megaAVR devices

(file size: 55796, 11 pages, revision A, updated: 04/2004)

This application note describes software driving of LCDs with one common line, using the static driving method.

AVR245: Code Lock with 4x4 Keypad and I2C LCD on a tinyAVR

AVR245: Code Lock with 4x4 Keypad and I2C LCD on a tinyAVR

AVR245: Code Lock with 4x4 Keypad and I2C LCD on a tinyAVR

(file size: 151554, 9 pages, revision A, updated: 10/2005)

This application note describes how to build a code lock with an tinyAVR and a handful of components. The code lock uses a 4x4 keypad for user input, a piezoelectric buzzer for audible feedback and an LCD for informational output.

AVR254: QWheel with ATtiny48

AVR254: QWheel with ATtiny48

AVR254: QWheel with ATtiny48

(file size: 5095, 39 pages, revision A, updated: 10/2009)

This Application Note focuses on making a customized firmware solution using Atmel® QTouch® Library designed for a wheel (constructed from 4 channels).

AVR274: Single-wire Software UART on tinyAVR and megaAVR devices

AVR274: Single-wire Software UART on tinyAVR and megaAVR devices

AVR274: Single-wire Software UART on tinyAVR and megaAVR devices

(file size: 136296, 14 pages, revision A, updated: 03/2007)

This application note describes a software implementation of a single wire UART. The protocol supports half duplex communication between two devices. The only requirement is an I/O port supporting external interrupt and a timer compare interrupt.

AVR286: LIN Firmware Base for AVR microcontrollers with LIN/UART Controller

AVR286: LIN Firmware Base for AVR microcontrollers with LIN/UART Controller

AVR286: LIN Firmware Base for AVR microcontrollers with LIN/UART Controller

(file size: 11054, 19 pages, revision A, updated: 03/2008)

This application note provides low-level drivers for LIN communication on ATtiny87/167 or ATmega32M1/32C1/64M1/64C1.

AVR292: LIN Break-in-Data Feature for AVR microcontrollers with LIN/UART Controller

AVR292: LIN Break-in-Data Feature for AVR microcontrollers with LIN/UART Controller

(file size: 117662, 8 pages, revision A, updated: 03/2008)

This document describes the behavior of the LIN/UART Controller when it detects an unexpected BREAK field during an otherwise normal LIN transfer. This event is referred to as "Break-in-Data".

AVR303: SPI-UART Gateway on tinyAVR and megaAVR devices

AVR303: SPI-UART Gateway on tinyAVR and megaAVR devices

AVR303: SPI-UART Gateway on tinyAVR and megaAVR devices

(file size: 58890, 5 pages, revision A, updated: 03/2005)

The SPI-UART Gateway application runs on the ATmega8 and allows the developer to test and debug an SPI slave application isolated from the master, using manually controlled communications via a suitable RS232 terminal.

AVR311: Using the TWI module as I2C slave on tinyAVR and megaAVR devices

AVR311: Using the TWI module as I2C slave on tinyAVR and megaAVR devices

AVR311: Using the TWI module as I2C slave on tinyAVR and megaAVR devices

(file size: 17431, 12 pages, revision D, updated: 08/2009)

This application note describes a TWI slave implementation, in form of a fullfeatured driver and an example of usage for this driver.

AVR312: Using the USI module as a I2C slave on tinyAVR and megaAVR devices

AVR312: Using the USI module as a I2C slave on tinyAVR and megaAVR devices

AVR312: Using the USI module as a I2C slave on tinyAVR and megaAVR devices

(file size: 81217, 9 pages, revision C, updated: 09/2005)

This Application Note describes how to use the USI for TWI slave communication on tinyAVR and megaAVR devices.

AVR315: Using the TWI module as I2C master on tinyAVR and megaAVR devices

AVR315: Using the TWI module as I2C master on tinyAVR and megaAVR devices

AVR315: Using the TWI module as I2C master on tinyAVR and megaAVR devices

(file size: 299785, 14 pages, revision C, updated: 02/2010)

This Application Note describes a TWI master implementation, in form of a fullfeatured driver and an example of usage for this driver.

AVR316: SMBus Slave Using the TWI Module on tinyAVR and megaAVR devices

AVR316: SMBus Slave Using the TWI Module on tinyAVR and megaAVR devices

AVR316: SMBus Slave Using the TWI Module on tinyAVR and megaAVR devices

(file size: 133088, 20 pages, revision A, updated: 10/2005)

This application note provides background information on the SMBus specification and the 8-bit AVR TWI module, an interrupt-driven SMBus slave driver and a sample implementation.

AVR318: Dallas 1-Wire master on tinyAVR and megaAVR devices

AVR318: Dallas 1-Wire master on tinyAVR and megaAVR devices

AVR318: Dallas 1-Wire master on tinyAVR and megaAVR devices

(file size: 131834, 21 pages, revision A, updated: 09/2004)

This application note shows how a 1-Wire master can be implemented on an 8-bit AVR, either in software only, or utilizing the U(S)ART module.

AVR319: Using the USI module for SPI communication on tinyAVR and megaAVR devices

AVR319: Using the USI module for SPI communication on tinyAVR and megaAVR devices

AVR319: Using the USI module for SPI communication on tinyAVR and megaAVR devices

(file size: 148841, 8 pages, revision A, updated: 09/2004)

This application note describes a SPI interface implementation, in form of a fullfeatured driver and an example of usage for this driver.

AVR322: LIN Protocol Implementation on megaAVR Microcontrollers

AVR322: LIN Protocol Implementation on megaAVR Microcontrollers

AVR322: LIN Protocol Implementation on megaAVR Microcontrollers

(file size: 213740, 21 pages, revision A, updated: 12/2005)

The LIN protocol is introduced in this application note, along with its implementation on Atmel Automotive AVR microcontrollers.

AVR323: Interfacing GSM modems with tinyAVR and megaAVR devices

AVR323: Interfacing GSM modems with tinyAVR and megaAVR devices

AVR323: Interfacing GSM modems with tinyAVR and megaAVR devices

(file size: 253551, 21 pages, revision A, updated: 02/2006)

This application note describes how to use a tinyAVR or megaAVR device to control a GSM modem in a cellular phone. The interface between modem and host is a textual protocol called Hayes AT-Commands.

AVR32798: EXTBT User Guide

AVR32798: EXTBT User Guide

(file size: 7872363, 16 pages, revision A, updated: 11/2010)

The Atmel® EXTBT is a Bluetooth extension module for Atmel® AVR® development kits. The kit is equipped with the FREE2MOVE™ F2M03GXA Bluetooth module and provides Bluetooth functionality through a UART interface to any AVR devices. This guide shows the user how to quickly get started with this kit and describes the EXTBT hardware.

AVR336: ADPCM Decoder on tinyAVR and megaAVR devices

AVR336: ADPCM Decoder on tinyAVR and megaAVR devices

AVR336: ADPCM Decoder on tinyAVR and megaAVR devices

(file size: 120349, 20 pages, revision A, updated: 11/2004)

This application note focuses on decoding the ADPCM signal, Adaptive Differential Pulse Code Modulation, and turning it to a signal suitable for loudspeakers. It targets an ATmega128 device.

AVR340: Direct Driving of LCD Using General Purpose IO using tinyAVR and megaAVR devices

AVR340: Direct Driving of LCD Using General Purpose IO using tinyAVR and megaAVR devices

(file size: 250141, 15 pages, revision A, updated: 09/2007)

This application note describes the operation of a Multiplexed LCD. Also discussed are electrical waveforms and connections needed by a LCD, as well as a C-program to operate the LCD.

AVR341: Four and five-wire Touch screen Controller using tinyAVR and megaAVR devices

AVR341: Four and five-wire Touch screen Controller using tinyAVR and megaAVR devices

AVR341: Four and five-wire Touch screen Controller using tinyAVR and megaAVR devices

(file size: 327215, 19 pages, revision A, updated: 07/2007)

This application note describes how to interface a resistive 4- and 5-wire touch systems with tinyAVR and megaAVR devices which provide an excellent solution thanks to their analog features combined with low power modes.

AVR4013: picoPower Basics

AVR4013: picoPower Basics

AVR4013: picoPower Basics

(file size: 16830, 7 pages, revision A, updated: 12/2010)

This application note demonstrates how to extend the battery life of our application by multiple factors by modifying only the firmware. You will see that, while some of the modifications are very simple and only require setting some registers, other modifications will need some rewriting of the code.

AVR4100: Selecting and testing 32kHz crystal oscillators for AVR microcontrollers

AVR4100: Selecting and testing 32kHz crystal oscillators for AVR microcontrollers

AVR4100: Selecting and testing 32kHz crystal oscillators for AVR microcontrollers

(file size: 495623, 24 pages, revision D, updated: 07/2011)

This application note summarizes the crystal basics, PCB layout considerations, and how to test a crystal in your application. A crystal selection guide shows recommended crystals tested by experts and found suitable for various oscillator modules in different Atmel® AVR® families.

AVR411: Secure Rolling Code Algorithm for Wireless Link on tinyAVR and megaAVR devices

AVR411: Secure Rolling Code Algorithm for Wireless Link on tinyAVR and megaAVR devices

AVR411: Secure Rolling Code Algorithm for Wireless Link on tinyAVR and megaAVR devices

(file size: 1635770, 22 pages, revision D, updated: 11/2009)

This application note describes a Secure Rolling Code Algorithm transmission protocol for use in a unidirectional wireless communication system.

AVR430: ATAVRMC300 Hardware User Guide

AVR430: ATAVRMC300 Hardware User Guide

AVR430: ATAVRMC300 Hardware User Guide

(file size: 3119535, 13 pages, revision C, updated: 10/2008)

The ATAVRMC300 is a general-purpose power stage board able to drive brushless DC, brushed DC and stepper motors. The board is designed to be a flexible platform for developing motor control applications.

AVR441: Intelligent BLDC Fan Controller with Temperature Sensor and Serial Interface

AVR441: Intelligent BLDC Fan Controller with Temperature Sensor and Serial Interface

AVR441: Intelligent BLDC Fan Controller with Temperature Sensor and Serial Interface

(file size: 581513, 26 pages, revision A, updated: 09/2005)

This application note describes how to integrate a low-cost, feature-rich AVR microcontroller into the commutator electronics of a BLDC fan. The ATtiny25 is used as an example.

AVR442: PC Fan Control using ATtiny13

AVR442: PC Fan Control using ATtiny13

AVR442: PC Fan Control using ATtiny13

(file size: 315057, 10 pages, revision A, updated: 09/2005)

This application note describes the operation of 12 volt DC cooling fans typically used to supply cooling air to electronic equipment, and controlling them with the ATtiny13.

AVR444: Sensorless control of 3-phase BLDC motors based on tinyAVR and megaAVR devices

AVR444: Sensorless control of 3-phase BLDC motors based on tinyAVR and megaAVR devices

AVR444: Sensorless control of 3-phase BLDC motors based on tinyAVR and megaAVR devices

(file size: 251559, 14 pages, revision A, updated: 10/2005)

This application note describes how to implement sensorless commutation control of a 3-phase brushless DC (BLDC) motor with the low cost ATmega48 microcontroller.

AVR446: Linear speed control of stepper motor on tinyAVR and megaAVR devices

AVR446: Linear speed control of stepper motor on tinyAVR and megaAVR devices

AVR446: Linear speed control of stepper motor on tinyAVR and megaAVR devices

(file size: 156293, 15 pages, revision A, updated: 06/2006)

This application note describes how to implement an exact linear speed controller for stepper motors. It also presents a driver with a demo application, capable of controlling acceleration as well as position and speed.

AVR447:Sinusoidal driving of three-phase permanent magnet motor using ATmega48/88/168

AVR447:Sinusoidal driving of three-phase permanent magnet motor using ATmega48/88/168

AVR447:Sinusoidal driving of three-phase permanent magnet motor using ATmega48/88/168

(file size: 463914, 26 pages, revision A, updated: 06/2006)

This application note describes the implementation of sinusoidal driving for threephase brushless DC motors with hall sensors. The implementation can easily be modified to use other driving waveforms such as sine wave with third harmonic injected.

AVR448: Control of High Voltage 3-Phase BLDC Motor with an ATmega48

AVR448: Control of High Voltage 3-Phase BLDC Motor with an ATmega48

AVR448: Control of High Voltage 3-Phase BLDC Motor with an ATmega48

(file size: 144013, 10 pages, revision C, updated: 05/2006)

Using a microcontroller as a control device, 3-phase motors can be used for a wide range of applications. Motor sizes below one horsepower are efficiently controlled in speed, acceleration, and power levels.

AVR449: Sinusoidal driving of 3-phase permanent magnet motor using ATtiny261/461/861

AVR449: Sinusoidal driving of 3-phase permanent magnet motor using ATtiny261/461/861

AVR449: Sinusoidal driving of 3-phase permanent magnet motor using ATtiny261/461/861

(file size: 275112, 24 pages, revision B, updated: 10/2007)

This application note describes the implementation of sinusoidal driving for threephase brushless DC motors with hall sensors on the ATtiny261/461/861 microcontroller family.

AVR451: BC100 Hardware User Guide

AVR451: BC100 Hardware User Guide

AVR451: BC100 Hardware User Guide

(file size: 1174994, 12 pages, revision A, updated: 09/2007)

The BC100 is reference design/development kit that targets especially battery charging. It can be used to charge various battery types, as long as the requirements to charging voltage and currents are within the output range that the kit offers.

AVR458: Charging Lithium-Ion Batteries with ATAVRBC100

AVR458: Charging Lithium-Ion Batteries with ATAVRBC100

AVR458: Charging Lithium-Ion Batteries with ATAVRBC100
(file size: 1823634, 34 pages, revision B, updated: 08/2008)

This application note is based on the ATAVRBC100 Battery Charger reference design and focuses on how to charge Lithium-Ion (Li-Ion) batteries. The firmware is written entirely in C language and is easy to port to other 8-bit AVR devices.

AVR463: Charging Nickel-Metal Hydride Batteries with ATAVRBC100

AVR463: Charging Nickel-Metal Hydride Batteries with ATAVRBC100

AVR463: Charging Nickel-Metal Hydride Batteries with ATAVRBC100
(file size: 787524, 26 pages, revision A, updated: 09/2007)

This application note is based on the ATAVRBC100 Battery Charger reference design and focuses on how to use it to charge Nickel-Metal Hydride (NiMH) batteries. The firmware is written entirely in C language and is easy to port to other AVR microcontrollers.

AVR480: Anti-Pinch System for Power Window using tinyAVR and megaAVR devices

AVR480: Anti-Pinch System for Power Window using tinyAVR and megaAVR devices

AVR480: Anti-Pinch System for Power Window using tinyAVR and megaAVR devices
(file size: 516455, 19 pages, revision B, updated: 12/2006)

This application note provides an example of how to create an anti-pinch system for power windows. Based on Speed and Current parameters measured out of the window DC motor, it supports the FMVSS118 and 20/64/ECC standards.

AVR481: DB101 Hardware User Guide

AVR481: DB101 Hardware User Guide

AVR481: DB101 Hardware User Guide
(file size: 391205, 10 pages, revision B, updated: 09/2007)

The DB101 is a graphical LCD module. It demonstrates how to use an AVR microcontroller to control a 128x64 pixel graphical LCD.

AVR482: DB101 Software User Guide

AVR482: DB101 Software User Guide

AVR482: DB101 Software User Guide
(file size: 4482912, 13 pages, revision A, updated: 09/2007)

The DB101 firmware is a complex piece of software that uses a number of drivers and libraries to implement a set of applications to the user. This document gives a brief introduction to every driver, library, and application.

AVR483: DB101 Firmware - Getting Started

AVR483: DB101 Firmware - Getting Started

AVR483: DB101 Firmware - Getting Started
(file size: 2202, 17 pages, revision A, updated: 02/2008)

This application explains, step by step, how to create a new firmware project, add the bare essentials for a basic graphics application, build it and run it on the DB101.

AVR533: Migrating from ATtiny2313 to ATtiny2313A

AVR533: Migrating from ATtiny2313 to ATtiny2313A
(file size: 86519, 4 pages, revision B, updated: 04/2010)

This Application Note describes differences to be aware of when migrating from the ATtiny2313 to the ATtiny2313A Microcontroller.

AVR538: Migrating from ATtiny2313 to ATtiny4313

AVR538: Migrating from ATtiny2313 to ATtiny4313
(file size: 64240, 4 pages, revision A, updated: 07/2010)

This Application Note describes differences to be aware of when migrating from the ATtiny2313 to the ATtiny4313 Microcontroller.

AVR601: Atmel Modular Evaluation Kits for Motor Control Applications

AVR601: Atmel Modular Evaluation Kits for Motor Control Applications
(file size: 2964038, 9 pages, revision A, updated: 10/2008)

This document describes the association between the ATAVRMC300, ATAVRMC301, ATAVRMC303, and ATAVRMC310 processor boards.

AVR998: Guide to IEC60730 Class B compliance with AVR Microcontrollers

AVR998: Guide to IEC60730 Class B compliance with AVR Microcontrollers

AVR998: Guide to IEC60730 Class B compliance with AVR Microcontrollers
(file size: 111931, 9 pages, revision B, updated: 04/2008)

This application note describes the 'Class B' software classification, refering to embedded firmware which is intended to prevent unsafe operation of controlled equipment and provides guidelines for compliance with the 'Class B' classification as it relates to AVR devices.

Atmel AVR042: AVR Hardware Design Considerations

Atmel AVR042: AVR Hardware Design Considerations

(file size: 464KB, 17 pages, revision M, updated: 11/2014)

This application note has been written to provide answers to some of the questions and problems faced when starting designs involving Atmel® AVR® microcontrollers.

Atmel AVR134: Real Time Clock (RTC) Using the Asynchronous Timer

Atmel AVR134: Real Time Clock (RTC) Using the Asynchronous Timer

Atmel AVR134: Real Time Clock (RTC) Using the Asynchronous Timer

(file size: 392KB, 9 pages, revision H, updated: 01/2014)

This Application Note describes how to implement a real-time (RTC) on tinyAVR and megaAVR devices that features the RTC module.

Atmel AVR156: TWI Master Bit Bang Driver

Atmel AVR156: TWI Master Bit Bang Driver

Atmel AVR156: TWI Master Bit Bang Driver

(file size: 126KB, 4 pages, revision A, updated: 07/2012)

This application note describes a Two-wire Interface (TWI) master implementation, in the form of a full-featured driver. Many chips feature a hardware TWI module; others have Universal Serial Interface (USI), which can be used in TWI mode. This application note discusses the TWI master driver for devices without any of these hardware modules. This driver provides interfaces to read/write to a TWI slave.

AVR000: Register and Bit-Name Definitions for the 8-bit AVR Microcontroller

AVR000: Register and Bit-Name Definitions for the 8-bit AVR Microcontroller

AVR000: Register and Bit-Name Definitions for the 8-bit AVR Microcontroller

(file size: 129551, 2 pages, revision C, updated: 11/2009)

This Application Note contains files which allow the user to use Register and Bit names from the databook when writing assembly programs for 8-bit AVR microcontrollers.

AVR001: Conditional Assembly and portability macros

AVR001: Conditional Assembly and portability macros

AVR001: Conditional Assembly and portability macros

(file size: 95161, 6 pages, revision E, updated: 04/2008)

This application note describes the Conditional Assembly feature present in the 8-bit AVR Assembler version 1.74 and later. Examples of how to use Conditional Assembly are included to illustrate the syntax and concept.

AVR030: Getting Started with IAR Embedded Workbench for Atmel 8-bit AVR

AVR030: Getting Started with IAR Embedded Workbench for Atmel 8-bit AVR

AVR030: Getting Started with IAR Embedded Workbench for Atmel 8-bit AVR

(file size: 350457, 10 pages, revision D, updated: 10/2004)

The purpose of this application note is to guide new users through the initial settings of IAR Embedded Workbench, and compile a simple C-program.

AVR031: Getting Started with ImageCraft C for Atmel 8-bit AVR

AVR031: Getting Started with ImageCraft C for Atmel 8-bit AVR

(file size: 128488, 8 pages, revision B, updated: 05/2002)

The purpose of this Application Note is to guide new users through the initial settings of the ImageCraft IDE and compile a simple C program.

AVR032: Linker Command Files for the IAR ICCA90 Compiler

AVR032: Linker Command Files for the IAR ICCA90 Compiler

AVR032: Linker Command Files for the IAR ICCA90 Compiler

(file size: 137935, 11 pages, revision B, updated: 05/2002)

This Application Note describes how to make a linker command file for use with the IAR ICCA90 C-compiler for the 8-bit AVR Microcontroller.

AVR033: Getting Started with the CodeVisionAVR C Compiler

AVR033: Getting Started with the CodeVisionAVR C Compiler

AVR033: Getting Started with the CodeVisionAVR C Compiler

(file size: 2916, 18 pages, revision C, updated: 04/2008)

The purpose of this Application Note is to guide the user through the preparation of an example C program using the CodeVisionAVR C compiler.

AVR034: Mixing C and Assembly Code with IAR Embedded Workbench for 8-bit AVR microcontrollers

AVR034: Mixing C and Assembly Code with IAR Embedded Workbench for 8-bit AVR microcontrollers

(file size: 96573, 8 pages, revision B, updated: 04/2003)

This Application Note describes how to use C to control the program flow among main program and assembly modules to control time critical I/O functions.

AVR035: Efficient C Coding for 8-bit AVR microcontrollers

AVR035: Efficient C Coding for 8-bit AVR microcontrollers

(file size: 143596, 22 pages, revision D, updated: 01/2004)

This Application Note describes how to utilize the advantages of the 8-bit AVR architecture and the development tools to achieve more efficient c Code than for any other microcontroller.

AVR040: EMC Design Considerations

AVR040: EMC Design Considerations

(file size: 107789, 18 pages, revision D, updated: 06/2006)

This Application Note covers the most common EMC problems designers encounter when using Microcontrollers.

AVR053: Calibration of the internal RC oscillator

AVR053: Calibration of the internal RC oscillator

AVR053: Calibration of the internal RC oscillator

(file size: 83199, 15 pages, revision G, updated: 05/2006)

This application note describes a method to calibrate the internal RC oscillator and targets all AVR devices with tunable RC oscillator. Furthermore, an easily adaptable calibration firmware source code is also offered.

AVR060: JTAG ICE Communication Protocol

AVR060: JTAG ICE Communication Protocol

(file size: 139206, 20 pages, revision B, updated: 01/2004)

This application note describes the communication protocol used between AVR Studio and JTAG ICE.

AVR061: STK500 Communication Protocol

AVR061: STK500 Communication Protocol

AVR061: STK500 Communication Protocol

(file size: 814798, 31 pages, revision B, updated: 04/2003)

This document describes the protocol for the STK500 starterkit. This protocol is based on earlier protocols made for other AVR tools and is fully compatible with them in that there should not be any overlapping or redefined commands.

AVR072: Accessing 16-bit I/O Registers

AVR072: Accessing 16-bit I/O Registers

(file size: 78147, 4 pages, revision B, updated: 05/2002)

This Application Note shows how to read and write the 16-bit registers in the AVR Microcontrollers. Since the AVR has an 8-bit I/O bus these registers must be written in two execution cycles. It explains how to safely read and write these 16-bit registers.

AVR074: Upgrading AT90ICEPRO to ICE10

AVR074: Upgrading AT90ICEPRO to ICE10

(file size: 615370, 8 pages, revision B, updated: 05/2002)

This Application Note describes how to upgrade the AT90ICEPRO emulator to ATICE10 Version 2.0

AVR091: Migrating from AT90S2313 to ATtiny2313

AVR091: Migrating from AT90S2313 to ATtiny2313

(file size: 121313, 11 pages, revision A, updated: 10/2003)

This Application Note describes differences to be aware of when migrating from the AT902313 to the ATtiny2313 Microcontroller.

AVR093: Migrating from AT90S1200 to ATtiny2313

AVR093: Migrating from AT90S1200 to ATtiny2313

(file size: 89078, 7 pages, revision A, updated: 10/2003)

This Application Note describes differences to be aware of when migrating from the AT90S1200 to the ATtiny2313 Microcontroller.

AVR100: Accessing the EEPROM on tinyAVR and megaAVR devices

AVR100: Accessing the EEPROM on tinyAVR and megaAVR devices

AVR100: Accessing the EEPROM on tinyAVR and megaAVR devices

(file size: 66448, 7 pages, revision C, updated: 09/2005)

This Application Note contains assembly routines for accessing the EEPROM for all 8-bit AVR devices. Includes code for reading and writing EEPROM addresses sequentially and at random addresses.

AVR101: High Endurance EEPROM Storage

AVR101: High Endurance EEPROM Storage

AVR101: High Endurance EEPROM Storage

(file size: 48384, 5 pages, revision A, updated: 09/2002)

This Application Note describes how to make safe, high endurance, parameter storage in EEPROM, insuring no wear-out of the memory.

AVR102: Block Copy Routines on tinyAVR and megaAVR devices

AVR102: Block Copy Routines on tinyAVR and megaAVR devices

AVR102: Block Copy Routines on tinyAVR and megaAVR devices

(file size: 86605, 5 pages, revision B, updated: 05/2002)

This Application Note contains routines for transfer of data blocks on tinyAVR and megaAVR devices.

AVR104: Buffered Interrupt Controlled EEPROM Writes on tinyAVR and megaAVR devices

AVR104: Buffered Interrupt Controlled EEPROM Writes on tinyAVR and megaAVR devices

AVR104: Buffered Interrupt Controlled EEPROM Writes on tinyAVR and megaAVR devices

(file size: 79349, 9 pages, revision A, updated: 07/2003)

This application note presents a buffered interrupt driven approach to preserve and restore system information when power is turned off, significantly increasing general performance and decreasing power consumption compared to a polling implementation.

AVR105: Power efficient high endurance parameter storage in tinyAVR and megaAVR devices Flash memory

AVR105: Power efficient high endurance parameter storage in tinyAVR and megaAVR devices Flash memory

AVR105: Power efficient high endurance parameter storage in tinyAVR and megaAVR devices Flash memory

(file size: 148841, 10 pages, revision A, updated: 09/2003)

This application note describes how to implement a high endurance parameter storage method in Flash memory using the self-programming feature of the AVR.

AVR108: Setup and use of the LPM Instructions on tinyAVR and megaAVR devices

AVR108: Setup and use of the LPM Instructions on tinyAVR and megaAVR devices

AVR108: Setup and use of the LPM Instructions on tinyAVR and megaAVR devices

(file size: 77728, 4 pages, revision B, updated: 05/2002)

This Application Note describes how to access constants saved in Flash program memory of tinyAVR and megaAVR devices.

AVR109: Using Self Programming on tinyAVR and megaAVR devices

AVR109: Using Self Programming on tinyAVR and megaAVR devices

AVR109: Using Self Programming on tinyAVR and megaAVR devices

(file size: 94446, 11 pages, revision B, updated: 06/2004)

This Application note describes how an tinyAVR or megaAVR device with the SPM instruction can be configured for Self Programming.

AVR120: Characterization and Calibration of the ADC on an AVR

AVR120: Characterization and Calibration of the ADC on an AVR

(file size: 143621, 15 pages, revision D, updated: 02/2006)

This application note explains various ADC (Analog to Digital Converter) characterization parameters, how they affect ADC measurements and how to measure them and how to perform run-time compensation.

AVR128: Using the Analog Comparator on tinyAVR and megaAVR devices

AVR128: Using the Analog Comparator on tinyAVR and megaAVR devices

AVR128: Using the Analog Comparator on tinyAVR and megaAVR devices

(file size: 74183, 4 pages, revision B, updated: 05/2002)

This Application Note serves as an example on how to set up and use the AVR's on-chip Analog Comparator.

AVR130: Using the timers on tinyAVR and megaAVR devices

AVR130: Using the timers on tinyAVR and megaAVR devices

AVR130: Using the timers on tinyAVR and megaAVR devices

(file size: 184089, 16 pages, revision A, updated: 02/2002)

This Application Note describes how to use the different timers on tinyAVR and megaAVR devices. The intention of this document is to give a general overview of the timers, show their possibilities and explain how to configure them.

AVR131: Using the 8-bit AVR High-speed PWM

AVR131: Using the 8-bit AVR High-speed PWM

AVR131: Using the 8-bit AVR High-speed PWM

(file size: 1492, 8 pages, revision A, updated: 09/2003)

This application note is an introduction to the use of the high-speed Pulse Width Modulator (PWM) available on some tinyAVR and megaAVR devices.

AVR132: Using the Enhanced Watchdog Timer on tinyAVR and megaAVR devices

AVR132: Using the Enhanced Watchdog Timer on tinyAVR and megaAVR devices

AVR132: Using the Enhanced Watchdog Timer on tinyAVR and megaAVR devices

(file size: 142906, 17 pages, revision C, updated: 06/2008)

This Application Note describes how to utilize the Enhanced Watchdog Timer (WDT) used on new 8-bit AVR devices. In addition to performing System Reset, the WDT now also has the ability to generate an interrupt.

AVR133: Long Delay Generation Using the 8-bit AVR Microcontroller

AVR133: Long Delay Generation Using the 8-bit AVR Microcontroller

(file size: 232417, 8 pages, revision B, updated: 01/2004)

The solution presented here shows how the AVR AT90 series microcontrollers generate and handle long delays, without any software intervention, thus allowing the core to be in a low-power mode during the delay.

AVR180: External Brown-Out Protection

AVR180: External Brown-Out Protection

(file size: 201943, 16 pages, revision B, updated: 05/2002)

This Application Note shows in detail how to prevent system malfunction during periods of insufficient power supply voltage.

AVR182: Zero Cross Detector on tinyAVR and megaAVR devices

AVR182: Zero Cross Detector on tinyAVR and megaAVR devices

AVR182: Zero Cross Detector on tinyAVR and megaAVR devices

(file size: 97422, 8 pages, revision B, updated: 01/2004)

This Application Note describes how to implement an efficient zero cross detector for mains power lines using an tinyAVR and megaAVR devices

AVR200: Multiply and Divide Routines

AVR200: Multiply and Divide Routines

AVR200: Multiply and Divide Routines
(file size: 231576, 21 pages, revision D, updated: 05/2006)

This Application Note lists subroutines for multiplication and division of 8 and 16-bit signed and unsigned numbers.

AVR202: 16-Bit Arithmetics on tinyAVR and megaAVR devices

AVR202: 16-Bit Arithmetics on tinyAVR and megaAVR devices

AVR202: 16-Bit Arithmetics on tinyAVR and megaAVR devices
(file size: 71145, 3 pages, revision B, updated: 05/2002)

This Application Note lists program examples for arithmetic operation on 16-bit values on tinyAVR and megaAVR devices.

AVR204: BCD Arithmetics

AVR204: BCD Arithmetics

AVR204: BCD Arithmetics

(file size: 96638, 14 pages, revision B, updated: 01/2003)

This Application Note lists routines for BCD arithmetics.

AVR220: Bubble Sort

AVR220: Bubble Sort

AVR220: Bubble Sort

(file size: 94201, 5 pages, revision B, updated: 05/2002)

This Application Note implements the Bubble Sort algorithm on the AVR controllers.

AVR222: 8-Point Moving Average Filter on tinyAVR and megaAVR devices

AVR222: 8-Point Moving Average Filter on tinyAVR and megaAVR devices

AVR222: 8-Point Moving Average Filter on tinyAVR and megaAVR devices

(file size: 86818, 5 pages, revision B, updated: 05/2002)

This Application Note gives an demonstration of how the addressing modes in the tinyAVR and megaAVR architecture can be utlized.

AVR223: Digital Filters on tinyAVR and megaAVR devices

AVR223: Digital Filters on tinyAVR and megaAVR devices

AVR223: Digital Filters on tinyAVR and megaAVR devices

(file size: 23613, 18 pages, revision B, updated: 07/2008)

This application note explains how to implement digital filters on Atmel® tinyAVR®, and Atmel® megaAVR® devices, taking into consideration coefficient and data scaling and methods of optimization.

AVR230: DES Bootloader on tinyAVR and megaAVR devices

AVR230: DES Bootloader on tinyAVR and megaAVR devices

AVR230: DES Bootloader on tinyAVR and megaAVR devices

(file size: 1910487, 24 pages, revision D, updated: 04/2005)

This application note describes how firmware can be updated securely on microcontrollers with bootloader capabilities, using the Data Encryption Standard (DES) or triple DES to encrypt the firmware.

AVR236: CRC check of Program Memory on tinyAVR and megaAVR devices with LPM instruction

AVR236: CRC check of Program Memory on tinyAVR and megaAVR devices with LPM instruction

AVR236: CRC check of Program Memory on tinyAVR and megaAVR devices with LPM instruction

(file size: 117934, 9 pages, revision B, updated: 05/2002)

The Application Note describes CRC (Cyclic Redundancy Check) theory and implementation of CRC checking of program memory for secure applications.

AVR240: 4x4 Keypad-Wake Up on Keypress on tinyAVR and megaAVR devices

AVR240: 4x4 Keypad-Wake Up on Keypress on tinyAVR and megaAVR devices

AVR240: 4x4 Keypad-Wake Up on Keypress on tinyAVR and megaAVR devices

(file size: 77028, 14 pages, revision D, updated: 06/2006)

This Application Note describes a simple interface to a 4 x 4 keypad designed for low power battery operation.

AVR242: Multiplexing LED Drive & a 4x4 Keypad on tinyAVR and megaAVR devices

AVR242: Multiplexing LED Drive & a 4x4 Keypad on tinyAVR and megaAVR devices

AVR242: Multiplexing LED Drive & a 4x4 Keypad on tinyAVR and megaAVR devices

(file size: 151033, 26 pages, revision B, updated: 05/2002)

This Application Note describes a comprehensive system providing a 4 x 4 keypad as input into a real time clock/timer with two outputs and controls external loads and a four digit mulitplexed LED display.

AVR243: Matrix Keyboard Decoder on tinyAVR and megaAVR devices

AVR243: Matrix Keyboard Decoder on tinyAVR and megaAVR devices

AVR243: Matrix Keyboard Decoder on tinyAVR and megaAVR devices

(file size: 107554, 11 pages, revision A, updated: 01/2003)

This application note describes a software driver interfacing an 8x8 keyboard and is designed for low power battery operation. The application also supports user-defined alternation keys to implement Caps Lock, Ctrl-, Shift- and Alt-like functionality.

AVR244: UART as ANSI Terminal Interface

AVR244: UART as ANSI Terminal Interface

AVR244: UART as ANSI Terminal Interface

(file size: 56579, 8 pages, revision A, updated: 11/2003)

This application note describes some basic routines to interface an AVR microcontroller to a terminal window using the UART (hardware or software).

AVR301: 8-bit AVR C Code for Interfacing AVR to AT17CXXX FPGA Configuration Memories

AVR301: 8-bit AVR C Code for Interfacing AVR to AT17CXXX FPGA Configuration Memories

AVR301: 8-bit AVR C Code for Interfacing AVR to AT17CXXX FPGA Configuration Memories

(file size: 103351, 20 pages, revision D, updated: 01/2004)

This Application Note describes how to In-System-Program (ISP) an Atmel FPGA Configuration Memory using an 8-bit AVR MCU and how to bit bang TWI using port pins on an AT90S8515 AVR MCU

AVR304: Half Duplex Interrupt Driven Software UART on tinyAVR and megaAVR devices

AVR304: Half Duplex Interrupt Driven Software UART on tinyAVR and megaAVR devices

AVR304: Half Duplex Interrupt Driven Software UART on tinyAVR and megaAVR devices

(file size: 64253, 8 pages, revision C, updated: 04/2008)

This Application Note describes how to make a half duplex UART on any tinyAVR or megaAVR device using the 8-bit Timer/Counter0 and an external interrupt.

AVR305: Half Duplex Compact Software UART on tinyAVR and megaAVR devices

AVR305: Half Duplex Compact Software UART on tinyAVR and megaAVR devices

AVR305: Half Duplex Compact Software UART on tinyAVR and megaAVR devices

(file size: 75005, 9 pages, revision C, updated: 09/2005)

This Application Note describes how to implement a polled software UART capable of handling speeds up to 614,400 bps on an AT90S1200.

AVR306: Using the AVR UART in C on tinyAVR and megaAVR devices

AVR306: Using the AVR UART in C on tinyAVR and megaAVR devices

AVR306: Using the AVR UART in C on tinyAVR and megaAVR devices

(file size: 51913, 3 pages, revision B, updated: 07/2002)

This Application Note describes how to set up and use the UART present in most 8-bit AVR devices. C code examples are included for polled and interrupt controlled UART applications

AVR307: Half Duplex UART Using the USI Module on tinyAVR and megaAVR devices

AVR307: Half Duplex UART Using the USI Module on tinyAVR and megaAVR devices

AVR307: Half Duplex UART Using the USI Module on tinyAVR and megaAVR devices

(file size: 8242, 18 pages, revision A, updated: 10/2003)

The Universal Serial Interface (USI) present in 8-bit AVR devices like the ATtiny26, ATtiny2313, and ATmega169, is a communication module designed for TWI and SPI communication, but can also be used for UART communication as well.

AVR308: Software LIN Slave on tinyAVR and megaAVR devices

AVR308: Software LIN Slave on tinyAVR and megaAVR devices

AVR308: Software LIN Slave on tinyAVR and megaAVR devices

(file size: 143208, 12 pages, revision B, updated: 05/2002)

This Application Note shows how to implement a LIN (Local Interconnect Network) slave task on tinyAVR and megaAVR devices without the need for any external components.

AVR313: Interfacing a PC AT Keyboard on tinyAVR and megaAVR devices

AVR313: Interfacing a PC AT Keyboard on tinyAVR and megaAVR devices

AVR313: Interfacing a PC AT Keyboard on tinyAVR and megaAVR devices

(file size: 154182, 13 pages, revision B, updated: 05/2002)

Most microcontrollers requires some kind of human interface. This Application Note describes one way of doing this using a standard PC AT Keyboard.

AVR314: DTMF Generator on tinyAVR and megaAVR devices

AVR314: DTMF Generator on tinyAVR and megaAVR devices

AVR314: DTMF Generator on tinyAVR and megaAVR devices

(file size: 113780, 8 pages, revision B, updated: 05/2002)

This Application Note describes how DTMF (Dual-Tone Multiple Frequencies) signaling can be implemented using any tinyAVR or megaAVR device with PWM and SRAM.

AVR320: Software SPI Master

AVR320: Software SPI Master

AVR320: Software SPI Master

(file size: 58758, 5 pages, revision C, updated: 09/2005)

This Application Note describes a set of low-level routines for software implementation of the SPI (Synchronous Peripheral Interface). These can be used for communicating with Atmel's 25xxx family of Serial EEPROM memories.

AVR325: High-Speed Interface to Host Enhanced Parallel Port (EPP) using tinyAVR and megaAVR devices

AVR325: High-Speed Interface to Host Enhanced Parallel Port (EPP) using tinyAVR and megaAVR devices

AVR325: High-Speed Interface to Host Enhanced Parallel Port (EPP) using tinyAVR and megaAVR devices

(file size: 73938, 7 pages, revision A, updated: 02/2002)

This Application Note describes a method for high-speed bidirectional data transfer between an AVR Microcontroller and an of-the-shelf IBM (R) PC-compatible desktop computer, using its Enhanced Parallel Port (EPP) 8-bit parallel data path.

AVR335: Digital Sound Recorder with tinyAVR or megaAVR and DataFlash

AVR335: Digital Sound Recorder with tinyAVR or megaAVR and DataFlash

AVR335: Digital Sound Recorder with tinyAVR or megaAVR and DataFlash

(file size: 152873, 20 pages, revision C, updated: 04/2005)

This Application Note describes how to record, store and play back sound using any 8-bit AVR MCU with A/D converter, the AT45DB161 DataFlash memory and a few extra components

AVR350: Xmodem CRC Receive Utility for tinyAVR and megaAVR devices

AVR350: Xmodem CRC Receive Utility for tinyAVR and megaAVR devices

AVR350: Xmodem CRC Receive Utility for tinyAVR and megaAVR devices

(file size: 111430, 7 pages, revision D, updated: 01/2008)

The Xmodem protocol was created years ago as a simple means of having two computers talk to each other and has found its way into many applications.

AVR360: Step Motor Controller using tinyAVR and megaAVR devices

AVR360: Step Motor Controller using tinyAVR and megaAVR devices

AVR360: Step Motor Controller using tinyAVR and megaAVR devices

(file size: 73457, 4 pages, revision B, updated: 04/2003)

Discontinued

AVR400: Low Cost A/D Converter using Analog Comp. on tinyAVR and megaAVR devices

AVR400: Low Cost A/D Converter using Analog Comp. on tinyAVR and megaAVR devices

AVR400: Low Cost A/D Converter using Analog Comp. on tinyAVR and megaAVR devices

(file size: 101749, 6 pages, revision B, updated: 05/2002)

This Application Note targets cost and space critical applications that need an ADC and explains how to use an analog comparator for this purpose.

AVR401: 8-Bit Precision A/D Converter using Analog Comp. on tinyAVR and megaAVR devices

AVR401: 8-Bit Precision A/D Converter using Analog Comp. on tinyAVR and megaAVR devices

AVR401: 8-Bit Precision A/D Converter using Analog Comp. on tinyAVR and megaAVR devices

(file size: 88004, 12 pages, revision C, updated: 02/2003)

This Application Note describes how to perform a kind of dual slope A/D conversion with the analog comparator of tinyAVR and megaAVR devices

AVR410: RC5 IR Remote Control Receiver on tinyAVR and megaAVR devices

AVR410: RC5 IR Remote Control Receiver on tinyAVR and megaAVR devices

AVR410: RC5 IR Remote Control Receiver on tinyAVR and megaAVR devices

(file size: 171728, 10 pages, revision B, updated: 05/2002)

This Application Note describes a receiver for the frequently used Philips/Sony RC5 coding scheme

AVR415: RC5 IR Remote Control Transmitter on tinyAVR and megaAVR devices

AVR415: RC5 IR Remote Control Transmitter on tinyAVR and megaAVR devices

AVR415: RC5 IR Remote Control Transmitter on tinyAVR and megaAVR devices

(file size: 84070, 5 pages, revision A, updated: 05/2003)

In this application note the widely used RC5 coding scheme from Philips will be described and a fully working remote control solution will be presented. This application will use the ATtiny28 AVR microcontroller for this purpose.

AVR604: Understanding the AVR ICEPRO I/O Registers

AVR604: Understanding the AVR ICEPRO I/O Registers
(9 pages, revision A, updated: 04/1998)

This Application Note describes the I/O Register views seen in AVR Studio when using the ICEPRO emulator.

AVR910: In-System Programming

AVR910: In-System Programming

AVR910: In-System Programming
(file size: 224606, 12 pages, revision E, updated: 08/2008)

This Application Note shows how to design an application to support in-system programming.

Article

PDF

Software

Description

Computers that You Wear Help Your Work and Play

Computers that You Wear Help Your Work and Play

(file size: 112KB, 4 pages, updated: 05/2013)

Designing Feature-Rich User Interfaces for Home and Industrial Controllers

Designing Feature-Rich User Interfaces for Home and Industrial Controllers

(file size: 933KB, 5 pages, updated: 06/2013)

Microprocessor or Microcontroller

Microprocessor or Microcontroller

(file size: 104KB, 4 pages, updated: 05/2013)

Wireless MP3 Remote Jukebox with Atmel AT90S2313-4PC

Wireless MP3 Remote Jukebox with Atmel AT90S2313-4PC

(file size: 356610, 6 pages, updated: 02/2005)

8-bit Microcontroller Drives Battery-powered Thermostat

8-bit Microcontroller Drives Battery-powered Thermostat

(file size: 294135, 2 pages, updated: 01/2004)

Algorithm Builder for AVR

Algorithm Builder for AVR

(file size: 193382, 2 pages, updated: 01/2004)

Atmel AVR-based Constant Current Supply

Atmel AVR-based Constant Current Supply

(file size: 440689, 4 pages, updated: 01/2004)

Heterogeneous Device Networking

Heterogeneous Device Networking

(file size: 201238, 2 pages, updated: 01/2004)

High-level Tool Targeted for AVR Controllers

High-level Tool Targeted for AVR Controllers

(file size: 219090, 2 pages, updated: 01/2004)

Brochures and Flyers

PDF

Software

Description

Atmel Flash Microcontroller Product Portfolio

Atmel Flash Microcontroller Product Portfolio

(file size: 3.5MB, 40 pages, revision R, updated: 09/2013)

Atmel tinyAVR Fast and Code Efficient Flyer

Atmel tinyAVR Fast and Code Efficient Flyer

(file size: 1.2MB, 4 pages, revision C, updated: 09/2013)

Atmel Xplained Pro

Atmel Xplained Pro

(file size: 40K, 2 pages, revision B, updated: 02/2013)

Atmel Xplained Pro kits provide a complete and easy to use low-cost development platform for evaluating and prototyping your Atmel Flash-based microcontrollers (MCUs) designs.

Automotive Solutions

Automotive Solutions

(file size: 5.13 MB, 20 pages, revision L, updated: 11/2013)

Atmel AVR Microntrollers

Atmel AVR Microntrollers

(2 pages, updated: 01/2013)

Atmel AVR Studio 5 - development and debugging

Atmel AVR Studio 5 - development and debugging

(2 pages, updated: 01/2013)

Atmel Studio - Software Development Environment

Atmel Studio - Software Development Environment

(2 pages, revision B, updated: 09/2012)

Atmel-Integrating the Internet of Things

Atmel-Integrating the Internet of Things

(2 pages, updated: 11/2014)

Other

PDF

Software

Description

AVR Instruction Set

AVR Instruction Set

(file size: 1.4MB, 152 pages, revision J, updated: 07/2014)

Overview

PDF

Software

Description

AVR and AVR32 - Quick Reference Guide

AVR and AVR32 - Quick Reference Guide

(file size: 10252806, 68 pages, revision I, updated: 05/2009)

Introduction of the product range of AVR and AVR32 microcontrollers and application processors:

  • Device family description
  • Key features
  • Device selection guides
  • Application oriented device families
  • Tools offer

White Paper

PDF

Software

Description

Next-Generation IDE: Maximizing IP Reuse

Next-Generation IDE: Maximizing IP Reuse

(file size: 988KB, 15 pages, updated: 07/2012)