Patent ID: 8648839

Claim:
A stylus, comprising: a pipe, having a front end, a back end opposite to the front end and an opening formed at the front end, wherein a diameter of the opening is smaller than a diameter of the pipe; a touch portion, sliding disposed at the opening, wherein at least a part of the touch portion is located in the pipe; a battery module, disposed in the pipe; a detector, disposed between the battery module and the touch portion, wherein the detector is suitable for detecting a contact pressure applied to the touch portion and transmitting an analog signal; a converter, disposed in the pipe and electrically connected to the detector, wherein the converter is suitable for transducing the analog signal into a digital signal and outputting the digital signal; a first magnetic element, disposed in the pipe and having a through hole, wherein a diameter of the through hole is larger or substantially equal to the diameter of the opening; and a second magnetic element, fixed to the touch portion located in the pipe, wherein the first magnetic element is located between the second magnetic element and the opening, the touch portion is passed through the through hole, and when the touch portion is driven to move toward the back end by a force resisting a magnetic attractive force generated between the first magnetic element and the second magnetic element, the second magnetic element is driven to move away from the first magnetic element.