Patent ID: 7683609

Claim:
A method of producing a rotation detection sensor for attachment to a non-rotating body for detecting rotation of a magnetized rotor based on a change in magnetic flux, the method comprising steps of: preparing a cover member attached to the non-rotating body and having a mounting hole; arranging a detection unit on a surface of the cover member at a side of the rotor, the detection unit including a holding portion for holding a detection portion outputting a detection signal in accordance with a change in magnetic flux caused by rotation of the rotor, the detection portion being electrically connected with a pair of connector terminals; arranging a connector main body including an insertion hole therein on a surface of the cover member at a side opposite the rotor such that the pair of connector terminals are inserted into the insertion hole; arranging a first mold to be fitted to the connector main body; arranging a second mold to be fitted to the detection unit such that the detection portion abuts against a bottom surface of a molding hole of the second mold and a space is defined between the first mold and the molding hole of the second mold, the space including a gap formed between an outer circumferential surface of the holding portion and an inner side of the molding hole of the second mold, an inner side of the holding portion, and the insertion hole of the connector main body; and charging resin into the space to form a resin molding portion in the space and to integrate the detection unit, the connector main body, the pair of connector terminals, and the cover member.