Arduino Based Beer Monitor System

Homebrew Talk - Beer, Wine, Mead, & Cider Brewing Discussion Forum

Help Support Homebrew Talk - Beer, Wine, Mead, & Cider Brewing Discussion Forum:

This site may earn a commission from merchant affiliate links, including eBay, Amazon, and others.

brewn00b4

Well-Known Member
Joined
Jun 10, 2012
Messages
52
Reaction score
8
Location
indianapolis
Reading through the DIY forum has gotten me thinking about a project I'd like to undertake, an arduino based solution for monitoring things like temperature, power usage, and keg volumes. Here's what I have so far:



If anyone has any ideas, comments, questions etc let me know :mug: I'll be sharing the code and schematics when I am finished.
 
Last edited by a moderator:
brewn00b4 said:
Reading through the DIY forum has gotten me thinking about a project I'd like to undertake, an arduino based solution for monitoring things like temperature, power usage, and keg volumes. Here's what I have so far:

Video Link: http://www.youtube.com/watch?v=K9_grn9jom4

If anyone has any ideas, comments, questions etc let me know :mug: I'll be sharing the code and schematics when I am finished.

Very cool! Thanks for sharing. Just got my first Arduino last week, and didn't even think about using it for brewing.

How will you clean the flow meter?

Cheers and happy coding.
 
Since the sensor is separate from the fluild, I figured I would sanitize the sensors by flowing star san through the lines.

Parts from Grainger came in today.

I have had quite a hard time finding an 1/2" female screw to 3/16" barb adapter. I compromised with a 1/2" female screw to 1/4" barb, then a 1/4" barb to a 3/16" barb, as pictured below:
wZEjf.jpg


1/2" -> 1/4" barb: http://www.grainger.com/Grainger/THOGUS-Female-Adapter-3XVT2
1/4" barb -> 3/16" barb: http://www.grainger.com/Grainger/THOGUS-Reducing-Coupling-1VRW4

(they come in packs of 10).

I'll be going out to get some tubing tonight and to test out the flow meter performance.
 
This looks pretty sweet. I've been looking for something that will monitor several different fermentation zones, as well as keg volume all in one.

I've seen the kegbot (kegbot.org) which is a super fancy one that is for measuring how much beer is in the keg, and the temps of the kegs, and let's you see who is drinking what.

I've also seen the FermTroller to control fermentation temps of different zones.

But this looks to be a pretty sweet way to combine it all into one nice and simple interface. I'm definitely interested to see how it turns out!
 
Subscribed. Bought Arduino, received last week. Did some beginning programming. Ready
To move on.
 
could you use two seperate flow meters, one going into the keg from the carboy when its siphoned to count how much is going in, then use a second flow meter on the outlet side/dispensing side to deduct the amount poured from the total to show the current amount/level?

I just bought a few arduino-clones for learning on some small projects before i jump into something big. but this looks like something i really want to do. I've seen This on hackaday using FSR's that originally got me into thinking about learning about using arduinos.

Definitely interested!
 
This is too damn cool!! Will be keeping my eye on this project! I have been thinking about doing something like this for some time now. I am currently using a sensatronics e4 temp sensor to give me my temps and a couple of cheap 4$ webcams to keep an eye on my fermentation chamber. I was thinking about looking into either a raspberry pi or gooseberry board and going from there via some usb sensors and such but the arduino may just be the way to go.

Neil
 
This is where I ordered my fittings from - here
and your right, they are hard to find. I just finished a similar arduino project with my kegerator.
 
could you use two seperate flow meters, one going into the keg from the carboy when its siphoned to count how much is going in, then use a second flow meter on the outlet side/dispensing side to deduct the amount poured from the total to show the current amount/level?

That's what I'm trying to do, you can see me "filling" up the keg on the first video.

I got the rest of the adapters to test out the flow meter today, had to take the breadboard because the breakout shield isn't here yet.

UrsRy.jpg


I got some mixed readings when trying to siphon 1 and 2 gallons of water. I think this is due to the air moving through the line while the siphoned is being started. I had to go from 3/8" hose through a barb adapter to 1/2", into the sensor, then back to a 3/8" through an adapter. I'm not sure if that could be at play here also. On the 2 gallon trials a few came out at 1.82, 1.75, and 1.93.. Not sure how I feel about that yet.
 
I got some mixed readings when trying to siphon 1 and 2 gallons of water. I think this is due to the air moving through the line while the siphoned is being started. I had to go from 3/8" hose through a barb adapter to 1/2", into the sensor, then back to a 3/8" through an adapter. I'm not sure if that could be at play here also. On the 2 gallon trials a few came out at 1.82, 1.75, and 1.93.. Not sure how I feel about that yet.

From the "Description" section of the Adafruit site:
Note this isn't a precision sensor, and the pulse rate does vary a bit depending on the flow rate, fluid pressure and sensor orientation. It will need careful calibration if better than 10% precision is required. However, its great for basic measurement tasks!

Looks like your test readings are about what you'd expect. My only other concern would be foaming problems from the pinwheel when dispensing from the keg.

I was originally looking at something like that for my RIMS on Barney but was concerned about possible clogs, plus I couldn't determine if it was food-grade. Most in-line food grade non-pinwheel flowmeters are EXPENSIVE :(
 
I'm definitely interested in your findings. I'm a Computer Science major and my roommate is Computer Engineer so once my kegerator is built we are trying this out for sure.
 
I was originally looking at something like that for my RIMS on Barney but was concerned about possible clogs, plus I couldn't determine if it was food-grade. Most in-line food grade non-pinwheel flowmeters are EXPENSIVE :(

