Thanks for the replies guys.
I did take a look at the 'brewtroller' ages ago, but I don't think it was really what I wanted. It's designed to control the process of kettle brewing
your own beer. I think I remember it having a temperature controlled flow valve of some sort though, so I will take another look at it.
My set-up is basically an urn with a small heating element which is switched on at the start with relay1 'HIGH'. It continues to heat throughout
the whole process until nearly all the alcohol has boiled out at about 93 degrees C, then relay1 will read 'LOW'. Temperature1 is a stainless steel
k-type probe which sits in the top of the still head to basically read the temperature of the distillate throughout the process. It is read by an Adafriut
max6675 breakout. Servo1 has a funnel attached and sits just under the outlet of the condenser. It pivots between three separate storage receptacles.The first is a 1 litre jug which has a float switch at about half way, when it (button) reads high, then servo1 pivots to the next (a 20 litre bucket) which stores the main body of the run until temperature1 reads 90' C, then servo1 goes to the next bucket to collect the tails end of the run until it shuts down. When temperature1 reads 65' C, relay2 reads 'HIGH' which turns on the cooling system, which consists of a large tub with a lid (about 60 litres), an old air-con condenser with a fan, a submersible aquarium pump and a servo controlled ball valve type tap (servo2). I made this tap out of a plastic garden irrigation tap which cost about $2 and mounted the servo to it. This system works perfectly. Hot coolant comes out of the still at about 60' C and when it has flowed through the radiator it has cooled to about 15' C. I'm proud of that as you couldn't ask for much better. The aquarium pump provides a constant pressure.The servo tap (servo2) controls the flow of the coolant (water, or you could probably use glycol for better cooling). The position of servo2 is determined by temperature2 which is also a k-type probe and max6675 chip. Temperature2 probe is placed on the outside of the condenser at a position where I know that, at a certain temperature, the alcohol is condensing at an optimal rate. Each and every setup would be different for this part of the procedure and will have to be fine tuned, But that could be as simple as just moving the probe position a little. I know that some sort of PID control would be best, but I have read that you cant do it with a servo unless you attach a potentiometer to it, and I don't want to have to do that if I can help it. I only want the servo to move in 5 degree intervals so I'm guessing
that it shouldn't be too jittery. You could also use a bilge pump type setup, but having a pump switching on & off to try & control the temperature I think would be harder to control. Same said for a solenoid tap, probably a little easier though but would require more wiring than my servo tap. As for switching the heating element on & off, I would prefer to avoid this also, as I think my small element would take too long to regain the heat and would slow the whole process down, which just isn't very efficient. Plus I don't like the thought of constantly toggling a high current device. I have a 16x 2 LCD to basically just monitor what is going on with temperature1 & temperature2. I can tell how the system is running from this. The arduino will control everything. I just want to be able to turn it on, then come back later and it's all done. At the moment I have to constantly check that its running ok, and that is a pain (long nights & lost sleep). Once this system is up and running, I have a pair of RF transmitter/receivers and a 'Nano' which I will use to make a small device with a 16x2 LCD, which with a quick button press whilst sitting inside, will tell me what the LCD on the master system is reading. I hope all this is enough to explain my setup so I can get some help with my code. Cheers for the help.