A lens module, comprising:
- a lens barrel;
- a first lens;
- a second lens;
- and
- a third lens, the first lens, the second lens and the third lens being received in the lens barrel and sequentially stacked from an object side to an image side,
- wherein the first lens comprises a first optical portion and a first connection portion surrounding the first optical portion, an image side surface of the first connection portion comprises a first planar surface, a first engaging oblique surface extending from the first planar surface in a direction facing towards an optical axis, and a second planar surface extending from the first engaging oblique surface in the direction facing towards the optical axis,
- the lens barrel comprises:
- a first lens barrel receiving the first lens, wherein the first lens barrel comprises a first vertical portion fixedly connected to the second lens barrel, and a first horizontal portion extending from the first vertical portion while being bent towards the optical axis, the first horizontal portion having a surface close to the image side and fixedly attached to an object side surface of the first connection portion;
- and
- a second lens barrel connected to the first lens barrel, wherein the second lens barrel comprises a third planar surface opposite to and spaced apart from the first planar surface;
- a first matching surface extending from the third planar surface in the direction facing towards the optical axis and matching the first engaging oblique surface, and a fourth planar surface extending from the first matching surface in the direction facing towards the optical axis, the fourth planar surface being spaced apart from the second planar surface,
- the second lens comprises a second optical portion and a second connection portion surrounding the second optical portion, an image side surface of the second connection portion comprises a fifth planar surface, a second engaging oblique surface extending from the fifth planar surface in a direction facing towards the image side and towards the optical axis, and a sixth planar surface extending from the second engaging oblique surface in the direction facing towards the optical axis,
- the second lens barrel further comprises a seventh planar surface opposite to and spaced apart from the fifth planar surface, a second matching surface extending from the seventh planar surface in the direction facing towards the image side and towards the optical axis and matching the second engaging oblique surface, and an eighth surface extending from the second matching surface in a direction facing towards the image side parallel to the optical axis, and
- the second lens barrel further comprises a groove formed by recessing from the third planar surface towards the image side, a rubber gasket is disposed in the groove, and the first lens is pressed against the rubber gasket.