Build a Web Enabled High Temperature Kiln Controller

About: dabbler in many things, pays the bills working as I.T. support officer on a blue water research vessel

Turns a Raspberry Pi into a cheap, universal & web-enabled kiln Controller.

I used this to add a firing schedule control to a little pottery kiln I picked up second hand. The kiln is 10A/240V rated to 1000 degrees C. It has a door switch and a basic thermostat which allows for 25%, 50%, 75% or 100% power but no timer, which means constant monitoring if you want to ramp the temperature up slowly or soak the wares at any point. With the kilnController I can now set it up for a bisque or low temperature glaze firing and leave it to its own devices, checking progress every now and then on my mobile phone or PC.

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

Step 1: Hardware

  1. Raspberry Pi Zero W running Raspbian. Any pi will do but the zeros are the cheapest at about $15 here in Australia
  2. MAX 31855 Cold-Junction K-Type Thermocouple (about $6 on eBay)
  3. K-Type Thermocouple Sensor -100°C to 1250°C ($3 on eBay)
  4. Solid State Relay Module SSR-25DA 25A /250V 3-32V DC Input 24-380VAC Output (again, about $6 on eBay)
  5. Half a dozen bits of wire
  6. A tupperware box to house it all

To put it all together you'll need a soldering iron, screw drivers and some wire cutters

Step 2: Wiring Up the Thermocouple

MAX31855 to Raspberry Pi

Vin not connected

3Vo to Pin 1 (3.3v DC)

GND to Pin 9 (Ground)

DO to Pin 11 (GPIO 17)

CS to Pin 13 (GPIO 27)

CLK to Pin 15 (GPIO 22)

DO (data out) is an output from the MAX31855 (input to the microcontroller) which carries each bit of data

CS (chip select) is an input to the MAX31855 (output from the microcontroller) which tells the chip when its time to read the thermocouple data.

CLK (clock) is an input to the MAX31855 (output from microcontroller) which indicates when to present another bit of data

For this project I've used the MAX31855 python library from

Thermocouple sensor to MAX31855

The MAX31855's terminals are marked 'Yellow +' and 'Red -', but my thermocouple sensor came with red and black wires, each with a little tab on the end. If you have the same sort of sensor, you'll need to put the red wire into the 'Yellow +' terminal, and the black one into the 'Red -' terminal.

While you can cut the terminations off the ends of each wire, I don't recommend it, as the insulation will unravel, leading to possible short circuits. Connect the tabs as shown in the picture above and everything should be sweet.

For now we've done enough wiring up to be able to start testing. But first, we'll need to install the web interface on the Pi...

Step 3: Installing the Web Interface Software on the Raspberry Pi

I built my controller on a 16GB SD card with raspbian installed but all the software would fit on an 8GB card if that's what you've got (df -h is showing less than 5GB of files).

After getting raspbian installed and connecting to your wireless network, run the following commands in a terminal on the pi:

sudo apt-get install python-pip python-dev libevent-dev git<br>sudo pip install ez-setup<br>sudo pip install greenlet bottle gevent gevent-websocket<br>git clone <a href="" rel="nofollow"></a>

Just about ready to start, but first get the IP address of your Pi by typing the following command in your terminal session:


Write down the IP address for your wlan0 connection. It should look something like: (the last couple of numbers might be different)

Note: kilnController is a forked and then modified version of the reflow oven project: picoReflow which I found out about through a blog post on succulent ceramics. Because the original project was for a solder reflow oven, it had quite a bit of code for for driving cooling fans and monitoring a door switch. I didn't need these for my project, but the code's still there (commented out) if you feel the need for a cooling fan. I added more code so that it would display nicely on my mobile phone.

Step 4: Running the Web Server and Testing the Thermocouple

Time to start the web server. Type the following into your terminal window:

cd kilnController

You should see a couple of lines saying something like:

2019-01-10 21:49:20,006 INFO kilncontrollerd: Starting kilncontrollerd
2019-01-10 21:49:20,024 INFO oven: import MAX31855
2019-01-10 21:49:20,036 INFO oven: init MAX31855
2019-01-10 21:49:20,074 INFO kilncontrollerd: listening on

Now, go to a mobile phone or computer that's using the same wireless network as the pi. Open a web browser and enter the IP address you wrote down earlier, followed by a colon and the port number 8081. For example:

After a short wait you should see the temperature displayed on the top left of the web page. Warm up the thermocouple sensor by holding it in your hand or putting it on a lamp or a soldering iron. You should see the temperature increasing at 1 second intervals.

Step 5: Wiring Up the Solid State Relay

