Abstract:
An optical module includes a carrier, a light-emitting component disposed over the carrier, an optical sensor disposed over the carrier, a housing, and a lens. The housing is disposed over the carrier and encircles the light-emitting component and the optical sensor. The housing defines a first accommodation space including a first aperture and a second aperture below the first aperture. The housing includes a first sidewall surrounding the first aperture, a second sidewall surrounding the second aperture, and a first support portion where a bottom end of the first sidewall and a top end of the second sidewall meet. The lens is located in the first aperture and is supported by the first support portion. One of the light-emitting component or the optical sensor is located in the first accommodation space.