All Projects → jbruce12000 → Kiln Controller

jbruce12000 / Kiln Controller

Licence: gpl-3.0
Turns a Raspberry Pi into an inexpensive, web-enabled kiln controller.

Programming Languages

javascript
184084 projects - #8 most used programming language
python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Kiln Controller

Amplipi
Whole House Audio System 🔊
Stars: ✭ 125 (+160.42%)
Mutual labels:  controller, raspberry-pi
Fiscalberry
[JSON ↔ HW] Connect things using JSON API with the fiscalberry websocket server interact easily with any kind of Hardware. Another IoT solution...
Stars: ✭ 44 (-8.33%)
Mutual labels:  raspberry-pi
Blinkt go examples
The beginning of Blinkt examples programs in Go
Stars: ✭ 37 (-22.92%)
Mutual labels:  raspberry-pi
Padd
PADD (formerly Chronometer2) is a more expansive version of the original chronometer.sh that is included with Pi-Hole. PADD provides in-depth information about your Pi-hole.
Stars: ✭ 1,011 (+2006.25%)
Mutual labels:  raspberry-pi
True artificial intelligence
真AI人工智能
Stars: ✭ 38 (-20.83%)
Mutual labels:  raspberry-pi
Lsquaredc
A library for I2C communications for Linux devices (Beaglebone Black, Raspberry PI, and possibly others).
Stars: ✭ 42 (-12.5%)
Mutual labels:  raspberry-pi
Image Builder Rpi
SD card image for Raspberry Pi with Docker: HypriotOS
Stars: ✭ 973 (+1927.08%)
Mutual labels:  raspberry-pi
Guides
Guides for learning + doing better web and app development. Created by Coding for Entrepreneurs.
Stars: ✭ 1,042 (+2070.83%)
Mutual labels:  raspberry-pi
Wpa Connect
wpa-connect
Stars: ✭ 43 (-10.42%)
Mutual labels:  raspberry-pi
My Raspberry Pi Site
Middleman-based site for my RaspberryPi
Stars: ✭ 41 (-14.58%)
Mutual labels:  raspberry-pi
Embedio
A tiny, cross-platform, module based web server for .NET
Stars: ✭ 1,007 (+1997.92%)
Mutual labels:  raspberry-pi
Mmm Rtspstream
MagicMirror² module for streaming an RTSP video stream from a security camera to your MagicMirror.
Stars: ✭ 40 (-16.67%)
Mutual labels:  raspberry-pi
Embassy Os
A graphical operating system for running self-hosted software.
Stars: ✭ 43 (-10.42%)
Mutual labels:  raspberry-pi
Pi Webcam
Automation to configure a Raspberry Pi as a USB OTG webcam
Stars: ✭ 990 (+1962.5%)
Mutual labels:  raspberry-pi
Plastic Detection Model
Image Recognition Model to detect plastics, glass, paper, rubbish, metal and cardboard. This is used to detect these pollution in the ocean to allow the eradication of these materials, helping marine life, fishermen, tourism and making the world resilient to climate change.
Stars: ✭ 47 (-2.08%)
Mutual labels:  raspberry-pi
Pendulum
ROS, ROS2, real-time, control, pendulum
Stars: ✭ 37 (-22.92%)
Mutual labels:  raspberry-pi
Lakka Libreelec
Lakka is a lightweight Linux distribution that transforms a small computer into a full blown game console.
Stars: ✭ 1,007 (+1997.92%)
Mutual labels:  raspberry-pi
Piweatherrock
Displays local weather on a Raspberry Pi
Stars: ✭ 42 (-12.5%)
Mutual labels:  raspberry-pi
Tinderboxpedal
Bluetooth "Universal Remote" Footpedal for Digital Guitar Amps, on ESP32 or Pi Zero W
Stars: ✭ 48 (+0%)
Mutual labels:  raspberry-pi
Package Magic Video Wall
A video wall that configures itself by just taking a picture of your screens
Stars: ✭ 47 (-2.08%)
Mutual labels:  raspberry-pi

Kiln Controller

Turns a Raspberry Pi into an inexpensive, web-enabled kiln controller.

