Arduino sketch using sensor input to control relais. Operator can change parameters via LCD.