Code Monkey home page Code Monkey logo

rpi_sousvide's Introduction

Raspberry Pi Sous Vide

A set of scripts to control the temperature of a water bath for Sous Vide cooking.

Hardware

A slow cooker or rice cooker (or anything else that has a heating element and that can hold the stuff you want to cook and enough water to submerge it)

A 434MHz remote controlled mains socket such as:

Lloytron A1210WH

I was originally using a socket from Maplin, but they're no longer in business, and that type of socket is impossible to come by these days.

A 434MHz RF transmitter such as:

http://proto-pic.co.uk/434mhz-rf-link-transmitter/

A waterproof DS18B20 temperature sensor (from eBay) and a 4k7 pull up resistor.

I used a Ciseco Slice of Pi to keep everything tidy, but they're also out of business now :(

Installation

Starting with Raspbian. First make sure that everything is up to date:

sudo apt-get update && sudo apt-get upgrade -y

Install dependencies:

sudo apt-get install -y git-core screen

Install PiLight
I've added a copy of my /etc/pilight/config.json here.

Install these scripts:

cd~
git clone https://github.com/cpswan/RPi_sousvide

Circuit

The 434MHz receiver needs to be connected like this:

Tx PinRaspberry Pi Header Pin
Pin 1 GNDPin 6 0V (Ground)
Pin 2 Data inPin 11 GPIO 0
Pin 3 VccPin 2 5.0 VDC Power
Pin 4 ANT173mm antenna wire (not on the Pi!)

and the DS18B20 needs to be connected like this:

Tx PinRaspberry Pi Header Pin
BlackPin 6 0V (Ground)
WhitePin 7 GPIO 7
RedPin 1 3.3 VDC Power

Here's a reminder of the Raspberry Pi GPIO pinout:

Before you start

Take a look in /sys/bus/w1/devices/ to find the device ID for the DS18B20 (e.g. 28-000003ea0350).

Edit 3biased.py and t1.sh with nano/vi or whatever to have the correct ID.

Running

It's a good idea to run this in a screen session:

screen

Optional - have a separate process monitoring temperature, so that there's a log afterwards:

./templog.sh &
tail -f temp_log

Press ctrl-a c to create another screen session (ctrl-a 0 and ctrl-a 1 can then be used to switch between sessions).

The main script will default to 55C:

./3biased.py

But it can be overridden to cook at different temperatures:

./3biased.py -t 60

It's also possible to change the control loop variables with command line switches to tune the script to a given cooker.

Disclaimer

This works for me, if you try it yourself and break your Raspberry Pi, ruin your food, or burn down your kitchen then I'm sorry, but it's your problem not mine.

rpi_sousvide's People

Contributors

cpswan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

mq1506

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.