Skip to content
M Hightower edited this page May 5, 2021 · 79 revisions

WIP

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. This retains the decimal precision without loss in integer form. This allows the use of quick integer computations when needed. Remember to multiply by 1E-04 when using 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 linearized 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 any pull-up resistors on that pin! If you do, your device most likely will not boot. See Boards for some examples of problem boards.

Boards

Troubleshooting

References

Clone this wiki locally