Recirculation infusion mash system library for Arduino - Home Brew Forums
Register Now For Free!

Home Brew Forums > Home Brewing Beer > DIY Projects > Brew Stands > Recirculation infusion mash system library for Arduino

Reply
 
Thread Tools
Old 06-12-2013, 04:47 AM   #1
franckgaga
Recipes 
 
Jun 2013
Quebec, QC, Canada
Posts: 53
Liked 8 Times on 8 Posts



It's my first thread on this forum so, hi everybody !

I'm now developing an Arduino library for RIMS control for a replacement of commercial PIDs. You can see my Google Code page here :

rims-arduino-library

Maybe you're asking yourself why reinventing the wheel, as in : commercial PID is cheap and simple. Here's some of my reasons :
  • Arduino + a LCD Keypad was cheaper for me
  • It's a lot more customizable (heater led indicator, flow sensor, countdown timer, etc.)
  • For the challenge

What is planned :
  • PID auto-tunes functions so it will be easier for non-expert.

Report bug and suggestions here.

Quote:
Recirculation infusion mash system library for Arduino

This library implement RIMS controls for home brewers. For definition of a RIMS, see What is a RIMS?

For me, an Arduino micro controller + a LCD Keypad shield was cheaper and a lot more customizable than a commercial PID controller. So, with this library, a commercial PID controller is unnecessary.

BASIC FEATURES
  • User interface made with DFRobot LCD Keypad Shield for Arduino or similar (can be customized)
  • PID temperature regulation
  • SSR time proportioning control
  • thermistor reading with a voltage divider and Steinhart Hart coefficient
  • countdown timer
  • basic data logging through Serial communication (usb port)

ADDITIONAL FEATURES
  • PID derivative filter
  • PID set point filter for no temperature overshoot
  • Process identification tools
  • Possibility for 2 regulators useful for brewing simple\double batch size
  • heater led indicator
  • hall effect flow sensor
  • turn off heater if flow is critically low (< 0.5 L/min)
  • alarm with speaker when timer is elapsed or when flow\thermistor error


More info in docs

SCREENSHOTS



Set point setup



Timer setup



Temp screen



Timer and flow screen



Identification tools screen


DOWLOAD LINKS

Last version download link

 
Reply With Quote
Old 06-12-2013, 05:03 AM   #2
dryboroughbrewing
HBT_LIFETIMESUPPORTER.png
Recipes 
 
Aug 2011
Philadelphia, PA
Posts: 848
Liked 175 Times on 130 Posts


sounds awesome, I use an Arduino to control my oddball RIMs system (heat tape RIMs) and I love it.

franckgaga Likes This 
Reply With Quote
Old 06-12-2013, 05:12 AM   #3
vweston
Recipes 
 
Dec 2012
Posts: 3

Quote:
Originally Posted by dryboroughbrewing
sounds awesome, I use an Arduino to control my oddball RIMs system (heat tape RIMs) and I love it.
Ok, I'm curious. What is a "heat tape RIMs"?

 
Reply With Quote
Old 06-12-2013, 05:26 AM   #4
dryboroughbrewing
HBT_LIFETIMESUPPORTER.png
Recipes 
 
Aug 2011
Philadelphia, PA
Posts: 848
Liked 175 Times on 130 Posts


Quote:
Originally Posted by vweston View Post
Ok, I'm curious. What is a "heat tape RIMs"?
My RIMs tube consists of a few feet of stainless steel tubing (mcmaster-carr) wrapped in heat tape with compression fittings on either end. The end result is that I heat the tube from the outside rather than heating a piece of pipe from the inside like in a traditional RIMs tube.

 
Reply With Quote
Old 06-12-2013, 05:34 AM   #5
Blauhung
 
Blauhung's Avatar
Recipes 
 
Jan 2012
Aloha, OR
Posts: 54
Liked 1 Times on 1 Posts


Quote:
Originally Posted by vweston View Post
Ok, I'm curious. What is a "heat tape RIMs"?
Heat tape is basically a flexible resistive heating element that you can tape to an object to heat it... I'd assume he's got it wrapped around his RIMS tube rather than having a heating element inclosed. This probably works well if the MT is well insulated.

