The invention discloses a motor. The motor comprises a rotating shaft, a rotor assembly, a stator core, a stator winding, an end insulation piece, a casing, a front end cover, a rear end cover, a circuit board and a box cover, wherein the rotating shaft is connected with the rotor assembly, the stator core is sleeved on the rotor assembly, the end insulation piece is installed at an end surface of the stator core, the stator winding is wound on the stator core, the stator core is connected with the casing; the front end cover and the rear end cover are arranged at two ends of the casing, the rotating shaft is supported on bearings of the front end cover and the rear end cover, the box cover is installed on an internal side bottom surface of the rear end cover, and the circuit board is arranged in the box cover. The motor further comprises a connecting wire clamp; the connecting wire clamp is installed on the end insulation piece; and one end of the connecting wire clamp is electrically connected with a wire end of the stator winding, and the other end of the connecting wire clamp is electrically connected with an insertion sheet on the circuit board. The motor is advantageous in structural simplicity, easiness in assembly, low cost and excellent manufacturability.