Valve controller, a printed circuit board