{"id":16647906,"url":"https://github.com/cpswan/rpi_sousvide","last_synced_at":"2025-04-09T16:21:41.558Z","repository":{"id":9828939,"uuid":"11816148","full_name":"cpswan/RPi_sousvide","owner":"cpswan","description":"Raspberry Pi scripts to control temperature for a sous vide water bath","archived":false,"fork":false,"pushed_at":"2021-04-13T20:02:47.000Z","size":18,"stargazers_count":8,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-09T16:21:25.104Z","etag":null,"topics":["python3","raspberry-pi","sous-vide"],"latest_commit_sha":null,"homepage":"https://blog.thestateofme.com/2013/03/31/raspberry-pi-sous-vide-water-bath/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cpswan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-08-01T12:21:21.000Z","updated_at":"2024-10-22T16:08:51.000Z","dependencies_parsed_at":"2022-09-06T02:00:29.237Z","dependency_job_id":null,"html_url":"https://github.com/cpswan/RPi_sousvide","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cpswan%2FRPi_sousvide","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cpswan%2FRPi_sousvide/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cpswan%2FRPi_sousvide/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cpswan%2FRPi_sousvide/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cpswan","download_url":"https://codeload.github.com/cpswan/RPi_sousvide/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248065287,"owners_count":21041872,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["python3","raspberry-pi","sous-vide"],"created_at":"2024-10-12T08:46:06.485Z","updated_at":"2025-04-09T16:21:41.512Z","avatar_url":"https://github.com/cpswan.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Raspberry Pi Sous Vide\n======================\n\nA set of scripts to control the temperature of a water bath for Sous Vide cooking.\n\nHardware\n--------\n\nA 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)\n\nA 434MHz remote controlled mains socket such as:\n\n[Lloytron A1210WH](https://smile.amazon.co.uk/Lloytron-A1210WH-Remote-Controlled-Socket/dp/B0053XRZ9I)  \n\nI was originally using a socket from [Maplin](https://web.archive.org/web/20120201112313/http://www.maplin.co.uk/additional-remote-controlled-mains-socket-531560),\nbut they're no longer in business, and that type of socket is impossible to come by these days.\n\nA 434MHz RF transmitter such as:\n\nhttp://proto-pic.co.uk/434mhz-rf-link-transmitter/\n\nA waterproof DS18B20 temperature sensor (from eBay) and a 4k7 pull up resistor.\n\nI used a [Ciseco Slice of Pi](http://shop.ciseco.co.uk/slice-of-pi-add-on-for-raspberry-pi/) to keep everything tidy, but they're also out of business now :(\n\nInstallation\n------------\n\nStarting with Raspbian. First make sure that everything is up to date:\n\n    sudo apt-get update \u0026\u0026 sudo apt-get upgrade -y\n    \nInstall dependencies:\n\n    sudo apt-get install -y git-core screen\n    \n[Install PiLight](https://manual.pilight.org/installation.html)  \nI've added a copy of my /etc/pilight/config.json here.\n    \nInstall these scripts:\n\n    cd~\n    git clone https://github.com/cpswan/RPi_sousvide\n    \nCircuit\n-------\n\nThe 434MHz receiver needs to be connected like this:\n\n\u003ctable\u003e\n\u003ctr\u003e\u003cth\u003eTx Pin\u003c/th\u003e\u003cth\u003eRaspberry Pi Header Pin\u003c/th\u003e\u003c/tr\u003e\n\u003ctr\u003e\u003ctd\u003ePin 1 GND\u003c/td\u003e\u003ctd\u003ePin 6 0V (Ground)\u003c/td\u003e\u003c/tr\u003e \n\u003ctr\u003e\u003ctd\u003ePin 2 Data in\u003c/td\u003e\u003ctd\u003ePin 11 GPIO 0\u003c/td\u003e\u003c/tr\u003e \n\u003ctr\u003e\u003ctd\u003ePin 3 Vcc\u003c/td\u003e\u003ctd\u003ePin 2 5.0 VDC Power\u003c/td\u003e\u003c/tr\u003e \n\u003ctr\u003e\u003ctd\u003ePin 4 ANT\u003c/td\u003e\u003ctd\u003e173mm antenna wire (not on the Pi!)\u003c/td\u003e\u003c/tr\u003e \n\u003c/table\u003e\n\nand the DS18B20 needs to be connected like this:\n\n\u003ctable\u003e\n\u003ctr\u003e\u003cth\u003eTx Pin\u003c/th\u003e\u003cth\u003eRaspberry Pi Header Pin\u003c/th\u003e\u003c/tr\u003e\n\u003ctr\u003e\u003ctd\u003eBlack\u003c/td\u003e\u003ctd\u003ePin 6 0V (Ground)\u003c/td\u003e\u003c/tr\u003e \n\u003ctr\u003e\u003ctd\u003eWhite\u003c/td\u003e\u003ctd\u003ePin 7 GPIO 7\u003c/td\u003e\u003c/tr\u003e \n\u003ctr\u003e\u003ctd\u003eRed\u003c/td\u003e\u003ctd\u003ePin 1 3.3 VDC Power\u003c/td\u003e\u003c/tr\u003e \n\u003c/table\u003e\n\nHere's a reminder of the Raspberry Pi GPIO pinout:\n\n![](https://web.archive.org/web/20141024172626if_/http://pi4j.com/images/p1header-large.png)\n\nBefore you start\n----------------\n\nTake a look in /sys/bus/w1/devices/ to find the device ID for the DS18B20 (e.g. 28-000003ea0350).\n\nEdit 3biased.py and t1.sh with nano/vi or whatever to have the correct ID.\n\nRunning\n-------\n\nIt's a good idea to run this in a screen session:\n\n    screen\n    \nOptional - have a separate process monitoring temperature, so that there's a log afterwards:\n\n    ./templog.sh \u0026\n    tail -f temp_log\n\nPress `ctrl-a c` to create another screen session (`ctrl-a 0` and `ctrl-a 1` can then be used to switch between sessions).\n    \nThe main script will default to 55C:\n\n    ./3biased.py\n    \nBut it can be overridden to cook at different temperatures:\n\n    ./3biased.py -t 60\n    \nIt's also possible to change the control loop variables with command line switches to tune the script to a given cooker.\n\n\nDisclaimer\n----------\n\nThis 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.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcpswan%2Frpi_sousvide","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcpswan%2Frpi_sousvide","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcpswan%2Frpi_sousvide/lists"}