Patent attributes
A system and a method detect an intensity of light within an interior of a compartment and/or of an end cap to locate a position of a movable element within the interior of the compartment. A platform is attached to interior walls of the end cap for positioning a light source within the interior of the compartment and a first light detector within the interior of the end cap. A second light detector is attached to the interior walls of the end cap which is adjacent to the platform. The platform is located between the light source and the first light detector and/or the second light detector to prevent light transmitted by the light source from being directed inwardly with respect to the first light detector and/or the second light detector. A bottom surface of the end cap reflects or diffuses light within the interior of the end cap inwardly with respect to the first light detector and/or the second light detector. The first light detector and/or the second light detector measures and detects the intensity of the light within the interior of the end cap which was attenuated by the movable element and/or by the interior walls of the compartment. The intensity of the light detectable by the first light detector and/or by the second light detector corresponds to the position of the movable element within the interior of the compartment.