| Electronic Components Datasheet Search |
|
AVR401 Datasheet(PDF) 1 Page - ATMEL Corporation |
|
|
|||||||||||||||||||||||||||||
AVR401 Datasheet(HTML) 1 Page - ATMEL Corporation |
|
1 / 12 page ![]() 1 AVR401: 8-bit Precision A/D Converter Features • Very Low Cost • High Precision • Auto-calibration Eliminates Component Inaccuracy • Measures Voltages for 0 to V CC • 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 compar- ator can be used. Figure 1. A/D Converter Theory of Operation The capacitor is charged with a constant current supplied by the transistor. The capacitor voltage will rise linearly. To discharge the capacitor, the AIN0-pin is set to output with a “0” applied. A reference voltage at V CC/2 is supplied by the resistor net- work R ref1 and Rref2. When the PB1 and PB2-pins are configured as inputs, the reference is turned off, and the voltage level at the AIN1-pin will be the input voltage V in. By setting the pins as outputs and applying a “0” and a “1”, the level at the AIN1- pin will be V CC/2 (if the resistors are of equal size). The input resistor Rin have to be at least 100 times higher than the reference resistors R ref1 and Rref2 to avoid measure- ment errors. V CC (AIN0) PB0 (AIN1) PB1 PB7 AT90S1200 PB2 PB3 T C R B R in R ref 1 R ref 2 V in (V ) ref 8-bit Microcontroller Application Note Rev. 0953C–AVR–02/03 |
Similar Part No. - AVR401 |
|
Similar Description - AVR401 |
|
|
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |