摘要 |
An electronic device, comprising: a housing having at least one chamber; a magnetic element guideway for accommodating and guiding a magnetic element, wherein the magnetic element guideway enables positioning of an accommodated magnetic element in at least two magnetic element positions relative to the housing. A control and evaluation circuit is arranged in the chamber and has two Hall sensors for registering at least one component of a first local magnetic field at the respective site of the first Hall sensor and for the providing, in each case, a signal, which depends on the local magnetic field registered at the first site. The two Hall sensors have relative to the housing, in each case, a defined position, wherein the control circuit is suitable based on the signals to detect whether a magnetic element is present in the magnetic element guideway, and in case yes, based on at least one of the signals, to detect whether the magnetic element is located in the first defined magnetic element position or has been moved from this position.
|