Hello
i am curently working on a pump comand used to control the flow of water from a concentrated solar power pannel to a bio digester , i am asked to realise a program that will allow this pump to fonction normaly if the temperature inside the biodigester is in the range of 37°C and 45°C if not the flow of the water must be controlled until the temperature enters its safe range , i started by measuring the flow of the water entering to the biodigester ( this water actully transports heat inside ) and the temperature value change in time yet i can't figure out the steps to write the program .... HELP
Have a look at a PID controller.