Patent ID: 11366224

Abstract:
A proximity sensor and an electronic device. The proximity sensor includes a circuit board; an infrared emitter and an infrared receiver both arranged on the circuit board, wherein the infrared emitter includes a light emitting source arranged on the circuit board and a light transmitting element covering the light emitting source; the light emitting source has an emission optical axis, the light transmitting element includes a front light transmitting portion and a rear light transmitting portion connected to the front light transmitting portion; the front light transmitting portion is located on a front side of the emission light axis of the light emitting source, and the rear light transmitting portion is located on a rear side of the emission light axis of the light emitting source; and the infrared receiver is located on one side of the light emitting source; and a light shielding element, wherein the light shielding element covers at least a part of the rear light transmitting portion.