YURUNOX / Magnetic sensing and component selection

What Is a Hall Effect Sensor? How It Works

A Hall effect sensor converts magnetic flux density into an electrical signal. A magnetic field creates a small sideways voltage in a biased sensing element; circuitry turns it into an on/off state, an analog voltage, or a numerical field reading.

The important choice is not just “Hall or non-Hall.” It is whether your mechanism needs a switch that releases, a latch that remembers a magnetic state, or a sensor that measures a changing field.

By YURUNOX · For embedded engineers and technical buyers
Source review: September 4, 2026

Cylindrical Hall effect proximity sensor with a threaded housing and attached cable
Magnet and Hall sensor gapA magnet approaches a Hall sensor across a defined gap, and the sensor sends a signal to a controller.N SmagnetgapHALLfield at the active element becomes a usable signal

Fallback diagram: qualify the magnet, sensing axis and gap—not only the IC name.

A finished magnetic proximity sensor adds housing and cabling around the sensing electronics. Its assembly requirements go beyond the Hall IC alone.Photo: AgataOst, Wikimedia Commons, CC BY-SA 4.0. Unmodified.

What does a Hall effect sensor actually detect?

It detects a magnetic-field component at its active sensing element, not “an object” in general. A stationary magnet can produce a valid signal. Motion is needed only when the application is measuring movement, rotation or a transition.

Choose the required answer first: magnet present, last magnetic state, or a continuous field measurement. Then check the electrical interface and timing.

Field, not universal metal detection.
A metal target needs a magnetic arrangement that changes the sensed field.

Response and interface are separate.
A digital bus can carry field measurements, not just a binary state.

Polarity is not direction coverage.
Omnipolar means either pole along the relevant sensing axis.

Small packages are not interchangeable.
Match pinout, thresholds, startup, output circuit and complete suffix.

How does the physical effect become a usable signal?

A bias current moves charge carriers through the Hall element. A perpendicular magnetic-field component deflects them sideways, creating a transverse voltage. Reverse that field component and the Hall response reverses. The IC then amplifies and conditions the signal before presenting it to your circuit.

From magnetic field to a useful Hall sensor output Bias current flows left to right through a Hall plate. Magnetic flux is perpendicular to the plate, out of the drawing. A transverse voltage is sensed between its top and bottom edges. Conditioning circuitry converts it into a switch state or field measurement. Hall element viewed face-on Bias current V HALL B perpendicular to the plate Out of the drawing Amplification + signal processing Switch state / analog voltage / digital field data Transverse voltage:across the plate,not along the current
Swipe the diagram sideways on a small screen. Conceptual signal path, not an IC pinout. The internal bias current is different from an external load current that a purpose-built current sensor measures.

Physics reference: Allegro, Hall-Effect Sensor ICs, AN296065.

Flux density is commonly given in millitesla (mT) or gauss (G): 1 mT = 10 G. A single-axis IC measures one field component. Turning its package can therefore change the result without changing the magnet-to-package distance. Use the manufacturer's sensing-axis and active-area drawings; the marked face is not a universal polarity convention.

02 / Choose the magnetic response first

Which Hall response type fits your mechanism?

A door that must report open after a magnet moves away needs different behavior from a rotating multipole magnet. The distinction becomes obvious only when you test the return movement, not just the approach.

Swipe the table sideways on a small screen.

Four common responses to a magnetic field
ResponseWhat it doesQuestion to resolve
Unipolar switchOperates for one specified field polarity; releases as that field weakens past its release point.Is magnet orientation controlled?
Omnipolar switchCan operate for either field polarity along its sensing axis.Must either magnet pole trigger detection?
Bipolar latchChanges state at one polarity and resets at an opposite-polarity threshold.Will the motion provide both polarities?
Linear / field measurementReports a field-dependent value over a specified range.Do you need field, position or angle information rather than just presence?

