2018-11-25 15:49:31 +00:00
|
|
|
Kiln-Controller
|
2013-11-23 19:09:06 +00:00
|
|
|
==========
|
|
|
|
|
2018-11-25 15:49:31 +00:00
|
|
|
Turns a Raspberry Pi into a cheap, universal & web-enabled kiln controller.
|
2014-11-03 16:15:46 +00:00
|
|
|
Of course, since it is basically just a robot sensing temperature and controlling
|
|
|
|
environmental agitators (heating/cooling) you can use it as inspiration / basis
|
2014-11-03 16:18:21 +00:00
|
|
|
when you're in need of a PID based temperature controller for your project.
|
|
|
|
Don't forget to share and drop a link, when you do :)
|
2013-11-23 19:12:51 +00:00
|
|
|
|
2014-11-03 09:56:29 +00:00
|
|
|
**Standard Interface**
|
|
|
|
|
2014-02-08 12:23:39 +00:00
|
|
|
![Image](https://apollo.open-resource.org/_media/mission:resources:picoreflow_webinterface.jpg)
|
|
|
|
|
2014-11-03 09:56:29 +00:00
|
|
|
**Curve Editor**
|
|
|
|
|
|
|
|
![Image](https://apollo.open-resource.org/_media/mission:resources:picoreflow_webinterface_edit.jpg)
|
|
|
|
|
2014-12-19 11:11:01 +00:00
|
|
|
## Hardware
|
|
|
|
|
|
|
|
* Raspberry Pi (Rev 2B)
|
|
|
|
* MAX 31855/6675 Cold-Junction K-Type Thermocouple
|
|
|
|
* GPIO driven Solid-State-Relays/MOSFETs
|
2013-11-23 22:10:51 +00:00
|
|
|
|
2014-11-02 12:10:37 +00:00
|
|
|
## Installation
|
2013-11-23 22:10:51 +00:00
|
|
|
|
2018-11-25 15:49:31 +00:00
|
|
|
#### Ubuntu/Raspbian libraries
|
2013-11-23 22:10:51 +00:00
|
|
|
|
2018-11-25 15:49:31 +00:00
|
|
|
$ sudo apt-get install python-pip python-dev libevent-dev python-virtualenv
|
2013-11-23 23:02:24 +00:00
|
|
|
|
2018-11-25 15:49:31 +00:00
|
|
|
### Quick Start for all linux environments
|
2013-11-23 23:02:24 +00:00
|
|
|
|
2018-11-25 15:49:31 +00:00
|
|
|
$ git clone https://github.com/jbruce12000/kiln-controller.git
|
|
|
|
$ cd kiln-controller
|
|
|
|
$ virtualenv venv
|
|
|
|
$ source venv/bin/activate
|
2018-11-25 16:06:17 +00:00
|
|
|
$ pip install --upgrade setuptools
|
2018-11-25 15:49:31 +00:00
|
|
|
$ pip install -r requirements.txt
|
|
|
|
$ ./kiln-controller.py
|
2014-11-02 12:10:37 +00:00
|
|
|
|
|
|
|
## 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
|
|
|
|
|
|
|
|
|
2016-09-03 14:34:36 +00:00
|
|
|
### Autostart Server onBoot
|
|
|
|
If you want the server to autostart on boot, run the following commands
|
|
|
|
|
|
|
|
sudo cp /home/pi/picoReflow/lib/init/reflow /etc/init.d/
|
|
|
|
sudo chmod +x /etc/init.d/reflow
|
|
|
|
sudo update-rc.d reflow defaults
|
|
|
|
|
2014-11-02 12:10:37 +00:00
|
|
|
### Client Access
|
|
|
|
|
2014-11-02 12:44:51 +00:00
|
|
|
Open Browser and goto http://127.0.0.1:8080 (for local development) or the IP
|
|
|
|
of your PI and the port defined in config.py (default 8080).
|
2014-11-02 12:10:37 +00:00
|
|
|
|
|
|
|
## 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/>.
|
|
|
|
|