The Great Bottle Opener Giveaway

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

Reply
 
LinkBack Thread Tools
Old 06-12-2013, 04:47 AM   #1
franckgaga
Feedback Score: 0 reviews
Recipes 
 
Join Date: Jun 2013
Location: Quebec, QC, Canada
Posts: 41
Liked 5 Times on 5 Posts
Likes Given: 8

Default Recirculation infusion mash system library for Arduino

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.

If you like my works :

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
__________________
franckgaga is offline
 
Reply With Quote Quick reply to this message
Old 06-12-2013, 05:03 AM   #2
dryboroughbrewing
HBT_LIFETIMESUPPORTER.png
Feedback Score: 0 reviews
Recipes 
 
Join Date: Aug 2011
Location: Philadelphia, PA
Posts: 602
Liked 99 Times on 80 Posts
Likes Given: 3

Default

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

__________________
dryboroughbrewing is online now
franckgaga Likes This 
Reply With Quote Quick reply to this message
Old 06-12-2013, 05:12 AM   #3
vweston
Feedback Score: 0 reviews
Recipes 
 
Join Date: Dec 2012
Posts: 1
Default

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"?
__________________
vweston is offline
 
Reply With Quote Quick reply to this message
Old 06-12-2013, 05:26 AM   #4
dryboroughbrewing
HBT_LIFETIMESUPPORTER.png
Feedback Score: 0 reviews
Recipes 
 
Join Date: Aug 2011
Location: Philadelphia, PA
Posts: 602
Liked 99 Times on 80 Posts
Likes Given: 3

Default

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.
__________________
dryboroughbrewing is online now
 
Reply With Quote Quick reply to this message
Old 06-12-2013, 05:34 AM   #5
Blauhung
HBT_SUPPORTER.png
Feedback Score: 0 reviews
 
Blauhung's Avatar
Recipes 
 
Join Date: Jan 2012
Location: Aloha, OR
Posts: 54
Liked 1 Times on 1 Posts
Likes Given: 1

Default

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

Blauhung is offline
 
Reply With Quote Quick reply to this message
Old 06-13-2013, 02:49 AM   #6
franckgaga
Feedback Score: 0 reviews
Recipes 
 
Join Date: Jun 2013
Location: Quebec, QC, Canada
Posts: 41
Liked 5 Times on 5 Posts
Likes Given: 8

Default

Thanks everyone !

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

__________________
franckgaga is offline
 
Reply With Quote Quick reply to this message
Old 06-25-2013, 07:02 PM   #7
franckgaga
Feedback Score: 0 reviews
Recipes 
 
Join Date: Jun 2013
Location: Quebec, QC, Canada
Posts: 41
Liked 5 Times on 5 Posts
Likes Given: 8

Default

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

Add documentation at this link

__________________
franckgaga is offline
 
Reply With Quote Quick reply to this message
Old 06-25-2013, 08:07 PM   #8
atoughram
Feedback Score: 0 reviews
Recipes 
 
Join Date: May 2013
Location: Puyallup, Washington
Posts: 905
Liked 113 Times on 99 Posts
Likes Given: 165

Default

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
Planning - FS90 Amber Ale
Fermenters - Air
On tap
Ichter Hill IPA OG 1.058
Carbon River Hefe OG 1.049
atoughram is online now
 
Reply With Quote Quick reply to this message
Old 06-25-2013, 08:19 PM   #9
franckgaga
Feedback Score: 0 reviews
Recipes 
 
Join Date: Jun 2013
Location: Quebec, QC, Canada
Posts: 41
Liked 5 Times on 5 Posts
Likes Given: 8

Default

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
__________________
franckgaga is offline
atoughram Likes This 
Reply With Quote Quick reply to this message
Old 06-25-2013, 08:45 PM   #10
atoughram
Feedback Score: 0 reviews
Recipes 
 
Join Date: May 2013
Location: Puyallup, Washington
Posts: 905
Liked 113 Times on 99 Posts
Likes Given: 165

Default

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
Planning - FS90 Amber Ale
Fermenters - Air
On tap
Ichter Hill IPA OG 1.058
Carbon River Hefe OG 1.049
atoughram is online now
franckgaga Likes This 
Reply With Quote Quick reply to this message
Reply


Quick Reply
Message:
Options
Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Easy Steam Infusion Mash System FlyGuy DIY Projects 225 06-07-2014 03:24 PM
Arduino Based Beer Monitor System brewn00b4 DIY Projects 40 12-06-2013 09:15 PM
For Sale - Steam Infusion Mash System Douglefish For Sale 4 10-17-2011 03:17 PM
For Sale - 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 12:20 AM