pvarney / PiLN

Raspberry Pi Kiln Controller
GNU General Public License v3.0
9 stars 1 forks source link

PiLN

Web-based Raspberry Pi Kiln Control Application

This is my first foray into Python, Git, RPi, etc - Please be kind ;-)

I have a good size 220v 45amp electric kiln that has the old "kiln-sitter" style temperature control with bi-metal on/off cycle adjustment knobs. I wanted something with much more precise temperature control for more consistent results and in order to do more work with glass. I started this project with an Arduino board but found the wifi connectivity and coding much too complicated. Being rather proficient in Perl, it seemed the RPi was a better solution. I wrote the original PID control in Perl, but then ported to Python since there seemed to be much more support for it on the RPi and since it was something I wanted to learn anyway.

WARNING! Electricity and heat are dangerous! Please be careful and seek professional help if you are not experienced dealing with high voltage and heat. Use this code/information at your own risk.

This is what I hoped to accomplish:

Many many many thanks to all those who post helpful tidbits out on the web - those on stackoverflow.com in particular. Way to many bits and pieces to give any particular credit. However, I did pull PID calculation code from the following to replace my own code that was iffy (what's math?). It was in C, but was an easy port to Python:

http://brettbeauregard.com/blog/2011/04/improving-the-beginner%E2%80%99s-pid-reset-windup/

All comments, questions, contributions and suggestions welcome!

Future improvements:

Install:

Using the Web App:

UPDATE 4/8/2018: I had a problem with one of the heating elements not working and found that the SSRs couldn't hold up to the heat - even with the heat sinks. I have since replaced them with mechanical relays (same type that were in it before I ripped the guts out). I am now using a 4 relay module to switch on/off the 220v coil voltage on the relays. I also put the MAX31855 module in its own metal box to see if it would reduce the amount of temperature fluctuation.