Guy and Seth on Simulink

Sous-vide Cooking with Simulink Part 2 4

Posted by Guy Rouleau,

Here is the continuation of my sous-vide cooking story I began to tell in the last post.

Hardware Implementation

As described last week, I finally received everything I ordered:

I dusted off my soldering iron and soldered a cable to the LM35. Then I dipped the extremity into silicone to make it waterproof. With everything connected to the Arduino, my circuit looks like this:

Schematic of my sous-vide setup

Yeah... I know, a Tupperware is not the best container for a micro-controller. But I thought it would help avoiding to drop water on the Arduino.

Software Implementation

With everything connected to the Arduino, all that remained was to program a controller. I installed the Simulink Support Package for Arduino.

Update: This model was created using MATLAB R2011b. Since R2012a Simulink provides built-in support for prototyping, testing, and running models on low-cost target hardware, including Arduino®, LEGO® MINDSTORMS® NXT, and BeagleBoard.

Within just a few minutes, I created the following model and uploaded it on the Arduino:

Simulink model of the Arduino controller

While this is running on the target, I can monitor the process on my PC using another model:

Simulink model of the Arduino controller

Cooking Time

I mixed a nice rub and vacuum-sealed a bunch of pork ribs.

Vacuum sealed pork ribs

I left them to cook for 24 hours at 140 degrees Fahrenheit.

My ribs cooking

I was so excited when it was time to take them out that I forgot to take pictures. I put them in the oven at broil for 2 minutes, just to give a little crunch on the top.

Believe me... that was totally worth the effort. Next time I'll try the 72 hours brisket!

Now it's your turn

Do you use Simulink on the weekend? What is your most unexpected usage of Simulink? Leave a comment here.

4 CommentsOldest to Newest

What a Guy! Although I am a vegetarian and thus don’t know much about pork ribs let alone cooking it, I think Simulink rocks and so does this Guy! :-)

To be honest, the last thing I need to do on a weekend is spend more time sitting in front of a computer. “Sitting is the new Smoking,” so they say. However, I find reports on ways to use Simulink for practical home purposes very interesting, and I could imagine making the effort if the right idea (I don’t know what that is) were presented.

Just as I started to get interested in hobby electronics, and particularly the Arduino, it was a pleasant surprise to see this post. Could you please post more projects that use Simulink and Arduino?

Hi Guy,

I am an ex-Mathworker, who now runs a cooking school in Natick :) Congrats on your pork ribs! Wait till you try the eggs. I was actually thinking that it would be awesome to model how different muscles behave at different temperatures. The way chefs figure out how long and how hot to cook something with sous-vide is just trial and error. Of course, I have no idea if that’s something that’s possible to model.

Best of luck to you with all your cooking experiments.

Cheers,
-Helen

Add A Comment

What is 6 + 8?

Preview: hide

These postings are the author's and don't necessarily represent the opinions of MathWorks.