Patent attributes
The present invention is an optical proximity sensor and manufacturing method thereof. The optical proximity sensor has an optical sensing unit, an illuminating unit, multiple transparent gels and a package. The package encapsulates the optical sensing unit and the illuminating unit. The transparent gels are respectively formed on top surfaces of the optical sensing unit and the illuminating unit. The transparent gels respectively have a convex part and a recess formed in the convex part. The package has through holes communicating with the recesses of the transparent gels to form openings. In a step of injecting encapsulant gel, because the transparent gels are still plastic, the protrusions can closely attach to the transparent gels. The encapsulant gel is prevented from forming above the sensing part and the illuminating part.