Patent ID: 7882755

Claim:
A sensor attachment device comprising: a holding member provided with an insertion opening into which a sensor main body is inserted, the holding member holding the sensor main body with the sensor main body inserted into the insertion opening; and an operation member that is attached to the holding member and fixes the sensor main body to the holding member by being displaced in an operational direction that crosses a direction along which the sensor main body is inserted, wherein the holding member is provided with a pair of locking hooks each extending toward the direction along which the sensor main body is inserted, tip ends of the pair of locking hooks being locked to the sensor main body inserted into the insertion opening, and the pair of locking hooks being either curved or flexed to protrude externally so that central portions of the pair of locking hooks are away from the sensor main body inserted into the insertion opening, the operation member is provided with a pair of facing surfaces, each facing toward an external surface of each of the central portions of the pair of locking hooks, the pair of facing surfaces each having a first region for fixing the sensor main body and a second region at which a distance between the facing surfaces is larger than that at the first region, wherein the pair of facing surfaces respectively includes third regions each provided on an opposite side of the second region with respect to the first region, the tip ends of the pair of locking hooks are capable of being locked to the sensor main body inserted in the insertion opening with the second regions of the pair of facing surfaces respectively facing toward the external surfaces of the central portions of the pair of locking hooks, and the operation member is provided with a pressing portion between the third regions of the pair of facing surfaces that face each other, the pressing portion coming between the central portions and the sensor main body with the third regions respectively facing toward the external surfaces of the central portions of the pair of locking hooks, thereby pressing the central portions outwardly, and the sensor main body is capable of being inserted into the insertion opening with the second regions of the pair of facing surfaces respectively facing toward the external surfaces of the central portions of the pair of locking hooks, and the operation member is displaced in the operational direction with the sensor main body being inserted into the insertion opening to have the first regions of the pair of facing surfaces respectively face toward the external surfaces of the central portions of the pair of locking hooks, thereby pressing the central portions of the pair of locking hooks inwardly and fixing the sensor main body to the holding member.