Patent ID: 8248807
Filing Date: 2012-08-21
Classification: E05B,G06F,Y10T

Abstract:
1. An electronic device, comprising: a main body comprising a base and a seat protruding upwards from an edge of the base; a cover pivotally connected to the seat for covering the main body; at least one locking mechanism for fastening the cover to the main body, the at least one locking mechanism defining a locking hole in the seat and comprising a locking member fixed to the cover; and a switch electrically connected to the at least one locking mechanism for switching the at least one locking mechanism; wherein the locking member comprises: a magnetic member; an electromagnet electrically connected to the switch and operable to be powered on and powered off via switching the switch, the electromagnet being operable to attract the magnetic member when the electromagnet is powered on; a spring disposed between the magnetic member and the electromagnet, the spring being operable to push one of the magnetic member and the electromagnet toward the locking hole when the electromagnet is powered off; and a locking pin fixed to one of the magnetic member and the electromagnet, the locking pin being operable to move with one of the magnetic member and the electromagnet, in a first manner so as to detach from the locking hole when the electromagnet is powered on, and in a second manner so as to be inserted into the locking hole to fasten the cover to the main body when the cover covers the main body and the electromagnet is powered off, wherein the switch is operable to be switched off to power off the electromagnet when the cover rotates around the seat to move away from the main body, such that the spring is released from an attractive force generated by the electromagnet and the magnet, and the locking pin is urged by an elastic force of the spring to press the seat of the main body, so as to position the cover at a desired angle relative to the main body.