Patent attributes
An electrical product and a tilting control device thereof are provided. The tilting control device comprises a shell body, a light source, at least a transparent box, an opaque element, a plurality of photo-sensing units and a logic circuit. The light source is disposed inside the shell body for emitting light. The transparent box is disposed along the path of the light inside the shell body. The opaque element is supported by a carrier surface within the transparent box. The photo-sensing units are disposed inside the shell body at each end under the transparent box. When the tilting control device tilts, the opaque element will move towards one end of the transparent box so that a portion of the light traveling to the photo-sensing unit is obstructed. The logic circuit is coupled to the photo-sensing units for outputting a signal according to the light intensity detected by the photo-sensing units.