Ничего не получается. В ADC Data Register выдаются почти "верхние" значения постоянно. Ну минус неколько бит разрядов.23.8 Temperature Measurement
The temperature measurement is based on an on-chip temperature sensor that is coupled to a
single ended ADC8 channel. Selecting the ADC8 channel by writing the MUX3..0 bits in ADMUX
register to "1000" enables the temperature sensor. The internal 1.1V voltage reference must
also be selected for the ADC voltage reference source in the temperature sensor measurement.
When the temperature sensor is enabled, the ADC converter can be used in single conversion
mode to measure the voltage over the temperature sensor.
The measured voltage has a linear relationship to the temperature as described in Table 23-2.
The voltage sensitivity is approximately 1 mV/°C and the accuracy of the temperature measurement
is +/- 10°C.
Кто-нибудь работал с встроенным термо-датчиком кристалла? Какие там есть засады?
- Вложения
-
- ADCerror.gif
- Скрин из AVR Studio
- (25.36 КБ) 564 скачивания


