Kegconnection Complete Starter Kit and More Giveaway!


Home Brew Forums > Home Brewing Beer > Automated Brewing Forum > Can it even be done? Measuring Specific Gravity using Arduino or Raspberry Pi

Reply
 
LinkBack Thread Tools
Old 02-09-2013, 04:58 AM   #31
craigmw
Feedback Score: 0 reviews
Recipes 
 
Join Date: Dec 2012
Location: Villa Park, CA
Posts: 138
Liked 15 Times on 12 Posts
Likes Given: 4

Default

Quote:
Originally Posted by MalFet View Post
Those are new prices, though. Second hand units are readily available on ebay for sub-$60. The various gas-specifications are just a matter of a coefficient. There's a simple multiplier to convert between units.

I guess I'd like to go with an approach that I could publish here, and using an off the shelf part that others could use would make this work better. I just need to figure out how to convert this particular part for EtOH instead of air.

Quote:
Originally Posted by MalFet View Post
Sure, it sounds like a great approach in theory. Have you found a sensor that operates in a range useful for homebrewers? I'd like to give it a whirl to see if it actually works experimentally, but the sensor you linked to won't work.
A couple of thoughts here... there are IR based ethanol sensors that use an IR spectroscopy approach with a spectral peak around 2900 nm indicating ethanol. I'm still trying to find a cheap solution for this. An alternative is to use ethanol sensors for E85 gas. These are flex fuel vehicle sensors that can detect the level of ethanol in gas between 0 and 100%, and send a frequency output based on this. I'm not sure this would be sensitive enough for beer though. So the issue is that the MQ3/MQ303 chip based EtOH sensors are too sensitive and the auto flex fuel sensors may not be sensitive enough for the typical 3-8% EtOH levels we usually see in finished fermentations. I think the best approach is the IR spectroscopy method, but I'm yet to find a reasonably economical solution for this.
__________________
craigmw is offline
 
Reply With Quote Quick reply to this message
Old 02-09-2013, 05:15 AM   #32
alien
Feedback Score: 1 reviews
Recipes 
 
Join Date: Apr 2012
Location: Philadelphia, PA
Posts: 1,233
Liked 64 Times on 58 Posts
Likes Given: 61

Default

You'll never be able to calibrate those electronic ethanol sensors accurately enough. They usually require 24 hours of preheating too.

alien is offline
 
Reply With Quote Quick reply to this message
Old 02-09-2013, 12:11 PM   #33
MalFet
/bɪər nərd/
HBT_LIFETIMESUPPORTER.png
Feedback Score: 1 reviews
 
MalFet's Avatar
Recipes 
 
Join Date: May 2010
Location: NYC / Kathmandu
Posts: 8,177
Liked 1216 Times on 804 Posts
Likes Given: 551

Default

Quote:
Originally Posted by craigmw View Post
I guess I'd like to go with an approach that I could publish here, and using an off the shelf part that others could use would make this work better. I just need to figure out how to convert this particular part for EtOH instead of air.
Great! Let us know if you get something working.
__________________

"Be excellent to each other." -Benjamin Franklin

MalFet is offline
 
Reply With Quote Quick reply to this message
Old 02-09-2013, 03:26 PM   #34
alien
Feedback Score: 1 reviews
Recipes 
 
Join Date: Apr 2012
Location: Philadelphia, PA
Posts: 1,233
Liked 64 Times on 58 Posts
Likes Given: 61

Default

Malfet, would this kind of flow meter be completely useless?

http://www.coleparmer.com/Product/Gr...gs/EW-32206-04

Need something with an electronic readout I reckon.

alien is offline
 
Reply With Quote Quick reply to this message
Old 03-07-2014, 04:18 PM   #35
newtonjason
Feedback Score: 0 reviews
Recipes 
 
Join Date: Aug 2011
Location: vancouver, BC
Posts: 18
Liked 2 Times on 2 Posts

Default

Hey Everyone, just saw this thread and although its a year old now, I figured I'd chime in.

I use a bubbler liquid level sensing system in my apartment setup using an arduino to read the voltages from an MPX5010dp differential pressure sensor (0-3ft of height is 0-5V). This works well as you have one port reading the pressure of the height of liquid, the second is open to atmosphere for reference.



