A contact force sensor is constructed using a spring in which a resilient member is interposed between two contacting elements. Extensions connected to the resilient member are in contact with the elements. A force applied to at least one of the elements causes a deformation of the spring that correlates with a displacement of the elements relative to one another.