I am sure you meant 2 Moles of Alcohol and 2 Moles of CO2, or the beer will be very hot indeed.
I don't get the heat reference: "mol" is the standard abbreviation for Mole (although I did incorrectly pluralise it in a couple of spots). What else can "mol" mean?
How about a sight tube, fit a pressure transducer at the bottom
From P=Ro.g.h
We know g ~9.81
The hight we can measure
Rearrange to give Ro or the density.
Sorry, I missed this post last night, but I like the idea!
Assuming I understand what you're saying, you'd need a waterproof sensor. I suppose you could get away with a non-water-proof one if you put it in an airtight chassis with a flexible membrane to transmit the pressure from the fluid.
If you want to be able to gauge SG to within 2 points (to be as accurate as a hydrometer), and you assume ρ will be pretty close to 1 for finished beers, we can say you're allowed a margin of error of +/- 0.1% (any more than that, and you won't be as accurate as a hydrometer).
With a marked sight glass, you expect h to be around about 0.4, I suppose, with mm precision (0.001). Error in the height measurement is going to be around +/- 0.125% - we've already blown our error budget.
You could use an ultrasonic transducer to get a more accurate height measurement than a marked sight-glass. A transducer will be able to measure to within its wavelength without too much trouble (from above, so the changes in the wort don't affect the measurement). At 40kHz, you can measure the liquid level to within 0.025mm, giving us an introduced error of +/- 0.003% - well within the error budget. Assuming the transducer is being run from a crystal (via MCU), the error in the waveform should be negligible.
Now for the sensor: We're looking at pressures around the 38-45hPa above atmospheric. So we should be considering a range in around 1000-1100 hPa (I can't for the life of me remember how much atmospheric pressure changes day-to-day, but that range should be safe near sea level). The device I was looking at, while not water proof, will measure an accuracy of 0.5hPa, and meets the required range. 0.5hPa at 1000hPa pressure gives you an error margin of +/-0.025%. Even at 8000m, where atmospheric pressure is somewhere around the 300hPa mark (the lower limit of the HC03D), you're error is still only +/-0.08%.
So: at sea level, with a transducer, the "MHBometer"
D) is accurate to about half a point of SG. For those brewing beer on top of everest, they'll have to settle for similar accuracy to their hydrometer.
Anyone see any problems with this my logic here?