Patent ID: 8319885

Claim:
A camera module comprising: an image sensor package comprising: a circuit board having a mounting surface, an image sensor mounted on the mounting surface of the circuit board, the image sensor being electrically connected to the circuit board; an enclosure attached on the mounting surface of the circuit board and defining a receiving chamber therein, the enclosure comprising an interior surface in the receiving chamber and a plurality of elastic engaging portions integrally formed with the enclosure and protruding from the interior surface; a lens module comprising: a barrel and at least one optical element received in the barrel, the barrel defining a central axis and comprising an outer surface around the central axis, the barrel defining a plurality of recesses in the outer surface, the barrel being detachably mounted in the receiving chamber of the enclosure, only by the engagement of the engaging portions and engaging in the respective recesses, wherein the elastic engaging portions are located on a common plane substantially parallel to the mounting surface, and wherein the enclosure has a generally cuboid shape, the receiving chamber is generally rectangular, and the enclosure comprises two parallel first peripheral sides and two parallel second peripheral sides, each of the first peripheral sides is located between and adjoins the two second peripheral sides, the plurality of elastic engaging portions comprises four engaging portions protruding from the respective first and second peripheral sides.