Hall effect:

When a thin semi-conductor chip (usually silicon) carrying current is crossed at right angles by a magnetic field, a potential difference is produced at the edges of the chip.