A latch can retain its state while the field returns to zero. That does not mean it remembers the state across loss of power. TI's DRV5013 datasheet, for example, specifies an indeterminate startup output when the field is between its thresholds.

Also separate digital output from digital measurement. An on/off switch might connect to a GPIO. The TMAG5273 instead reports three-axis magnetic measurements over I2C. “Digital Hall sensor” alone is not a complete purchasing specification.

03 / Why the previous field matters

How do BOP, BRP and hysteresis affect the full movement?

BOP is the magnetic operate point; BRP is the release point. Their separation is hysteresis. In a positive-field switch with illustrative thresholds of +5 mT and +3 mT, +4 mT can correspond to either state: it depends on which threshold was crossed previously.

For a bipolar latch with illustrative thresholds of +5 mT and −5 mT, removing a positive field is not enough to reset it. That requires the opposite field. The interactive sequence below makes this distinction visible.

What happens when the same field drives a switch and a latch?

Illustrative models, not specifications for any named part. Both use a non-inverted active-low output with a valid pull-up. Initialization is at 0 mT: the switch is released; the latch state is unknown. In this ideal model, reaching a threshold changes state.

Last applied field: 0 mT

Unipolar switchReleased / HIGH

BOP = +5 mT · BRP = +3 mT

At 0 mT, the release condition is satisfied.

Bipolar latchUnknown at startup

BOP = +5 mT · BRP = −5 mT

No threshold has established a state since initialization.

Recent field sequence — newest entry last
FieldSwitch outputLatch output
0 mT (start)HIGHUnknown

Electrical HIGH means released in this model, not “magnet detected.” Real output inversion, startup delays, sampling and threshold tolerances must come from the exact datasheet. Last eight entries are shown.

How is hysteresis different from production tolerance?

Hysteresis describes the operate-to-release separation of a device. Threshold tolerance describes how its limits may vary. Do not treat BOP maximum minus BRP minimum as a measured hysteresis for one IC. TI's transition-detection application brief distinguishes these effects.

For a separate, hypothetical positive-field switch with BOP maximum +6 mT and BRP minimum +1 mT, a present-state minimum of +8 mT and absent-state maximum of +0.5 mT would give field margins of 2 mT and 0.5 mT. Those are arithmetic margins, not a qualified design. Include temperature, magnet variation, assembly offset and external fields; do not reuse these inequalities for a latch or omnipolar response.

04 / Field to voltage, not field to distance

How do you convert a linear Hall sensor's field to voltage?

A first-order analog model is:

VOUT ≈ VQ + S × B

VQ is the zero-field output, S is sensitivity and B is the signed field along the sensing axis. Keep units consistent. A sensitivity of 50 mV/mT is 0.050 V/mT.

Datasheet-based calculation / Not measured results

What does the DRV5055A2 datasheet predict at 5 V and 25°C?

TI lists a typical 2.5 V zero-field output and typical 50 mV/mT sensitivity under these conditions. Using those nominal values:

B = −10 mT
2.0 V
B = 0 mT
2.5 V
B = +10 mT
3.0 V

The +10 mT example is 2.5 + (0.050 × 10) = 3.0 V. These values do not include offset error, sensitivity tolerance, temperature effects, ADC error or output loading. Other supply conditions have different characteristics.

DRV5055 datasheet, Rev. C, electrical characteristics and magnetic response.

A ratiometric sensor's output characteristics track its supply. Using that supply as the ADC reference can reduce sensitivity to shared supply variation, within the specified ratiometry error. It does not remove all offset, noise or temperature error.

Linear with magnetic field does not mean linear with millimeters. Distance conversion needs the magnet geometry and calibration. If the chosen movement path gives the same field at two positions, one field reading cannot distinguish them.

05 / A published result with useful boundaries

How far can a Hall sensor detect a magnet in your assembly?

The IC specifies a magnetic threshold or range. Your magnet and assembly determine the field at the active element. Magnet material, size, orientation, travel path, gap and nearby steel all matter. The enclosure gap also differs from the distance to the sensing element inside the package.