So far no-one would be hurt if you got things wrong, but this step involves electricity at voltages and currents that could kill you if not handled properly, so please be careful. Make sure that nothing is plugged in while you work on the circuit and that there are no exposed wires or short circuits when you start using it on the kiln. I put my project inside a plastic box that I had sitting around (but I'm thinking that I might make a nice ceramic container now that I have the kiln running again :)

The solid state relay (SSR) turns the power to the kiln on and off. For my setup I wired in a short extension cord and plugged the kiln into that. I did this by carefully removing the outer insulator just behind the female socket on the power cord. Then I cut through the active wire and connected the ends to terminals 1 and 2 on the SSR. The Active wire (high potential) is coloured brown here in Australia (used to be red).

Connect pin 16 on the Pi (GPIO 23) to the '+' terminal on the SSR (terminal 3) and pin 6 on the Pi (Ground) to terminal 2 on the SSR.

Note: the SSR can get quite hot when in operation so you might want to put it on a heat sink. I sit my plastic box on a tin can when firing.

Danger image: public domain from Max Pixel

Step 6: Final Test

One last test before we can use our kiln controller in anger.

Plug a desk lamp into the controller. Plug the other end into a wall socket. Watch for any obvious signs of problems (the smoke getting out of components, funny smells etc.), if all is going well tun on the lamp and rest the thermocouple sensor on the lamp's bulb. At this stage the lamp should not be illuminated.

If it's not already running, start up the kiln controller software on the pi. Select a profile and click on 'Start' on the top right and then on the 'Start the firing' button on the Firing Overview modal.

Now, the bisque profile I've set up has a start temperature of 30 degrees Celsius. I live in Tasmania, where it's almost always cooler than that so the controller should immediately turn on the lamp to warm up the sensor. If you live in a warmer clime you might have to wait a while until the profile calls for something higher than your current ambient temperature. Either way, if everything's working to plan, you'll eventually see the light turn on and a 'kiln on' icon light up on the interface.

Leave it running for a while and you'll see the lamp turn on and off while the controller tracks the temperature profile.

Click on the 'Stop' button on the top left when you're done and go forth and fire up your kiln!

1 Person Made This Project!


  • Art Skills Challenge

    Art Skills Challenge
  • Make it Move

    Make it Move
  • Teacher Contest

    Teacher Contest

7 Discussions


3 months ago on Step 6

Check that frayed looking lead on the kiln it may be friable Asbestos if so it needs to be removed ad disposed of
Use PPE and wet it down check rest of kiln as well

1 reply

Reply 3 months ago

Thanks B0ostland. It's actually a bit of fiberglass rope. I used it to make a seal around the kiln door. Silicosis is my main worry in the pottery.


4 months ago

Thank you so much for this! I have an older Skutt kiln I inherited that has a kiln-sitter and infinite temp knobs, and I have been thinking about ways to convert it to a digital controller. This looks super fun and doable! I'll spend some time this weekend working on the project and report back on how it goes! Thanks again

2 replies

Reply 4 months ago

Hey, you're welcome Steve. I hope it all works out for you. Don't hesitate to drop a line if you're stuck on anything


Reply 4 months ago

Update from this weekend: although I didn't hook it up to my kiln, I was able to put together all the components and run the test using a lamp like you'd done above.

I made a fork of this project in github and changed a couple lines in the config file (cost per kWh, currency to USD, and units from C to F). Pretty straightforward! Interestingly, I didn't run into the websocketerror when making new profiles like quarter42 did in the comment below.

I have a project box with a clear lid coming tomorrow, so I am really excited to get this all buttoned up and put into an enclosure this week. Hopefully I can really test it this weekend with a bisque firing!

Thanks again for such a great instructable. This project has been so fun!


4 months ago on Step 6

Awesome Instructable. I had to modify some things for the U.S. I ended up using two SSR's (one for each hot lead) and they cost about $13 USD on Amazon. I daisy chained the GPIO wires from one SSR to the other and it works great. I was also getting a Python error related to WebSocketError when I tried to create or update a firing schedule. I fixed it by adding the line `from geventwebsocket import WebSocketError` under the other code related to imports. I also had to create a directory called "storage" in the root of the kilnController folder and a directory under that called "profiles". After that I could save and update profiles. Thanks again for the great work! I was able to find a cheap kiln locally and this mod allows it to have the functionality of a much more expensive kiln.

1 reply

Reply 4 months ago

Thanks for the great feedback, glad to hear about the profiles fix. I've been thinking that the whole profile editor needs a rebuild, but write profiles in a text editor while I work up enough enthusiasm for the task. Currently looking around for a bigger electric kiln :)