2012年05月01日

AVR401:8-bit Precision A/D Converter

AVR401:8-bit Precision A/D Converter

http://www.atmel.com/dyn/resources/prod_documents/doc0953.pdf
Source:http://www.atmel.com/dyn/resources/prod_documents/avr401.zip

Features

- Very Low Cost
- High Precision
- Auto-calibration Eliminates Component Inaccuracy
- Measures Voltages for 0 to VCC
- Maximum Conversion Time: 1.1 ms

Introduction

This application note describes how to perform a kind of dual slope A/D conversion with an AVR microcontroller. The converter is very low cost, requiring only six discrete components in addition to the AVR. Five of the controller pins are used (see Figure 1).
This example is based on the AT90S1200 device, but any AVR device with a comparator can be used.
posted by Masa at 15:42| ApplicationNote | このブログの読者になる | 更新情報をチェックする

2012年05月01日

AVR400:Low Cost A/D Converter

AVR400:Low Cost A/D Converter

http://www.atmel.com/dyn/resources/prod_documents/doc0942.pdf
Source:http://www.atmel.com/dyn/resources/prod_documents/AVR400.zip

Features

- Interrupt Driven
- Code Size: 23 Words
- Low Use of External Components
- Resolution: 6 Bits
- Measurement Range: 0 - 2 V
- Runs on Any AVR Device with 8-bit Timer/Counter and Analog Comparator

Introduction

This application note targets cost and space critical applications that need an ADC. It describes how to make a simple ADC with only two external components, a resistor and a capacitor. The design enables a very compact and inexpensive application.
posted by Masa at 15:42| ApplicationNote | このブログの読者になる | 更新情報をチェックする

2012年05月01日

AVR274: Single-wire Software UART

AVR274: Single-wire Software UART

http://www.atmel.com/dyn/resources/prod_documents/AVR274.pdf

Features
- Software implemented UART
- Half-duplex single-wire communication
- Interrupt driven
- Supports baud rates up to 9600 @ 1MHz System Clock
- Compatible with any AVR® supporting external interrupt and a 8-bit timer compare interrupt

Introduction

UART communications are usually implemented using separate data wires for reception and transmission. A single-wire UART is using only one wire for communication, and is therefore ideal in low cost solutions where no high-speed full duplex communication is needed. 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.
posted by Masa at 15:42| ApplicationNote | このブログの読者になる | 更新情報をチェックする

2012年05月01日

AVR032: Linker Command Files for the IAR ICCA90 Compiler

AVR032: Linker Command Files for the IAR ICCA90 Compiler

http://www.atmel.com/dyn/resources/prod_documents/doc1079.pdf

Introduction

This application note describes how to make a linker command file for use with the IAR ICCA90 C-compiler for the AVR® microcontroller.
posted by Masa at 15:42| ApplicationNote | このブログの読者になる | 更新情報をチェックする

2012年05月01日

AVR000:Register and Bit-Name defines for the AVR Microcontrollers

AVR000: Register and Bit-Name Definitions for the AVR Microcontrollers

http://www.atmel.com/dyn/resources/prod_documents/doc0931.pdf
http://www.atmel.com/dyn/resources/prod_documents/AVR000.zip

Introduction
This application note contains files which allows the user to use Register and Bit names from the databook when writing assembly programs. To use the files, simply include them in the top of the source code. The files are named according to the following convention:

< Part Number >def.inc

As an example, AT90S8515 programs should include the following assembler directive:

.include "8515def.inc"
posted by Masa at 15:42| ApplicationNote | このブログの読者になる | 更新情報をチェックする