Sous Vide With Ardunio




I made a modified version of barneybugs sous vide controller. (find it here:

This version uses the "standard" 16x2 lcd display and two pushbuttons for adjusting the temperature goal.

Fetch the code here:

Fetch the required libraries here:

I made a drawing for laser cutting a case that would work with the controller - should fit nicely.

- Illustrator:

- PDF:

The schematic for the wiring

- Fritzing:

- PNG:

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

Step 1: List of Materials

Step 2: Hook Up All the Wires

Follow the diagram attached here.

It's important to note that when working with AC (240V@my location) you should be cautious. Be sure to insulate all you connections and even better add a fuse somewhere in the wiring.

Step 3: Try It Out

Now just add a cooking plate with some wiring - with the relay in the middle of one of the wires.

I have a cooking plate with a max of 2000watts, but as you can see from the example it shoots way past the 60degrees all the way to 70, before settling at 60. So use a more moderate amount of watts - you'll wait a bit longer for it to heat up - but it should settle faster.

I have attached a video that was shot while doing the graph (iGrill thermometer). The number that is interesting is the one in the bottom right. In the beginning it will be 100, when it shoots past it will be 0. Then the number will dance around corresponding how much (often) the relay is turned on. It will be different each cook because the difference in mass that the cooker is heating (water and food).

1 Person Made This Project!


  • Made with Math Contest

    Made with Math Contest
  • Multi-Discipline Contest

    Multi-Discipline Contest
  • Robotics Contest

    Robotics Contest

9 Discussions


2 years ago

sorry for asking again..could you help with this error?

C:\Program Files (x86)\Arduino\libraries\Button/Button.h:23:22: fatal error: WProgram.h: No such file or directory

#include "WProgram.h"


compilation terminated.


2 years ago

hai,can i ask for your help?

as i try run your coding, i got some error

C:\Users\User\Documents\sem6\FYP\reference\codebender\codebender.ino:16:20: fatal error: Switch.h: No such file or directory

#include "Switch.h"


compilation terminated.

i try to find the switch library for arduino but i cant find it..thank you


2 years ago

Hi guys, I'm going to make this thermostat, but I'm not able to upload the code. Can anybody tell me, please, what I have to change to be working? I have been added two next libraries - Switch and Streaming, what is not described in instructable, so after few losted hours I got this 5 errors:

sorens_sous_vide.ino: In function 'void setup()':

sorens_sous_vide.ino:116:1: error: a function-definition is not allowed here before '{' token

sorens_sous_vide.ino:137:1: error: a function-definition is not allowed here before '{' token

sorens_sous_vide.ino:145:1: error: a function-definition is not allowed here before '{' token

sorens_sous_vide.ino:154:1: error: expected '}' at end of input

I tried the code from original project mentioned above and it was done without any problems. But I prefer to use this construction. Can anybody help me please?


4 years ago on Introduction

Hey, cool instructable! Have you tried adding some kind of stirring device in the pan ? I'm sure you did you could reach optimum temperature way more efficiently and precisely, because it wouldn't depend on convection :)

1 reply

Reply 4 years ago on Introduction

Nope - but some sort of underwater fan could be a way to do it... By using a hotplate the temperature is very even all the way around the pot. If I were using a immersion heater it would be a different story.


Reply 4 years ago on Introduction

Thank you. I can't take all the credit thou. The original project by Barneybug is what got me on the line - I just modified it for my needs.


4 years ago

Good job on the concept, I love seeing the arduino being used for things like this. It's definitely capable of doing cool stuff. I give kudos to what look to be an early design, but i'd *highly* recommend you insulate the AC lines before you kill yourself, or someone else. Sorry, I can understand the mess of jumper wires when it's DC, but when you add bare wire AC it starts to looks more like a suicide machine.

1 reply

Reply 4 years ago on Introduction

Thanks for the comment! Good point on the AC precaution. The picture of my test is more a proof of concept - I have a case for the thing ready to be cut, so no zapping. I'll point it out in the guide thou...