As for your library, I like it, looks like you have effectively rolled up all the PID stuff and a nifty UI so that the user can save a bunch of lines of code in the main sketch. I'll be sure to test this out when I finish out my control panel.
__________________
That's a duck, not a dick" - Samuel L. Jackson
Arduino E-Brewery build in progress

 
Reply With Quote
Old 06-13-2013, 02:49 AM   #6
franckgaga
Recipes 
 
Jun 2013
Quebec, QC, Canada
Posts: 53
Liked 8 Times on 8 Posts


Thanks everyone !

Added : possibility for an alarm with a buzzer when the countdown timer elapsed

 
Reply With Quote
Old 06-25-2013, 07:02 PM   #7
franckgaga
Recipes 
 
Jun 2013
Quebec, QC, Canada
Posts: 53
Liked 8 Times on 8 Posts


I've finished the main functions of the library and tested it most of it...it works flawlessly

Add documentation at this link

 
Reply With Quote
Old 06-25-2013, 08:07 PM   #8
atoughram
Recipes 
 
May 2013
Puyallup, Washington
Posts: 1,715
Liked 247 Times on 185 Posts


This may be an ignorant question, so I apologize in advance, but does this work in Arduino 1.0.5??

When trying the example "rimsBasic" with an UNO and a LCD Shield on the correct pins I get the errors

"In file included from rimsBasic.ino:3:
C:\Program Files (x86)\Arduino\libraries\RIMS/Rims.h:10: error: expected unqualified-id before '/' token
C:\Program Files (x86)\Arduino\libraries\RIMS/Rims.h:10: error: expected constructor, destructor, or type conversion before '/' token"

when trying to compile.

I downloaded the latest library, created a folder names RIMS in my library folder, and extracted your library files into it.
__________________
Clover Creek Brewery, Puyallup WA Home Brewers of Puget Sound
Planning - Something Sinister
Fermenters - Carbon River Hefeweizen OG 1.052
On tap - SAMM I am IPA 1.069

 
Reply With Quote
Old 06-25-2013, 08:19 PM   #9
franckgaga
Recipes 
 
Jun 2013
Quebec, QC, Canada
Posts: 53
Liked 8 Times on 8 Posts


Quote:
Originally Posted by atoughram View Post
This may be an ignorant question, so I apologize in advance, but does this work in Arduino 1.0.5??

When trying the example "rimsBasic" with an UNO and a LCD Shield on the correct pins I get the errors

"In file included from rimsBasic.ino:3:
C:\Program Files (x86)\Arduino\libraries\RIMS/Rims.h:10: error: expected unqualified-id before '/' token
C:\Program Files (x86)\Arduino\libraries\RIMS/Rims.h:10: error: expected constructor, destructor, or type conversion before '/' token"

when trying to compile.

I downloaded the latest library, created a folder names RIMS in my library folder, and extracted your library files into it.
Oops, sorry i've made a little typo and didn't re-test it.

It's corrected now

atoughram Likes This 
Reply With Quote
Old 06-25-2013, 08:45 PM   #10
atoughram
Recipes 
 
May 2013
Puyallup, Washington
Posts: 1,715
Liked 247 Times on 185 Posts


Much better - Thank You.

I noticed that the display is dim, I'm guessing because of the constant updating? I need to read through all of your documentation, thank you for your efforts!

EDIT - Readjusted the display contrast and now all is well
__________________
Clover Creek Brewery, Puyallup WA Home Brewers of Puget Sound
Planning - Something Sinister
Fermenters - Carbon River Hefeweizen OG 1.052
On tap - SAMM I am IPA 1.069

franckgaga Likes This 
Reply With Quote
Reply
Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Easy Steam Infusion Mash System FlyGuy Brew Stands 231 06-28-2015 07:54 PM
Arduino Based Beer Monitor System brewn00b4 Kegerators & Keezers 40 12-06-2013 10:15 PM
Steam Infusion Mash System Douglefish For Sale 4 10-17-2011 03:17 PM
Recirculating Infusion Mash System RIMs jm427 For Sale 0 05-12-2011 10:28 PM
MASHING. Water recirculation instead of the mash recirculation albertf Equipment/Sanitation 2 12-27-2007 01:20 AM


Forum Jump