主权项 |
1. A position detector comprising:
a circuit board; a magnet disposed to move relative to the circuit board while generating a magnetic field to pass through the circuit board; a control circuit disposed on the circuit board; a conductive element printed on the circuit board, the conductive element defining a first point, a second point, a third point and a fourth point, the second point being in a first direction from the first point, the fourth point being in a second direction from the third point, the second direction intersecting the first direction; and a position detection wiring connecting the control circuit and the conductive element, wherein the control circuit is configured to supply an electric current to the conductive element through the position detection wiring such that the electric current flows from the first point to the second point in the conductive element, to detect a potential difference between the third point and the fourth point of the conductive element, and to perform an operation according to a position of the magnet relative to the conductive element based on the potential difference detected. |