Patent ID: 7116225

Claim:
A structure for preventing loss of a pen for an electronic device, comprising: a slot, for holding said pen and having a sensor switch therein and said sensor switch being electrically coupled to a control circuit of said electronic device, wherein when said pen is placed into said slot, said pen presses said sensor switch; a switch disposed between the control circuit of said electronic device and said sensor switch, for selectively turning on or off said sensor switch; wherein when said sensor switch is turned on by the switch and said pen is placed into said slot, said pen presses said sensor switch and thus said sensor switch sends a press signal to said control circuit; wherein when said sensor switch is turned on and said pen is not placed into said slot, said sensor switch sends a non-press signal to said control circuit; and wherein when said electronic device is selectively turned off or has not been used for a specific time, and said sensor switch is not pressed by the pen, said control circuit receives said non-press signal from said sensor switch, and when said non-press signal has been received by said control circuit for a specific time, said control circuit turns on a beeping circuit to generate a warning sound to remind users to put said pen back into said slot.