Features

  • easy to create new kiln schedules and edit / modify existing schedules
  • no limit to runtime - fire for days if you want
  • view status from multiple devices at once - computer, tablet etc
  • firing cost estimate
  • NIST-linearized conversion for accurate K type thermocouple readings
  • supports PID parameters you tune to your kiln
  • monitors temperature in kiln after schedule has ended
  • api for starting and stopping at any point in a schedule
  • support of MAX31856
  • accurate simulation
  • support for shifting schedule when kiln cannot heat quickly enough

Run Kiln Schedule

Image

Edit Kiln Schedule

Image

Hardware

Parts

Image Hardware Description
Image Raspberry Pi Virtually any Raspberry Pi will work since only a few GPIO pins are being used.
Image MAX 31855 Thermocouple breakout board
Image K-Type Thermocouple Invest in a heavy duty, ceramic, k-type thermocouple designed for kilns
Image Breadboard breadboard, ribbon cable, connector for pi's gpio pins & connecting wires
Image Solid State Relay Zero crossing, make sure it can handle the max current of your kiln. Even if the kiln is 220V you can buy a single 3 Phase SSR. It's like having 3 SSRs in one. Relays this big always require a heat sink.
Image Electric Kiln There are many old electric kilns on the market that don't have digital controls. You can pick one up on the used market cheaply. This controller will work with 110V or 220V (pick a proper SSR). My kiln is a Skutt KS-1018.

Schematic

The pi has three gpio pins connected to the MAX31855 chip. D0 is configured as an input and CS and CLK are outputs. The signal that controls the solid state relay starts as a gpio output which drives a transistor acting as a switch in front of it. This transistor provides 5V and plenty of current to control the ssr. Since only four gpio pins are in use, any pi can be used for this project. See the config file for gpio pin configuration.

My controller plugs into the wall, and the kiln plugs into the controller.

WARNING This project involves high voltages and high currents. Please make sure that anything you build conforms to local electrical codes and aligns with industry best practices.

Image

Note: I tried to power my ssr directly using a gpio pin, but it did not work. My ssr required 25ma to switch and rpi's gpio could only provide 16ma. YMMV.

Software

Raspbian

Download NOOBs. Copy files to an SD card. Install raspbian on RPi using NOOBs.

$ sudo apt-get install python3-pip python3-dev python3-virtualenv libevent-dev virtualenv
$ git clone https://github.com/jbruce12000/kiln-controller.git
$ cd kiln-controller
$ virtualenv -p python3 venv
$ source venv/bin/activate
$ pip install --upgrade setuptools
$ pip install greenlet bottle gevent gevent-websocket

Note: The above steps work on ubuntu if you prefer

Raspberry PI deployment

If you want to deploy the code on a PI for production:

$ cd kiln-controller
$ virtualenv -p python3 venv
$ source venv/bin/activate
$ pip install -r requirements.txt

Configuration

All parameters are defined in config.py, just copy the example and review/change to your mind's content.

$ cp config.py.EXAMPLE config.py

You should change, test, and verify PID parameters in config.py. Here is a PID Tuning Guide.

You may want to change the configuration parameter sensor_time_wait. It's the duty cycle for the entire system. It's set to two seconds by default which means that a decision is made every 2s about whether to turn on relay[s] and for how long. If you use mechanical relays, you may want to increase this. At 2s, my SSR switches 11,000 times in 13 hours.

Usage

Server Startup

$ source venv/bin/activate; ./kiln-controller.py

Autostart Server onBoot

If you want the server to autostart on boot, run the following command:

$ /home/pi/kiln-controller/start-on-boot

Client Access

Click http://127.0.0.1:8081 for local development or the IP of your PI and the port defined in config.py (default 8081).

Simulation

In config.py, set simulate=True. Start the server and select a profile and click Start. Simulations run at near real time.

License

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

Support & Contact

Please use the issue tracker for project related issues. If you're having trouble with hardware, I did too. Here is a troubleshooting guide I created for testing RPi gpio pins.

Origin

This project was originally forked from https://github.com/apollo-ng/picoReflow but has diverged a large amount.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].