Yep I read the accuracy concerns as well. After reading through the materials list, I found all the materials to be food grade except for the magnet. Based on the drawing I wasn't certain if the magnet comes in contact with the fluid or not, but I'm guessing it does.

The kegbot project uses this sensor: http://www.swissflow.com/sf800.html

It still uses an impeller, but it uses infrared light instead of a magnet to detect pulses. The accuracy on it is +/- 1.0%, so much better than 10%. They ship from outside of America, and are quite expensive (compared to Adafruit). We could get together as a group to save some cash if there was enough interest.

All the computer science guys in here (including myself): Adafruit states this device can be made more accurate with tuning. I am using the example code provided by their page to do my measuring. Can someone take a look to see if any improvements could be made there? I found from the wiki on another page (http://www.seeedstudio.com/wiki/index.php?title=G1/2_Water_Flow_sensor) they could get the accuracy down to 3%.

I'll be giving the sensor a whirl (pun intended) this weekend with some beer side by side with a regular line to look for foaming issues. While I do agree that an impeller would cause disturbance, I also have a feeling that the impeller will be moving at the same speed as the liquid, thus causes less disturbance than we might be thinking.
 
Cool project.. just got my arduino and have been thinking of what beer related tasks I'd like it to do.
 
Subscribed! I'm Comp Sci and just ordered an Arduino kit myself. Awesome thread!

Have you considered maybe using weight to calculate how much was moved/pumped? I'm not sure what Arduino friendly options are available, but that might be something to look into. I'd imagine it could be incredibly accurate, and you wouldn't have to worry about "food safe" and cleaning and all that.

Would you need to adjust for the various densities of the beer? Gotta go review my physics 101, hehe

EDIT: Just checked the hackaday link, haha.
 
Have you considered maybe using weight to calculate how much was moved/pumped?

Not sure if you caught it, but in the video he mentions that using weight is another option but that sensors that can handle constant loading are hard to find and expensive.
 
Making any headway with this? I have been checking out the kegbot but this would be a nice interim solution until I can get that all setup....
 
Looking good! We're getting quite the group of people working on smart kegerators!
 
Awesome thread. Just hooked up my board with three force resistive sensors to make a crude scale under a board cut to the size if Tue keg bottom. Hoping to measure the weight of the keg as it empties to give me a rough idea as to how empty it is. I need to make some adjustments to the kegerator itself to give me a little more room and a flat bottom. When its actually working properly I'll let you guys know what I find out.


ForumRunner_20130331_155558.jpg
 
Just hooked up my board with three force resistive sensors to make a crude scale under a board cut to the size if Tue keg bottom.

I'm really interested to hear how this works. I've played with the idea of using those sensors to monitor my kegs, but they drift when kept under constant load. I'm curious to hear how much that effects your readings.
 
Hey guys, it's been quiet in this thread lately; how's your projects coming along? Any headway on the force sensors or flow sensors?

I see on the Seeduino link earlier in this thread (here it is again..) under the Q&A tab, page 6 of the questions... someone specifically asks if it is food grade, and the answer is no.

With that being said, "Food Grade" tends to be very conservatively used, and let's be perfectly honest, as home brewers we often weigh our options (example: we sometimes use brass fittings instead of nylon or stainless, although we all know beer can corrode brass. So what. we're not running production breweries and 10,000 Gal of FDA-approved beer thru that fitting. (trolls, please leave me alone on this)).

Can anyone confirm whether this unit has liquid contact with the ferrite, and if so, if the ferrite is held in with an ahesive, or if it is compressed in to the pinwheel? I just want to consider what all materials come in to contact with the beer.

Thanks guys! I am a long-time Arduino developer, so I will be sharing my project details soon!
 
Can you share your code? I am working on a similar project, and your code, especially the LED control code would be INCREDIBLY USEFUL! :mug:
 
I tried to do the exact same thing with the exact same Flexiforce Sensors and got on a first name basis with their tech department to no avail. Those sensors drift over time. And that is a HUGE problem when adding that they will be in a cold environment the entire month or so the keg will last. My conclusion was that they are the wrong sensor for the job. Not only that, without special load cells that can be in the cold AND have weight on them continuously (scales generally do their job and then the weight is removed), trying to do what you are is probably not going to work. Would be cool though! My solution was to weigh each glass empty and then again after it was filled with beer, subtract the two and now you have the weight that was drank. Keep track of that and you get a VERY accurate result. I know it is a bit of a pain, but my project was 4.18 oz of beer from being exactly right when the beer ran out. Check it out at http://www.instructables.com/id/Accurate-Beer-Scale/.

Tom
 
Why bother with a scale, there are many projects out like Kegbot who just simply use a flow meter in line with the tap.
You know how much beer is in the keg, you know how much has been pulled out...therefore you know how much is left....

Im all for new DIY methods, but sometimes its not worth it trying to shove a square peg through a round hole when you can just go buy a round peg for $10 :)

http://forum.arduino.cc/index.php/topic,8548.0.html
 
Why bother with a scale, there are many projects out like Kegbot who just simply use a flow meter in line with the tap.
You know how much beer is in the keg, you know how much has been pulled out...therefore you know how much is left....

Im all for new DIY methods, but sometimes its not worth it trying to shove a square peg through a round hole when you can just go buy a round peg for $10 :)

http://forum.arduino.cc/index.php/topic,8548.0.html

Is this food safe? I couldn't find that listed anywhere?
 

Latest posts

Back
Top