mhightower83 / MAX31855K

Arduino ESP8266 Device Library for the MAX31855K with the option to apply linear corrections to non-linear thermocouple response.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MAX31855K Library

At this time I leave all the minutiae details of this MAX31855K Library to the source code. Start with the MAX31855K.h file.

This library provides general access to probe and device temperatures as an integer value of the real value times 10K. Look for the functions ending in ...X10K. By multiplying the decimal value by 10,000, the result preserves the full precision of the value. This allows for the use of quick integer computations when needed. Remember to multiply by 1E-04 when used in a float expression.

Floating-point values are also available. Functions are provided for converting the straight-line approximation slope-based values returned by the MAX31955K to a non-linear data corrected value based on the ITS90 polynomial table for the Type-K Thermocouple. See NIST ITS-90 Thermocouple Database for more details.

This Library is coded to support Arduino or Arduino ESP8266; however, I have only used it with the ESP8266.

Both hardware and software SPI Bus implementations are supported.

On the ESP8266 when using HSPI with hardware CS, be very careful with GPIO15 as ChipSelect. For this to work, you must not have a pull-up resistor on that pin! If you do, your device most likely will not boot. See Troubleshooting - ESP8266 Will Not Boot for specifics.

Presision

Boards

Troubleshooting

References

About

Arduino ESP8266 Device Library for the MAX31855K with the option to apply linear corrections to non-linear thermocouple response.

License:Apache License 2.0


Languages

Language:C++ 97.5%Language:C 2.5%