I'll be using this technique to do automated gravity readings with two bubbler tubes spaced a few inches vertically apart from eachother. I'll feed the system initially with an aquarium air pump however may eventually use C02 (from either a bottle or a C02 bath created by the fermentation of the beer itself The bubbling of the system as previously mentioned is not really an issue as you can filter this out with software.

Reasons I will be using the bubbler are:
1. no concern over crud or krausen or any other debris accumulating on the tubes
2. Already use a single bubbler tube for liquid height measurement on my brewery so integrating this will be simple
3. Its very simple (not as simple as an optical sensor in the airlock) and its output directly measures gravity not back calculating it from bubbles or mass flow of C02 or weight etc.....

I'm sure I'll learn a thing or two while doing this project so I'll be sure to keep everyone up to date with how I am progressing on this.

As this is a learning forum, please challenge anything i've said above if it doesn't seem to add up

-Jason
www.brewbot.ca

__________________
newtonjason is offline
 
Reply With Quote Quick reply to this message
Old 03-10-2014, 07:34 AM   #36
tob77
Feedback Score: 0 reviews
Recipes 
 
Join Date: Sep 2012
Location: Napa, CA
Posts: 62
Liked 6 Times on 4 Posts
Likes Given: 16

Default

I hate to be a naysayer, and I think bubblers are great for volume measurements. However, I think that you should do some preliminary calcs before you go too far down this road. I don't think that you will be able to get the resolution that you are looking for. Even if you place the differential bubblers a foot apart the pressure change with respect to SG will be very small. I think that it would be something like 0.00043 psi per gravity point.

__________________
tob77 is offline
 
Reply With Quote Quick reply to this message
Old 03-10-2014, 06:27 PM   #37
Oyvindt
Feedback Score: 0 reviews
Recipes 
 
Join Date: Jun 2012
Location: Bergen, Norway
Posts: 7
Liked 1 Times on 1 Posts

Default

Time to come out from lurking mode I suppose! I did an experiment a while back using a differential pressure sensor:

http://www.digikey.com/product-detai...660-ND/2704715

.. and a couple of tubes going in to a very ad-hoc-and-experimental fermentor vessel:




This is the result:



The wort OG was 1.043, and it ended at 1.018 (it was fermented in a too cold basement with too little WLP400, which is probably why it stopped early. No oxygen added or shaking wort either..) The values on the graph is voltage * 1000 so there is a 300 mV difference from start to finish.

__________________
Oyvindt is offline
 
Reply With Quote Quick reply to this message
Old 03-10-2014, 06:51 PM   #38
markstache
Feedback Score: 0 reviews
Recipes 
 
Join Date: Jun 2013
Posts: 89
Liked 18 Times on 13 Posts

Default

How about calibrated weights (e.g. BrewBalls) with RFIDs inserted in them? Have a RFID reader at the bottom of the tank that reads which balls have fallen.

__________________
markstache is offline
 
Reply With Quote Quick reply to this message
Old 03-12-2014, 03:04 AM   #39
mattd2
Feedback Score: 0 reviews
Recipes 
 
Join Date: Sep 2009
Location: Papamoa, New Zealand
Posts: 3,386
Liked 233 Times on 190 Posts
Likes Given: 41

Default

Quote:
Originally Posted by Oyvindt View Post
Time to come out from lurking mode I suppose! I did an experiment a while back using a differential pressure sensor:

http://www.digikey.com/product-detai...660-ND/2704715

...This is the result:



The wort OG was 1.043, and it ended at 1.018 (it was fermented in a too cold basement with too little WLP400, which is probably why it stopped early. No oxygen added or shaking wort either..) The values on the graph is voltage * 1000 so there is a 300 mV difference from start to finish.
Nice work, the graph looks promising that you can use a DP to measure SG changes - would a cheaper sensor work like http://www.digikey.com/product-detai...1TR-ND/1168437 looks to have similar scale and accuracy values???
I was going to suggest making the carboy/bucket into a capacitor with 2 sheets of copper wrapped halfway round each and measure the change in capacitance
__________________
My DIY grain mill
First AG mini-BIAB
mattd2 is online now
 
Reply With Quote Quick reply to this message
Old 03-12-2014, 08:58 AM   #40
Oyvindt
Feedback Score: 0 reviews
Recipes 
 
Join Date: Jun 2012
Location: Bergen, Norway
Posts: 7
Liked 1 Times on 1 Posts

Default

Quote:
Originally Posted by mattd2 View Post
Nice work, the graph looks promising that you can use a DP to measure SG changes - would a cheaper sensor work like http://www.digikey.com/product-detai...1TR-ND/1168437 looks to have similar scale and accuracy values???
That seems like a suitable replacement I have no idea why I picked the specific sensor that I used. It was probably just the first one I found that had suitable specs..
__________________
Oyvindt is offline
 
Reply With Quote Quick reply to this message
Reply


Quick Reply
Message:
Options
Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Measuring gravity? vahallasbrew2 Mead Forum 3 02-08-2012 04:11 AM
new to measuring gravity jamesco Fermentation & Yeast 4 12-08-2011 02:37 PM
measuring gravity kegtoe General Techniques 3 05-25-2010 04:51 AM
Specific Gravity? Target Gravity? HalloweenGod General Techniques 6 01-03-2009 06:30 PM
Measuring gravity during fermentation walther Equipment/Sanitation 2 11-03-2008 05:27 AM