| CPC G01D 5/145 (2013.01) [G01B 7/30 (2013.01); G01D 18/001 (2021.05)] | 21 Claims |

|
1. An electronic device, comprising:
a rotating body coupled to a bezel part of the electronic device to be rotatable about a rotation axis, the rotating body comprising a plurality of magnets;
a pair of Hall sensors disposed in the bezel part and configured to sense a magnetic field generated by the plurality of magnets;
a magnetic sensor disposed in an internal space within a circumference of the rotating body;
at least one processor comprising processing circuitry, electrically connected to the pair of Hall sensors and the magnetic sensor; and
memory comprising one or more storage medium storing instructions that, when executed by the at least one processor, individually and/or collectively, cause the electronic device to:
calibrate, using first magnetic field data generated based on the pair of Hall sensors, second magnetic field data generated based on the magnetic sensor.
|