Sem descrição

Per Mårtensson 2d4251950a first commit há 9 meses atrás
plots 2d4251950a first commit há 9 meses atrás
K thermocouple table conversion.ipynb 2d4251950a first commit há 9 meses atrás
README.md 2d4251950a first commit há 9 meses atrás
library.json 2d4251950a first commit há 9 meses atrás
test_microvolts 2d4251950a first commit há 9 meses atrás
test_temps 2d4251950a first commit há 9 meses atrás
thermocouple.c 2d4251950a first commit há 9 meses atrás
thermocouple.h 2d4251950a first commit há 9 meses atrás

README.md

k-thermocouple-lib

Converts thermocouple voltage to temperature with linearization and cold junction compensation.

The library uses a 65 entry lookup table and an interpolation to convert from K-type thermocouple voltage to temperature in degrees Celsius and back. The lookup table is based on NIST data, points for the lookup table were selected by hand according to the most nonlinear places in k-thermocouple response, to minimaze the error.

Code is written using fixed point arithmetic and is suitable for embedded applications.

Accuracy