摘要 |
An electrical device according to the invention comprises a magnetic sensor circuitry (101) for detecting magnetic field and for generating a detection signal in response to the detected magnetic field, and a control circuitry (102) for controlling operation of the electrical device in accordance with the detection signal. The magnetic sensor circuitry is configured to detect a direction related to a deviation of the magnetic field from the magnetic field of the earth, and the control circuitry is configured to control the operation of the electrical device in accordance with the detected direction. The electrical device can be controlled by using e.g. a permanent magnet (105) for directing, to the magnetic sensor circuitry, magnetic field deviating from the magnetic field of the earth and having a desired orientation. Thus, the electrical device can be controlled without an electrical connector or a radio interface. |