Patent ID: 7845058

Claim:
A method for assembling a lens unit and a light-receiving unit in a camera module, the lens unit comprising a mountable surface, the light-receiving unit comprising a light-sensitive surface and a mounting surface, the method comprising the steps of: detecting whether the mountable surface is perpendicular to the optical axis of the lens unit; repositioning the mountable surface to make the mountable surface perpendicular to the optical axis if the mountable surface is judged not to be perpendicular to the optical axis; cycling through the mountable surface detecting step and the mountable surface repositioning step until the mountable surface is judged to be perpendicular to the optical axis in the mountable surface detecting step; detecting whether the mounting surface is parallel to a light-receiving surface; repositioning the mounting surface to make the mounting surface parallel to the light-receiving surface if the mounting surface is judged not to be parallel to the light-receiving surface; cycling through the mounting surface detecting step and the mounting surface repositioning step until the mounting surface is judged to be parallel to the light-receiving surface in the mounting surface detecting step; and mounting the light-receiving unit to the lens unit in such a manner that the mounting surface parallel to the light-receiving surface biases against the mountable surface perpendicular to the optical axis to make the light-sensitive surface be perpendicular to the optical axis of the lens unit.