To provide a motor where the connection between inside and outside is kept well, by taxing ingenuity in the fixing structure of a circuit board for external circuit connection to the terminal cover, projecting from a housing.
A circuit board 120 is abutted against each external end face of both ribs 103c and 104c of terminal cover 100, at both of right and left sides of the inner surface, by inserting the outside end of a each terminal 12 into each connection hole 122b of a circuit board 120 and also, inserting each projection 103b and 104b of the terminal cover 100 into each through-hole 121b of the circuit board 120. Then, both projections 103b and 104b are thermally calked in each through-hole 121b of the circuit board 120, at each end. Moreover, the external end of each terminal 112 is connected, by soldering to the connection end 122a of each wiring pattern 122.