| 전자부품 데이터시트 검색엔진 |
|
AVR401 데이터시트(PDF) 2 Page - ATMEL Corporation |
|
|
|||||||||||||||||||||||||||||
AVR401 데이터시트(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 --------------------------- == |
|
|
링크 URL |
| ALLDATASHEET 가 귀하에 도움이 되셨나요? [ DONATE ] |
Alldatasheet는? | 광고문의 | 운영자에게 연락하기 | 개인정보취급방침 | 링크 투 데이터시트 | 링크교환 | 제조사별 검색 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 |