Patent attributes
A distance measuring apparatus has a substrate supporting, on a first surface thereof, a light source that emits light and a first optical element that decreases the intensity of the emitted light, and a processor on a second surface opposite the first surface. A light receiving element and a second optical element, which is at a higher position than the light receiving element, both receive the emitted light after reflecting from an object. A frame is connected to the substrate and spaces the first optical element and the second optical element a predetermined distance apart from the light source and the light receiving element, and a partition is disposed between the light source and the light receiving element, thereby defining a first cavity housing the light source and a second cavity housing the light receiving element. The processor is electrically connected to the light source and controls the light source.

