Thanks for posting your code, I am working on my own arduino controlled RIMs setup and this has been an excellent resource. I have a few questions after I read through the code.
1) You ask for the mash water volume but that doesn't appear to be taken into any of the calculations. Is this...