Return to TheElectricBrewery.com
  [ Shop ]   [ Building ]   [ Using ]   [ Recipes ]   [ Testimonials ]   [ Gallery ]   [ FAQ ]   [ About Us ]   [ Contact Us ]   [ Newsletter ]

Log inLog in   RegisterRegister   User Control PanelUser Control Panel   Private MessagesPrivate Messages   MembershipClub Memberships   SearchSearch   MemberlistMemberlist   Photo AlbumsPhoto Albums   Forum FAQForum FAQ

Project keezerPints, Or How Much Beer Do I Have Left?

 
Post new topic   Reply to topic   Printer-friendly view    TheElectricBrewery.com Forum Index -> Packaging & Serving
View previous topic :: View next topic  
Author Message
Kevin59




Joined: 03 Aug 2012
Posts: 1047
Location: Fort Collins, CO

Drinking: Imperial Brown Ale

Working on: Oatmeal Stout, IPA


PostLink    Posted: Thu Oct 02, 2014 10:48 pm    Post subject: Project keezerPints, Or How Much Beer Do I Have Left? Reply with quote


        Register to remove this ad. It's free!
This is going to fall under the category "No I don't need it, but I thought it'd be cool/fun/etc to do!"...

I know the topic has been brought up here before (or I think it has), but I decided I was going to try and implement some sort of keezer tap monitoring system for my 12-tap keezer. Sure I can open the lid and pick up a given keg for a rough "feel" check, but being a gadget-loving EE I want something cooler.

So I have embarked on an Arduino-based solution that will display the number of pints remaining for each keg in the keezer. The Arduino side of things is pretty much done as far as coding and the display and menu/button system. I've attached a few pics below.

The tricky/questionable part remains, that is implement the sensor system. At this time I'm planning to try a 50kg weight sensor similar to the one shown below. It will form half a Wheatstone bridge with two additional 1K resistors to complete the bridge, and a TI INA125P instrumentation amplifier to send a voltage to an ADC input on the Arduino. The idea would be to have one of these sensors & amps per keg such that the Arduino can poll the values based on timed code it's running. I have never messed with one of these weight sensors before, but I know there are a lot of concerns expressed out there regarding creep over time, constantly loaded sensors, etc. But at 4 for $10 on Amazon why not play around with it right?

Anyway the Arduino EEPROM will store 3 values per keg in the keezer: gravity points (SG), ADC value of empty keg and ADC value of keg with 5 gallons of water. All of my kegs are the same so I'm not worrying about minimal variances between kegs. Each of these parameters can be adjusted through a menu system that's displayed on the Arduino. There's also a menu selection where I can see the present ADC value for purposes of setting the empty/full ADC values.

From there pints-per-keg (PPK) can be calculated as:

PPK = ((ADC value from sensor - ADC value empty) / ((ADC value full * (1+SG)/1000) - ADC value empty))) * 40

The ADC value of a keg of 5 gal of water is adjusted upward before calculation based on the given beer's SG. The EEPROM gravity points defaults to 12 to start.

Each keg will sit on a 9-inch square board that's elevated and hinged on one side above a base board that runs the full width of the keezer, with the sensor set under the side opposite the hinge, or perhaps moved slightly inward to get a lever effect to drive up the sensor value change as the keg will at most weigh half of what the sensor can handle. The 9-inch square board will have a recessed circle routed in place to ensure the keg always sits in the same spot.

Here's hoping it works, but even if it doesn't it's been a blast to finally play with the Arduino. I suspect it's going to find its way into some other area of my homebrewing down the road!

Cheers!

Kevin

P.S. The Arduino code is for the most part complete except for the fact I'm currently using an Arduino Uno with only 4 available analog inputs (due to the I2C communication with the display). Any of you that like to tinker with an Arduino are welcome to have it if you'd like to take a look and play with it on your own. The LCD display values can also be viewed via a serial monitor window.

P.P.S. This is what happens when a homebrewer that wanted to open a microbrewery has given up his plans to do so! Sad



10245-01.jpg
 Description:
 Filesize:  92.69 KB
 Viewed:  11129 Time(s)

10245-01.jpg



IMG_3070.JPG
 Description:
 Filesize:  115.16 KB
 Viewed:  11129 Time(s)

IMG_3070.JPG



IMG_3071.JPG
 Description:
 Filesize:  115.01 KB
 Viewed:  11129 Time(s)

