Patent ID: 8523600

Claim:
An electronic device comprising: an electronic control unit (ECU); a wire that is electrically connected to the ECU; and a wiring side connector that is attached to an end portion of the wire on an ECU-side to electrically connect the wire and the ECU, wherein: the ECU includes an ECU side connector that is fitted to the wiring side connector to electrically connect the wire and the ECU; the wiring side connector includes: a wiring side connector main body that accommodates the end portion of the wire and is fitted to the ECU side connector, the wire projecting from an inside toward an outside of the main body on a surface of the main body that is on an opposite side from a side of the main body on which the main body is fitted to the ECU side connector; and a movable member that is attached to the main body to be rotatable relative to the main body and that includes: a restricting member having a shape of a plate and restricting a direction in which the wire projects from the main body; and an extended member fixed to the restricting member and extending from the restricting member in a direction that crosses a plate surface of the restricting member; the extended member is engaged with the main body, such that the extended member is rigidly rotatable relative to the main body with an engagement part between the main body and the extended member serving as a rotation axis of the rotation of the extended member and that the extended member and the restricting member are thereby rigidly rotatable together relative to the main body; when the movable member is arranged in a predetermined first arrangement relative to the main body, the movable member is in a position in which the movable member does not prevent the wire from projecting from the main body to extend straight in a counter-fitting direction, which is directly opposite from a direction in which the main body is fitted to the ECU side connector; when the movable member is rotated from the first arrangement to a predetermined second arrangement relative to the main body, a portion of the restricting member directly engaging the wire moves closer to a portion of the main body from which the wire projects to press and bend the wire, so that the direction in which the wire projects from the main body is limited to a direction that crosses the counter-fitting direction; when the movable member is arranged in the second arrangement relative to the main body, and the main body is fitted to the ECU side connector, the second arrangement of the movable member is maintained; the wire is restricted to a direction of rotation of the movable member; the ECU side connector includes a sleeve part that accommodates the main body when the ECU side connector is fitted to the main body; and when the movable member is not arranged in the second arrangement relative to the main body, the extended member and the sleeve part are in contact, so that the fitting of the ECU side connector to the main body is prevented.