Hello,

Zitat Zitat von linux_80
Hallo,

der DS1621 kann nur in 0,5° Schritten messen.

This is not entirely true.
By reading out the Counter and Slope Bytes and performing a calculation you can get temperatures in higher resolutions:


Higher resolutions may be obtained by reading the temperature,
and truncating the 0.5°C bit (the LSB) from the
read value. This value is TEMP_READ. The value left in
the counter may then be read by issuing a READ
COUNTER command. This value is the count remaining
(COUNT_REMAIN) after the gate period has
ceased. By loading the value of the slope accumulator
into the count register (using the READ SLOPE command),
this value may then be read, yielding the number
of counts per degree C (COUNT_PER_C) at that temperature.
The actual temperature may be then be calculated
by the user using the following:
TEMPERATURE = TEMP_READ – 0.25 + (COUNT_PER_C – COUNT_REMAIN) /COUNT_PER_C
But…. Not as high as the DS1631.

Greetings,
Drifter2006