Patent ID: 8780330

Claim:
An optical distance-measuring device that measures a distance to an object subject to distance measurement, comprising: a light-emitting element mounted on a mounting member; a light-emitting lens, formed from a light-transmitting resin, that irradiates the object subject to distance measurement with light emitted from the light-emitting element; a light-receiving element, mounted on the mounting member, that detects a position of convergence of light reflected by the object subject to distance measurement; a light-receiving lens, formed from a light-transmitting resin, that causes the reflected light to converge onto the light-receiving element; light-transmitting resin members that causes the light-emitting element and the light-receiving element to be sealed therewith; a first light-shielding resin member that covers the light-transmitting resin member so as to form an interior space that allows the light emitted from the light-emitting element to reach the light-emitting lens and an interior space that allows the reflected light entered from the light-receiving lens to reach the light-receiving element; a lens frame, formed from metal, that retains the light-emitting lens and the light-receiving lens; and a second light-shielding resin member that causes the lens frame and the first light-shielding resin member to be sealed therewith, the lens frame having an asperity structure on its front and back surfaces at least in an area where the light-emitting lens and the light-receiving lens are formed.