Guy on Simulink

Simulink & Model-Based Design

Sous-vide Cooking with Simulink Part 2

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.
  • print
  • send email


To leave a comment, please click here to sign in to your MathWorks Account or create a new one.