Patent attributes
A reflective sensor is disclosed which prevents divergent light from a light source from being totally reflected by an interface between the package and the outside thereof and entering a light-receiving element without using a light-shield means and which allows an improved S/N ratio and reduced variations in performance. The reflective sensor includes a light-emitting element and a light-receiving element which are provided on a surface, and a light-transmissive member which covers the light-emitting element and the light-receiving element. The light-receiving element includes a light-receiving region which is spaced from the light-emitting element along the surface, and which light-receiving region is closer to the light-emitting element than an area on the surface that would be illuminated by unimpeded light rays which are totally reflected by an interface between the light-transmissive member and the outside thereof and are directed toward the light-receiving element.