A self-powered device, comprising: a triggering structure, wherein the triggering structure comprises a first lever structure, the first lever structure comprises a first support part and a first triggering member, the first triggering member comprises a first power part, a first resistance part and a first connection part, the first power part and the first resistance part are arranged on opposite sides of the first connection part respectively, the first connection part is rotatably connected to the first support part to form a first revolute; a self-generation structure arranged on the first resistance part, wherein when the first power part is driven by an external force to rotate around an axis of the first revolute and towards a side of the first support part, the first resistance part is rotated around the axis of the first revolute in a direction opposite to a rotation direction of the first power part, in order that the self-generation structure is triggered in a suspended state and generates electrical energy; a bottom shell, wherein the first support part is arranged on an inner wall of the bottom shell; and a top cover, wherein the top cover and the bottom shell are enclosed to form a mounting cavity, wherein the first triggering member and the self-generation structure are accommodated in the mounting cavity, characterized in that the self-powered device further comprises: a circuit board arranged on a surface of the first power part facing the top cover; and a first group of buttons, wherein the first group of buttons comprises a plurality of first buttons, the plurality of first buttons are arranged to be spaced apart on the top cover, and bottom ends of the plurality of first buttons are abutted against the circuit board and are spaced at an equal distance from the first connection part. a triggering structure, wherein the triggering structure comprises a first lever structure, the first lever structure comprises a first support part and a first triggering member, the first triggering member comprises a first power part, a first resistance part and a first connection part, the first power part and the first resistance part are arranged on opposite sides of the first connection part respectively, the first connection part is rotatably connected to the first support part to form a first revolute; a self-generation structure arranged on the first resistance part, wherein when the first power part is driven by an external force to rotate around an axis of the first revolute and towards a side of the first support part, the first resistance part is rotated around the axis of the first revolute in a direction opposite to a rotation direction of the first power part, in order that the self-generation structure is triggered in a suspended state and generates electrical energy; a bottom shell, wherein the first support part is arranged on an inner wall of the bottom shell; and a top cover, wherein the top cover and the bottom shell are enclosed to form a mounting cavity, wherein the first triggering member and the self-generation structure are accommodated in the mounting cavity, characterized in that the self-powered device further comprises: a circuit board arranged on a surface of the first power part facing the top cover; and a first group of buttons, wherein the first group of buttons comprises a plurality of first buttons, the plurality of first buttons are arranged to be spaced apart on the top cover, and bottom ends of the plurality of first buttons are abutted against the circuit board and are spaced at an equal distance from the first connection part. a circuit board arranged on a surface of the first power part facing the top cover; and a first group of buttons, wherein the first group of buttons comprises a plurality of first buttons, the plurality of first buttons are arranged to be spaced apart on the top cover, and bottom ends of the plurality of first buttons are abutted against the circuit board and are spaced at an equal distance from the first connection part.