Docs

RL-HSB-001 · Sensors · Hall Sensor Breakout

Wiring and integration

Minimal wiring, magnet placement, sign handling, and cable-length guidance.

Published May 4, 2026Updated May 8, 2026Reading time ~12 min

01Minimal connection#

  1. Connect VCC to a stable 3.3 V or 5 V rail.
  2. Connect GND to the controller's analog ground.
  3. Connect OUT to a 12-bit or better ADC input on your microcontroller.
  4. Power on. The red LED should light. If it does not, check polarity.

02Magnet placement#

Place the magnet so its field passes perpendicular to the top face of the Hall sensor. The magnetic axis of detection is normal to the IC package, so fields parallel to the PCB are rejected. Distance of 5 mm or less typically yields the cleanest signal for small neodymium magnets such as N35-N52, 5 x 5 x 3 mm.

03Sign of the response#

If the voltage moves opposite to what your firmware expects, you have two equally valid fixes:

  • Invert the magnet so the opposite pole faces the IC.
  • Negate the field calculation in software: field_mT = -(vout - vcc/2) / sensitivity.

04Cable length#

Up to about 30 cm of unshielded wire is fine on a low-noise rail. Beyond that, or near switching power supplies, use a shielded cable with the shield bonded to GND at the controller end only, and add a 100 nF ceramic capacitor from VCC to GND at the breakout end.

Was this page helpful?Send feedback
Back to top