Witam,
Ma ktoś jakieś doświadczenia z sensorem temperatury w attiny45?
Konkretnie porzeuje to skalibrować według tego:
To be capable of achieving
more accurate results the temperature measurement can be calibrated in the application software.
The sofware calibration can be done using the formula:
T = k * [(ADCH << 8 ) | ADCL] + TOS
where ADCH and ADCL are the ADC data registers, k is the fixed slope coefficient and TOS is the
temperature sensor offset. Typically, k is very close to 1.0 and in single-point calibration the
coefficient may be omitted. Where higher accuracy is required the slope coefficient should be
evaluated based on measurements at two temperatures.
Pisze w assemblerze. Ma ktos jakiś pomysł?
Ma ktoś jakieś doświadczenia z sensorem temperatury w attiny45?
Konkretnie porzeuje to skalibrować według tego:
To be capable of achieving
more accurate results the temperature measurement can be calibrated in the application software.
The sofware calibration can be done using the formula:
T = k * [(ADCH << 8 ) | ADCL] + TOS
where ADCH and ADCL are the ADC data registers, k is the fixed slope coefficient and TOS is the
temperature sensor offset. Typically, k is very close to 1.0 and in single-point calibration the
coefficient may be omitted. Where higher accuracy is required the slope coefficient should be
evaluated based on measurements at two temperatures.
Pisze w assemblerze. Ma ktos jakiś pomysł?