A camera module includes a lens unit, a magnet mounted around the lens
unit, a stator receiving the lens unit and the magnet therein and an
elastic element. The stator includes a coil seat and a coil wound
therearound. The coil establishes a magnetic field when an electric
current is applied thereto. The magnetic field interacts with a magnetic
field of the magnet to generate a magnetic force driving the lens unit
into telescopic movement. The elastic element includes at least one rib
which has a fixed end connected with the stator and an opposite movable
end. The moveable end moves together with the lens unit with respect to
the fixed end to generate an elastic force during the telescopic movement
of the lens unit. The lens unit stops at a focal position when the
magnetic force and the elastic force come to a balance.