An apparatus includes a housing, a pin, a mechanism and a sensor. The housing is configured to receive a weld head. The pin is configured to move linearly relative to said housing. The mechanism is configured to convert a position of said pin into a displacement. The sensor is configured to generate a value representative of said position of said pin based on said displacement.