I have constructed a water meter for a bakery. It uses a flow meter, solenoid and ds18b20 to dose water for mixing bread dough in a bakery environment.
Basically one punches in a volume of water into a keypad and then a solenoid opens dumping water into a mixer. The water is measured with the flow meter and interrupted when total volume measured = target volume.
All the while the temperature is monitored and averaged.
My problem is when I need to use colder water than is available via mains water supply. I would like to add a function to calculate the amount of ice to add to bring to a specific temperature.
Example: dumped 30L at 25C. how much ice in grams would I need to add to that water to bring temp down to 20C?
The information I would have is V=volume of water, OT= Starting Temperature and TT = Target Temp.
I want to find out how to use the Arduino to give me the volume of ice in grams I need to add to reach TT from OT.
If anyone is interested in having a crack at It I would be very thankful.
I’ll also attach my code, knowing its not beautiful .
watermeter_working.ino (5.22 KB)