the mixing valve controller is a device that is used to control the position of a mixing valve used to regulate the temperature of flowing water . the device uses an embedded system programmed to control a stepper motor and read inputs from a thermocouple , position sensor , and graphical user interface .