IMG_3071.JPG



IMG_3072.JPG
 Description:
 Filesize:  126.31 KB
 Viewed:  11129 Time(s)

IMG_3072.JPG


Back to top
View user's photo album (6 photos)
foomench




Joined: 21 Feb 2012
Posts: 704
Location: Longmont, CO

Drinking: Pinot barrel aged quad

Working on: Flanders oude bruin in barrel, Flanders red fermenting to refill the barrel


PostLink    Posted: Thu Oct 02, 2014 11:38 pm    Post subject: Re: Project keezerPints, Or How Much Beer Do I Have Left? Reply with quote

Cool.
Kevin59 wrote:
P.P.S. This is what happens when a homebrewer that wanted to open a microbrewery has given up his plans to do so! Sad
Yeah, I'm in that club too. Even went to the CBC back in 2008. How many breweries have opened in your county this quarter?
_________________
Brewery equipment photos (et al) here: https://picasaweb.google.com/114861423235799103704
Back to top
kal
Forum Administrator



Joined: 12 Dec 2010
Posts: 11122
Location: Ottawa, Canada

Drinking: Pub Ale, Electric Creamsicle, Mild, Pliny the Younger, Belgian Dark Strong, Weizen, Russian Imperial Stout, Black Butte Porter


PostLink    Posted: Fri Oct 03, 2014 12:32 am    Post subject: Reply with quote

I like the weight idea a lot more than flow sensors as you know that over time they're going to get gummed up and impossible to clean. (Most are not meant for food use to begin with).

Let us know how it works out!

I still use the old method of "carefully lifting a keg and inch or so to see how heavy it is" to know how much beer is left. Or more importantly, I always have ~6 kegs carb'ed and ready to go so when on pops in the keezer there's always a replacement available.

Kal

_________________
Our new shop with over 150 new products: shop.TheElectricBrewery.com
We ship worldwide and support our products and customers for life.
Purchasing through our affiliate links helps support our site at no extra cost to you. We thank you!
My basement/bar/brewery build 2.0
Back to top
View user's photo album (21 photos)
Kevin59




Joined: 03 Aug 2012
Posts: 1047
Location: Fort Collins, CO

Drinking: Imperial Brown Ale

Working on: Oatmeal Stout, IPA


PostLink    Posted: Fri Oct 03, 2014 2:41 am    Post subject: Re: Project keezerPints, Or How Much Beer Do I Have Left? Reply with quote

foomench wrote:
How many breweries have opened in your county this quarter?


Well there have been at least 4 new breweries in Fort Collins this year, with 2 in one week about a month ago...
Back to top
View user's photo album (6 photos)
18DPA




Joined: 14 Nov 2011
Posts: 135
Location: Kuwait


PostLink    Posted: Fri Nov 07, 2014 2:37 pm    Post subject: Re: Project keezerPints, Or How Much Beer Do I Have Left? Reply with quote

Kevin59 wrote:
foomench wrote:
How many breweries have opened in your county this quarter?


Well there have been at least 4 new breweries in Fort Collins this year, with 2 in one week about a month ago...


Austin Tx is the same. I volunteer at a brewery a couple times a month, doing everything from brewing, milling, cleaning tanks and picking the owners brains about the business side. I have realized that until we move to a place that isn't saturated it aint going to to happen.

VERY COOL BUILD!! Let us know how it works. Pictures of the pressure plate build in the bottom of the keeper please!!!

_________________
De Oppresso Liber
Back to top
Kevin59




Joined: 03 Aug 2012
Posts: 1047
Location: Fort Collins, CO

Drinking: Imperial Brown Ale

Working on: Oatmeal Stout, IPA


PostLink    Posted: Fri Nov 07, 2014 4:22 pm    Post subject: Re: Project keezerPints, Or How Much Beer Do I Have Left? Reply with quote

18DPA wrote:
VERY COOL BUILD!! Let us know how it works. Pictures of the pressure plate build in the bottom of the keeper please!!!


I'll definitely get some pics up once I have the "scale" up and working. Smile
Back to top
View user's photo album (6 photos)
Display posts from previous:   
Post new topic   Reply to topic   Printer-friendly view    TheElectricBrewery.com Forum Index -> Packaging & Serving All times are GMT
Page 1 of 1
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum



Forum powered by phpBB © phpBB Group