Skip to content
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 Numerous errors at high temperatures. #24

Open
chipgarner opened this issue Apr 1, 2024 · 2 comments
Open

MAX31855 Numerous errors at high temperatures. #24

chipgarner opened this issue Apr 1, 2024 · 2 comments

Comments

@chipgarner
Copy link
Owner

chipgarner commented Apr 1, 2024

The MAX31855 hits a lot of errors but keeps working at high temperatures.

The board sends errors like short to ground, short to power, over and over. Connecting the TC to a Fluke or a '56 shows no errors. The errors come more and more often as the temperature increases. The errors continue in the same manner as the kin is cooling, with the high voltage switching shut off. I have tried different software - my software graphs the errors real time. To further define "errors", the board sends out a set of bits that corresponds to a specific error as defined in the board documentation. This has been desc

Around 1600F my thermocouple started getting lots of errors [which is normal] and since the variable was named incorrectly, my setting in config.py was ignored and the code ended my schedule because it though there was an emergency. These errors are caused by plasma in the kiln making it my tc appear to have a short circuit. @jbruce

I have done a lot of testing of this error and will post what I have tried in about two weeks.

@chipgarner
Copy link
Owner Author

chipgarner commented Apr 2, 2024

@rondoc I have reproduced this error with two different kinds of TC boards connected to the same TC and only see the errors on the '55. It is very reproducible and Jason thinks it is just normal. kiln-controller works fine even if it is only getting one good response out of every 10 requests.

I have tried warming the TC board itself and was not able to reproduce the problem.

You may be right that this is in how we read the board. The low level software that does the reading is in the Adafruit library that does the SPI communications. We are using two different libraries, one (bitbangio) that does SPI using any GPIO on the Pi, and another that uses the Pi hardware SPI pins. (This is because users have wired there controllers in different ways.) It is possible that there is shared code in these two libraries that has an error in it. We have the Adafruit code, and I am planning to look into this.

The only other possibility I can think of is that the errors are coming from the TC board itself. What do you think?

And thanks!

@rondoc
Copy link

rondoc commented Apr 3, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants