mister-grumbler / w1209-firmware

The functional eqivalent to the original firmware of "Digital Thermostat Module Model XH-W1209".
GNU General Public License v3.0
39 stars 23 forks source link

ADC values to temperature mapping #1

Closed mister-grumbler closed 6 years ago

mister-grumbler commented 6 years ago

The values being acquired from analog-to-digital converter should be mapped to real temperature values.

mister-grumbler commented 6 years ago

When standard math library is linked into firmware, resulting image became more than 8k in size. So this way is not acceptable.

mister-grumbler commented 6 years ago

Some corrections may be committed soon. But base idea of algorithm is proved to be valid.