Hall-effect sensor
Hall-effect sensors detect a magnetic field. Linear sensors produce an analog response, while switching and latching devices change state according to their specified magnetic thresholds. Axis, polarity, supply and output behaviour depend on the exact sensor.
A magnetic field acting on current-carrying material produces a transverse Hall voltage. Integrated devices condition that signal for their intended output. Allegro's A3144 is a unipolar switch: its open-collector output goes LOW above the operate threshold and releases when the field falls below the release threshold.
In plain terms
Like a wind vane that swings further when the wind blows harder: the Hall element produces more voltage when more magnetic field cuts through it, and the polarity tells you which way the field is pointing.
Why designers use it
- Detecting a magnet's position without mechanical contacts.
- Sensing motion when magnet placement and device thresholds suit the mechanism.
- Measuring magnetic field with an appropriately selected linear sensor.
Best for
- BLDC commutation
- Throttle position
- Current sensing
- Tamper detect
Key specifications
- Magnetic response: Axis, polarity, sensitivity or operate/release thresholds
- Output: Analog, switch or latch; confirm pull-up requirements
- Electrical limits: Exact supply, output and temperature conditions
When not to use it
- For three-axis field mapping (compass, IMU) — use a true magnetometer (HMC5883L, LIS3MDL) that integrates X/Y/Z Hall plates and digital output.
- When you need to measure sub-microtesla Earth-field perturbations — fluxgate or magnetoresistive (AMR/GMR) sensors are orders of magnitude more sensitive.
- In environments where the surrounding ferrous material distorts the field — use an inductive proximity sensor instead, which doesn't care about iron screws in the housing.
Common mistakes
- Calling the A3144 a latching sensor. Its documented behaviour is unipolar switching with separate operate and release thresholds.
- Assuming every Hall sensor measures the same axis or uses the same magnetic polarity.
- Ignoring a required output pull-up or its voltage/current limits.
- Assuming every analog output reaches both supply rails or scales identically with supply voltage.
- Treating the legacy A3144 as a current new-design recommendation; Allegro's linked sheet marks it discontinued.
Where you will find it
- A laptop's lid-closed detector is a Honeywell SS49E linear Hall facing a small neodymium magnet glued inside the screen bezel: closing the lid pulls the magnet over the sensor, the firmware sees the voltage swing past a threshold, and the OS triggers suspend-to-RAM.
- An e-bike's pedal-assist sensor uses 12 latching Hall switches around the crank, each one toggling as a magnetic ring on the crank arm rotates past — the motor controller counts the edges to know cadence (RPM) and direction without any mechanical contact.
- A 100 A DC current shunt for a solar inverter routes the busbar through a slot in an Allegro ACS758 Hall-effect sensor: the field around the conductor produces a 40 mV/A output that the MCU samples isolated from the 600 V DC link — no current transformer needed.
A short history
Edwin Hall observed the effect at Johns Hopkins in 1879. The university's account describes his experiment with current-carrying gold foil and a transverse magnetic field, and explains that he questioned Maxwell's prediction rather than following a suggestion that Maxwell had predicted the effect. Modern sensor circuits build on the physical effect but have device-specific switching or analog behaviour.
Good to know
- A switch's operate and release thresholds can differ; that difference is hysteresis.
- A Hall sensor and a complete current-measurement system are not the same thing.