You need to log in to create posts and topics.

DS1621 sensor small bug ?

I think there is a small bug with this component : when set at -0.5°, it displays 0.5° (see attached screenshot).

The component sends 00000000 10000000 (0x0080) instead of 11111111 10000000 (0xff80) according to the datasheet (which would mean -1 + 0.5)
We should then have (i guess):
0x0000 = 0
0xff80 = -0.5
0xff00 = -1
0xfe80 = -1,5
etc.

 

Yes, you are right.
There is an error with negative numbers.

Thanks for reporting.