Hall-effect sensors work by measuring the variation in magnetic fields. When current flows across a conductive plate, the addition of a magnetic field changes how the current flows across the plate. This change can be measured as a voltage differential on the plate, and the sensing unit can tell how close a magnet is to the sensor or simply switch states. The Hall-effect can be very useful in motor applications because the sensor can connect to a controlling unit capable of varying current based on a DC motor’s needs.