Start with the intended motion, then use magnetic modeling and representative measurements to establish the complete field curve. TI's Magnet Selection for Linear Position Applications, Rev. B explains the geometry and material trade-offs.

Published manufacturer test / TI TIDA-01066, 2016

What does the TIDA-01066 test show about switching distance?

TI's door/window reference-design guide reports a head-on test with the magnet's north-south axis normal to the sensor plane. Table 7 gives these measured switching distances:

K&J D4E · N42 cylinder
¼ in diameter × ⅞ in long
23 mmReported measured switching distance
K&J DCX0 · N42 cylinder
¾ in diameter × 1 in long
60 mmReported measured switching distance

The design also places a second Hall sensor away from the primary magnet to detect an external tampering magnet. That is a system arrangement, not a capability inferred from one switch alone.

The lesson: a “20 mm Hall IC” description hides the magnet and geometry. These are historical results from TI's setup, not guaranteed production limits, YURUNOX measurements or evidence of security certification.

TI TIDUC69, sections 2.1, 4.1.2 and 4.2.2; Tables 4 and 7.

A stronger magnet can improve operation at the largest gap but prevent release at the open position. A linear sensor can also exceed its useful range. Check both endpoints and the path between them, not just the most favorable approach.

06 / Low power has a timing budget

Why can a Hall sensor pass a hand test but miss a moving target?

A slow hand movement keeps the field above the threshold long enough to be detected. A narrow rotating feature may not. Some low-power Hall switches sample periodically instead of monitoring continuously.

200 msNominal interval for a 5 Hz sample rate: 1 ÷ 5.
10 msIllustrative short magnetic event that can occur entirely between samples.

The DRV5032FB is an omnipolar, push-pull device with nominal 5 Hz sampling. That can suit a slowly changing lid state, but the 10 ms example could be missed. It is not enough to calculate a target's average event rate.

Compare the shortest time above the required field threshold with worst-case sensor timing, including startup, sampling variation and response delay. Then verify output edges and the host's interrupt or counting logic. A faster interface cannot recover an event the sensing element never sampled.

07 / A magnetic response still needs a valid circuit

Which output interface does your Hall sensor need?

Choose magnetic behavior and electrical connection separately. A correctly positioned magnet cannot fix a floating output or an incompatible logic level.

What the receiving circuit needs
InterfaceConnectionCheck before substitution
Open-drain / open-collectorA pull-up to a permitted logic rail; output sinks current when active.Sink current, pull-up voltage, resistor value and rise time.
Push-pullDriven HIGH and LOW into a compatible input.Logic thresholds, loading and output contention.
Analog voltageADC or analog signal-conditioning input.Voltage range, ADC reference, offset, noise and loading.
Digital measurement busSupported bus, such as I2C, with firmware configuration.Address, registers, axis mapping, conversion time and data format.

An open-drain output becomes high impedance when released; without a valid pull-up, its voltage is not defined. A smaller pull-up resistance can speed an edge but increases sink current. Select it against the actual load and electrical limits, not a universal resistor value. Littelfuse's technical information explains the sinking-output requirement.

Verify the exact package pinout, including whether a drawing is a top or bottom view. Check local decoupling, supply at the IC, output polarity and the receiver's thresholds. A three-pin Hall IC is not a passive contact, and a continuity test alone cannot establish its function.

08 / The application defines the evidence

Which Hall sensing job are you solving?

Mechanical clutch assembly incorporating a Hall effect sensor
Hall sensor in a rotating mechanismA rotating target passes a magnet and Hall sensor, creating repeatable transitions at a defined air gap.Hall IC + air gap

Fallback diagram: qualify the complete magnetic path and motion, not an isolated distance.

A mechanical assembly places the sensor in a particular magnetic path. This example illustrates integration, not a recommended sensor location or rated design.Photo: Фигушки (Figushki), Wikimedia Commons, CC BY 2.0. Unmodified.

