Giter Site home page Giter Site logo

viplovvector / picoreflow Goto Github PK

View Code? Open in Web Editor NEW

This project forked from apollo-ng/picoreflow

0.0 0.0 0.0 648 KB

Turns a Raspberry Pi into a universal, web enabled Reflow Oven Controller

JavaScript 67.15% Python 13.88% CSS 15.70% HTML 3.26%

picoreflow's Introduction

picoReflow

Turns a Raspberry Pi into a cheap, universal & web-enabled Reflow Oven Controller. Of course, since it is basically just a robot sensing temperature and controlling environmental agitators (heating/cooling) you can use it as inspiration / basis 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 :)

Standard Interface

Image

Curve Editor

Image

Hardware

  • Raspberry Pi (Rev 2B, Zero W)
  • MAX 31855/6675 Cold-Junction K-Type Thermocouple
  • GPIO driven Solid-State-Relays/MOSFETs

Installation

Dependencies

We've tried to keep external dependencies to a minimum to make it easily deployable on any flavor of open-source operating system. If you deploy it successfully on any other OS, please update this:

Currently tested versions

  • greenlet-0.4.2
  • bottle-0.12.4
  • gevent-1.0
  • gevent-websocket-0.9.3

Ubuntu

$ sudo apt-get install python3-pip python-dev libevent-dev
$ sudo pip3 install ez-setup
$ sudo pip3 install greenlet bottle gevent gevent-websocket

Raspbian

$ sudo apt-get install python3-pip python-dev libevent-dev
$ sudo pip3 install ez-setup
$ sudo apt-get install python-gevent python-gevent-websocket
$ sudo pip3 install greenlet bottle

Gentoo

$ emerge -av dev-libs/libevent dev-python/pip
$ pip install ez-setup
$ pip install greenlet bottle gevent gevent-websocket

Raspberry PI deployment

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

$ pip3 install RPi.GPIO

This only applies to non-Raspbian installations, since Raspbian ships RPi.GPIO with the default installation.

If you also want to use the in-kernel SPI drivers with a MAX31855 sensor:

$ sudo pip3 install Adafruit-MAX31855

Clone repo

$ git clone https://github.com/apollo-ng/picoReflow.git
$ cd picoReflow

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

Usage

Server Startup

$ python3 picoreflowd.py

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

Client Access

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

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.

More info: https://apollo.open-resource.org/mission:resources:picoreflow

picoreflow's People

Contributors

chron0 avatar yggi avatar 2bitoperations avatar phcreery avatar matty0005 avatar sbman avatar openelectron avatar benkrasnow avatar igor-rast avatar maestr0 avatar andyrawson avatar paulmorrishill avatar davelloper avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.