Voltage sensor, a printed circuit board