How do you qualify presence and position sensing?

For a lid or end-of-travel detector, qualify repeatable state boundaries through approach and withdrawal. For continuous displacement, establish the field-to-position curve and check whether it remains unambiguous across travel.

A Hall arrangement can work through a suitable nonmagnetic barrier without an optical opening. That does not make the IC, connector, PCB or finished assembly waterproof.

How do rotation and speed become a countable signal?

If f is the number of counted events per second and N is the number of those same events per mechanical revolution:

Speed (rpm) = 60 × f ÷ N

For an illustrative 100 rising edges per second and two rising edges per revolution, speed is 3,000 rpm. Count both edges while assuming rising edges only, and the result can be wrong by a factor of two. Determine N from the actual pole pattern, response type and software counting method.

This arithmetic does not establish the maximum supported speed. Check magnetic pulse width, sampling, output rise time and host capture. For angle or motor commutation, the required phase information and magnet geometry need their own design; a generic speed pulse is not automatically an absolute angle measurement.

Application reference: Allegro's Hall-Effect Sensors Applications Guide.

SparkFun ACS712 Hall current sensor breakout board with separate current and signal connections
Hall current sensor signal pathCurrent flows through a conductor, creates a magnetic field, and a Hall sensor sends an isolated signal to the measurement circuit.load currentHALLsignal pathisolation is device- and layout-specific

Fallback diagram: current path, Hall element and isolation rating must be qualified together.

A current-sensor breakout has a conductor path and a signal interface. This SparkFun ACS712 board is not the TI device discussed in the text, and its appearance does not establish an isolation rating.Photo: SparkFun, Wikimedia Commons, CC BY 2.0. Unmodified.

How does a Hall current sensor measure current?

Purpose-built Hall current sensors can measure DC and AC within their rated range and bandwidth. TI's TMCS1100, for example, combines an internal current conductor with Hall sensing and an isolated signal path.

Hall sensing does not itself guarantee safe isolation. Working voltage, insulation, heating, current capacity and PCB spacing depend on the specific device and assembly. Do not use a generic position IC or an unrated breakout as a qualified high-voltage measurement system.

09 / Preserve behavior when comparing parts

What must stay the same when you compare Hall sensor parts?

These are documented examples, not interchangeable substitutes. The short names below still need a complete ordering code, package and applicable revision before approval.

What a base family name can hide
Device exampleDocumented characteristicPreserve in the requirement
DRV5032FBOmnipolar switch, push-pull output, nominal 5 Hz sampling.Magnetic response, logic compatibility and minimum event duration.
DRV5013 familyBipolar latch with open-drain output; inverted and non-inverted variants.Opposite-pole reset, threshold option and startup behavior.
DRV5055A2Ratiometric linear analog sensor; typical 50 mV/mT at 5 V, 25°C.Transfer function, useful field range, supply and error budget.
TMAG5273Three-axis magnetic measurement with an I2C interface.Firmware, axis mapping, measurement range and conversion settings.

For sourcing context, review YURUNOX's Texas Instruments component page. Stock availability or package similarity does not establish magnetic or electrical equivalence.

10 / Diagnose before rejecting the component

How should you test and troubleshoot a Hall sensor?

Use a current-limited, low-voltage bench setup within the exact device's ratings. Disconnect it from hazardous machinery before a basic functional check. Observe the specified pinout, decoupling and output load.

  1. Verify the circuit at the sensorMeasure supply and ground at the IC. Confirm the pull-up, ADC connection or bus configuration and valid output levels.
  2. Establish polarity and sensing axisUse the package drawing, then move the magnet along the intended path. Test both poles when investigating an unknown response.
  3. Test approach, withdrawal and startupRecord both transitions. Power up at representative field positions, including the region between thresholds.
  4. Observe the moving waveformCheck narrow pulses and output edges with suitable test equipment. A handheld meter can miss a short event.
  5. Repeat the relevant extremesCheck gap, alignment, supply, temperature and external magnetic interference before approving the application.
