-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MAX31855 Linearization #13
Comments
This is a serious issue. I, not being aware of the need for additional data correction, even contacted Maxim Integrated tech support. I measured the readings of max31855 and compared them with the expected ones. As you can see from the table below, the error is significant.
The response from tech support was following:
|
Well, to be honest I had no idea if this is significant. Previously I've used modified Adafruit MAX31856 library that had additional linearization (not by default - also mod)
But this library was less reliable and trow different errors - also it introduced, at some point, some additional dependent libraries (Adafruit) that I thought are too much and complicated everything beyond usefulness. |
As far as I can see the library you are using now doesn't has any linearization. IMHO, that's significant, because you don't want your kiln to read 950 degrees when it's actually 1050. At temperatures below 300 degrees, that might be not a big deal |
It should be relatively easy to add it to library - it's just math - but since author still haven't accept my last commit, I've asked if we can add it. |
Looks like it would be straight forward to add this snipped in, since enjoyneering hasn't addressed your PR yet. https://learn.adafruit.com/calibrating-sensors/maxim-31855-linearization. |
According to datasheet, page 8, max31855 assumes a linear relationship between temperature and voltage, which is not accurate. For accurate results linearisztion needs to be performed. Otherwise there will be temperature error >10 degrees at real TC temperatures greater than 200 degrees.
Here is an example of arduino code for linearising max31855 data
https://github.com/heypete/MAX31855-Linearization
The text was updated successfully, but these errors were encountered: