An auto focusing camera includes a square-shaped circuit board (11), a
motor (100) arranged on the circuit board, and a lens unit (20) received
in the motor. The circuit board forms contacts (114) on corners thereof.
The motor includes a cuboid-shaped housing (18), a stator (12) mounted in
the housing, and a rotor (14) being rotatably disposed in the stator. The
stator includes a square-shaped base (123) forming connecting pins (139)
in corners thereof, and a stator core (121) with coils (122) wound
thereon. The coils have ends being electrically connected with the
connecting pins of the base. The connecting pins are electrically
connected with the contacts in the housing to electrically connect the
ends of the coils to the circuit board.