Illustrative troubleshooting scenario / Not a customer case

What should you verify when a replacement never resets?

A presence sensor originally releases when one magnet moves away. A replacement with the same number of leads turns on during approach and stays on afterward. A bipolar latch substituted for a switch is one possible explanation.

Confirm the ordering code and specified reset condition. If a controlled opposite-pole test explains the behavior, the purchasing correction is to restore the required response type, then repeat the complete movement and startup sequence. A successful one-way magnet test was not enough to prove equivalence.

Symptoms are clues, not confirmed diagnoses
SymptomPossible explanationEvidence to collect
Output never changesWrong axis, pole, pinout or insufficient field.Supply, output circuit and field at the active area.
Stays activeLatch response or field above release limit.Exact reset behavior and full field path.
Erratic switchingFloating node, narrow margin or mechanical motion.Output waveform and field margins.
Pulses disappear at speedSampling, response delay or slow edges.Event duration versus the complete timing budget.
Analog output reaches a limitField or output range exceeded.Transfer-function limits and ADC input range.
11 / Turn the application into a reviewable RFQ

What should you specify before buying a Hall effect sensor?

Send the approved part number when available. If alternatives are allowed, say which requirements must remain unchanged and which still need engineering confirmation.

  • Function and response: presence, displacement, angle, speed or current; switch, latch or field measurement.
  • Magnetic system: magnet material and dimensions, polarity, sensing axes, motion path, gap tolerances, BOP/BRP limits or measurement range.
  • Electrical interface: supply, output type and polarity, host logic or ADC range, loading and pinout.
  • Timing and startup: shortest event, repetition rate, allowed latency and required behavior after power is applied.
  • Production and supply: temperature, complete suffix, package, quantity, required date, traceability and change-control requirements.

If you need a finished industrial sensor rather than an IC, also specify cable, connector, enclosure and environmental requirements. For safety-related functions, component operation alone is not a system safety assessment.

Separate sourcing evidence from application qualification. YURUNOX's quality-assurance information can support the supply review; it does not replace validation of the magnetic design.

Application-led component sourcingSend the movement, not just the part name

Share your approved MPN, quantity and required date, plus the magnet arrangement, gap, response type, supply and shortest event duration. Include whether alternative parts may be considered.

YURUNOX is an electronic-component sourcing partner. Final application qualification remains with your engineering team.

12 / Evidence for the engineering decision

Which technical documents support these Hall sensor claims?

Use the exact revision and ordering code when qualifying a part. The documents below support the physics, device examples, test conditions and interface guidance in this page; they do not make unlike Hall sensors interchangeable.

  1. Allegro: Hall-Effect Sensor ICs, AN296065Hall element, transverse voltage and signal conditioning.
  2. Allegro: Hall-Effect Sensors Applications GuideField geometry, motion, sensing axes and application arrangements.
  3. TI: DRV5032 datasheet, Rev. HDevice variants, magnetic response, output type and sampling.
  4. TI: DRV5013 datasheet, Rev. NLatch thresholds, inversion variants and startup behavior.
  5. TI: DRV5055 datasheet, Rev. CNominal analog output, sensitivity, ratiometry and limits.
  6. TI: TMAG5273 datasheet, Rev. CThree-axis magnetic measurements and I2C communication.
  7. TI: Transition Detection Using Hall-Effect Sensors, SLYA055AOperate/release points, hysteresis and threshold variation.
  8. TI: Magnet Selection for Linear Position Applications, SLYA059BMagnet selection and mechanical geometry.
  9. TI: TIDA-01066 design guide, TIDUC692016 reference design; magnet dimensions and measured switching distances.
  10. TI: TMCS1100 datasheet, Rev. CHall current sensing with implementation-specific isolation and thermal limits.
  11. Littelfuse: Hall Effect Sensor Technical InformationOutput interfacing and differences from reed sensing.
Cart (0 items)