| Electronic Components Datasheet Search |
|
AVR401 Datasheet(PDF) 2 Page - ATMEL Corporation |
|
|
|||||||||||||||||||||||||||||
AVR401 Datasheet(HTML) 2 Page - ATMEL Corporation |
|
2 / 12 page ![]() 2 AVR401 0953C–AVR–02/03 The algorithm used for the conversion is as follows: 1. Turn on the reference. 2. Charge the capacitor until the reference voltage is reached. Measure the time needed for this, T ref. 3. Turn off the reference and discharge the capacitor 4. Charge the capacitor until the input voltage is reached. Measure the time needed for this, T in. The conversion cycle is shown in Figure 2. The time measurement is performed by the Timer/Counter, which is expanded to nine bits by using the Timer/Counter Overflow Interrupt. Figure 2. Conversion Cycle Calculation Suppose that V CC is 5 volts. The relationship between the input voltage and the refer- ence voltage is given by: Equation 1 The ideal output from the conversion is an 8-bit number, where 0 volts corresponds to zero and 5 volts is 255. The reference voltage V CC/2 thus corresponds to 128. The equation can be re-written as: Equation 2 However, with inaccuracy in the reference resistors, the reference voltage may vary slightly. To compensate for this, a calibration can be performed by applying a known voltage at the input, and compare this to the reference. If the applied calibration voltage is exactly 2.5 volts, the reference voltage can be found by the equation: Equation 3 V in V ref T in × T ref --------------------------- = V in T in 128 × T ref ------------------------- = V ref T ref V cal × T cal ------------------------------ T ref 128 × T cal --------------------------- == |
|
|
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 |