[{"data":1,"prerenderedAt":66},["ShallowReactive",2],{"blog-hall-effect-sensor-pinout-wiring-en":3},{"title":4,"description":5,"date":6,"lastUpdated":6,"category":7,"image":8,"imageAlt":9,"readingTime":10,"wordCount":11,"timeRequired":12,"htmlContent":13,"faq":14,"tags":30,"slug":34,"sourceLocale":35,"availableLocales":36,"jsonld":42},"Hall Effect Sensor Pinout and Wiring","Identify a Hall-effect sensor by its exact manufacturer part number and package, verify output type and receiver compatibility, and check wiring before power.","2026-11-11","design","/assets/blogs/hall-effect-sensor-pinout-wiring/hall-sensor-cover.svg","Conceptual Hall sensor package beside a datasheet and magnet, with no pin assignments shown",12,2336,"PT12M","\u003Cp>A Hall-effect sensor IC detects a magnetic field, but its three leads do not come with a universal pinout or a universal output behavior. Before connecting one to a logic input, identify the \u003Cstrong>exact manufacturer part number (MPN)\u003C/strong>, package and device variant. Then use its manufacturer’s documentation to map the pins and check the electrical and magnetic behavior.\u003C/p>\n\u003Cp>Identifying the IC, choosing a compatible receiving input and performing an initial bench check can prevent wiring assumptions from reaching the powered circuit. Those checks do not establish a sensor’s accuracy, safety or suitability for a particular product.\u003C/p>\n\u003Cp>\u003Cimg src=\"/assets/blogs/hall-effect-sensor-pinout-wiring/hall-sensor-wiring-decision.svg\" alt=\"Decision sequence for identifying a Hall sensor, checking its package view and output type, then verifying electrical compatibility before wiring and power; stop if identification or connections are uncertain.\">\u003C/p>\n\u003Ch2>Start with the exact device\u003C/h2>\n\u003Cp>Record the manufacturer and full MPN, including suffixes. The suffix can distinguish package, output architecture, magnetic response or other characteristics. A short marking on the package may not uniquely identify the orderable part, so compare it with a reliable bill of materials, packaging label and the manufacturer’s marking information.\u003C/p>\n\u003Cp>Also establish whether you have:\u003C/p>\n\u003Cul>\n\u003Cli>\u003Cstrong>A bare IC:\u003C/strong> Its pins and requirements come from the IC datasheet.\u003C/li>\n\u003Cli>\u003Cstrong>A module or assembled board:\u003C/strong> Its connector may not map directly to the IC pins. The board could already contain a pull-up resistor or other circuitry.\u003C/li>\n\u003C/ul>\n\u003Cp>For a module, consult both the board documentation and the IC datasheet. If the identity, pin mapping or installed circuitry remains uncertain, stop before applying power.\u003C/p>\n\u003Cp>Keep the datasheet revision with your notes, and recheck the applicable revision at release. Read the ordering information as well as the package drawing: a family datasheet can cover several devices that do not all behave alike.\u003C/p>\n\u003Ch2>Read the package drawing in the stated view\u003C/h2>\n\u003Cp>Find the drawing for the \u003Cstrong>actual package\u003C/strong>, then locate the pin-one indicator and the drawing’s viewing direction. A top view and a bottom view can appear mirrored. Likewise, a PCB footprint viewed from its component side must not be confused with a board viewed from the solder side.\u003C/p>\n\u003Cp>Write down the mapping before making connections:\u003C/p>\n\u003Col>\n\u003Cli>Which physical lead is \u003Cstrong>supply\u003C/strong>, often labeled VCC or VDD?\u003C/li>\n\u003Cli>Which is \u003Cstrong>ground\u003C/strong>, usually GND?\u003C/li>\n\u003Cli>Which is \u003Cstrong>output\u003C/strong>, often OUT?\u003C/li>\n\u003Cli>Does the device have any additional pins or package-specific requirements?\u003C/li>\n\u003C/ol>\n\u003Cp>Check the orientation again against the actual device and footprint. A flat face, bevel, dot or package outline can help orient a part, but only when the drawing identifies what that feature means.\u003C/p>\n\u003Ch3>A family example: TI DRV5032\u003C/h3>\n\u003Cp>The TI DRV5032 datasheet, SLVSDC7H, revised December 2024, illustrates why package selection matters. Its \u003Cstrong>FA, FB, FC, AJ and ZE SOT-23 variants\u003C/strong> use this \u003Cstrong>top-view\u003C/strong> numbering:\u003C/p>\n\u003Ctable>\n\u003Cthead>\n\u003Ctr>\n\u003Cth>Pin\u003C/th>\n\u003Cth>SOT-23 function\u003C/th>\n\u003C/tr>\n\u003C/thead>\n\u003Ctbody>\u003Ctr>\n\u003Ctd>1\u003C/td>\n\u003Ctd>VCC\u003C/td>\n\u003C/tr>\n\u003Ctr>\n\u003Ctd>2\u003C/td>\n\u003Ctd>OUT\u003C/td>\n\u003C/tr>\n\u003Ctr>\n\u003Ctd>3\u003C/td>\n\u003Ctd>GND\u003C/td>\n\u003C/tr>\n\u003C/tbody>\u003C/table>\n\u003Cp>The DU SOT-23 variant labels pin 2 \u003Cstrong>OUT2\u003C/strong>; use its own applicable datasheet figure and do not assume its magnetic response or output behavior matches the other variants.\u003C/p>\n\u003Cp>For the FA, FB, FC, AJ and ZE TO-92 variants, the datasheet drawing instead maps pin 1 to VCC, pin 2 to GND and pin 3 to OUT. Use the view stated in that package drawing to locate those leads physically; do not transfer the SOT-23 order to the TO-92 part.\u003C/p>\n\u003Cp>The DRV5032 family also includes different output and magnetic-response variants. The family name alone is not enough to select a wiring scheme or predict how a particular suffix responds.\u003C/p>\n\u003Ch2>Determine what the output actually does\u003C/h2>\n\u003Cp>A Hall IC can present information in several ways. Before selecting a receiving input, identify the output function in the exact device documentation.\u003C/p>\n\u003Ch3>Analog output\u003C/h3>\n\u003Cp>An analog Hall sensor produces a voltage related to the magnetic field under specified conditions. It generally needs an analog-to-digital converter (ADC) or a suitably designed comparator circuit rather than an ordinary digital input expecting a definite high or low.\u003C/p>\n\u003Cp>Check the output range, supply relationship, field range and receiver voltage limits. Do not assume an analog output reaches either supply rail, or that the same voltage corresponds to the same field for every sensor.\u003C/p>\n\u003Ch3>Digital switch\u003C/h3>\n\u003Cp>A digital Hall switch changes output state when the specified magnetic field condition is reached. It may use different operate and release thresholds, called \u003Cstrong>hysteresis\u003C/strong>, to reduce rapid switching near a boundary.\u003C/p>\n\u003Cp>The output can be active-low or active-high depending on the device and how the receiver interprets it. “Magnet detected” is not, by itself, a reliable instruction to expect a high level.\u003C/p>\n\u003Ch3>Digital latch\u003C/h3>\n\u003Cp>A Hall latch retains its output state until the field meets the condition for changing it. Some latch devices require magnetic fields of opposite polarity to set and reset. Merely removing the magnet may not return such a device to its original state.\u003C/p>\n\u003Cp>For both switches and latches, check the actual operate and release conditions rather than assuming that any magnet movement will produce a toggle.\u003C/p>\n\u003Ch2>Understand the output circuit\u003C/h2>\n\u003Cp>The output architecture determines how a valid signal reaches the receiver.\u003C/p>\n\u003Cul>\n\u003Cli>\u003Cstrong>Open-drain or open-collector:\u003C/strong> The output can pull the signal toward its low state, but a pull-up path is needed to establish the high state. That path may be an external resistor, a suitable receiver’s internal pull-up or circuitry already present on a module.\u003C/li>\n\u003Cli>\u003Cstrong>Push-pull:\u003C/strong> The output actively drives both logic states within its specified capabilities. It does not inherently need an external pull-up to create a high state.\u003C/li>\n\u003Cli>\u003Cstrong>Analog:\u003C/strong> The output is a voltage signal, not automatically a switch contact or digital logic output.\u003C/li>\n\u003C/ul>\n\u003Cp>Do not tie a push-pull output directly to a supply to force a high state. Do not add a pull-up to an analog output merely because another Hall sensor used one. In either case, follow the exact device and receiver documentation.\u003C/p>\n\u003Ch3>When a pull-up is required\u003C/h3>\n\u003Cp>For an open-drain or open-collector signal, choose the pull-up rail and resistance from the \u003Cstrong>actual circuit requirements\u003C/strong>, not from a universal Hall-sensor value.\u003C/p>\n\u003Cp>Check that:\u003C/p>\n\u003Cul>\n\u003Cli>The pull-up rail is permitted by the sensor’s output specifications and acceptable to the receiver.\u003C/li>\n\u003Cli>The receiver recognizes the resulting high and low voltages as valid logic levels.\u003C/li>\n\u003Cli>The sensor can sink the pull-up current while maintaining a valid low level.\u003C/li>\n\u003Cli>The resistance and total signal capacitance allow a sufficiently fast rising edge for the intended use.\u003C/li>\n\u003Cli>Any internal pull-up or module resistor is accounted for, including its permitted resistance range.\u003C/li>\n\u003Cli>Power-up, power-down and unpowered-device conditions do not violate either component’s ratings.\u003C/li>\n\u003C/ul>\n\u003Cp>The sensor supply and pull-up rail are not necessarily interchangeable. A different pull-up voltage is appropriate only when the exact sensor, receiver and their power-state conditions allow it.\u003C/p>\n\u003Ch2>Check the supply and receiving input\u003C/h2>\n\u003Cp>Use the sensor’s \u003Cstrong>recommended operating conditions\u003C/strong>, not its absolute maximum ratings, to decide how to power it. Absolute maximum values are limits for avoiding damage under specified conditions; they are not normal operating targets.\u003C/p>\n\u003Cp>Connect supply and ground according to the verified pin map. Provide any decoupling required by the manufacturer, placed as directed by its layout guidance. The receiver and sensor also need an appropriate shared signal reference, typically a common ground, unless the circuit is deliberately designed otherwise.\u003C/p>\n\u003Cp>For the receiving device, check:\u003C/p>\n\u003Cul>\n\u003Cli>Input voltage limits and valid high/low thresholds.\u003C/li>\n\u003Cli>Whether the input is digital, analog or configured with an appropriate comparator.\u003C/li>\n\u003Cli>Input current, leakage and any enabled internal pull-up.\u003C/li>\n\u003Cli>The sensor output’s voltage and current capabilities at the selected supply.\u003C/li>\n\u003Cli>Behavior when one device is powered and the other is not.\u003C/li>\n\u003Cli>The input’s ability to observe the sensor’s specified response or sampling behavior.\u003C/li>\n\u003C/ul>\n\u003Cp>A voltage may be below an input’s damage limit yet still fall in the undefined region between its guaranteed low and high thresholds. Both checks matter.\u003C/p>\n\u003Ch2>Wiring decision table\u003C/h2>\n\u003Cp>This table is a decision aid, not a pinout or a substitute for a device-specific circuit.\u003C/p>\n\u003Ctable>\n\u003Cthead>\n\u003Ctr>\n\u003Cth>Verified sensor output\u003C/th>\n\u003Cth>Suitable receiver\u003C/th>\n\u003Cth>Wiring decision\u003C/th>\n\u003Cth>Confirm before power-up\u003C/th>\n\u003C/tr>\n\u003C/thead>\n\u003Ctbody>\u003Ctr>\n\u003Ctd>Analog voltage\u003C/td>\n\u003Ctd>ADC or designed comparator input\u003C/td>\n\u003Ctd>Connect the documented output to a compatible input with the required reference\u003C/td>\n\u003Ctd>Output range, input range, supply and field conditions\u003C/td>\n\u003C/tr>\n\u003Ctr>\n\u003Ctd>Open-drain or open-collector digital output\u003C/td>\n\u003Ctd>Digital input with compatible thresholds\u003C/td>\n\u003Ctd>Provide a permitted pull-up path if one is not already present\u003C/td>\n\u003Ctd>Pull-up rail and resistance, sink current, rise time and power states\u003C/td>\n\u003C/tr>\n\u003Ctr>\n\u003Ctd>Push-pull digital output\u003C/td>\n\u003Ctd>Digital input with compatible thresholds\u003C/td>\n\u003Ctd>Connect the output to the input as permitted by both devices\u003C/td>\n\u003Ctd>Driven high/low levels, current limits and power states\u003C/td>\n\u003C/tr>\n\u003Ctr>\n\u003Ctd>Unknown output or unidentified module\u003C/td>\n\u003Ctd>Not yet determined\u003C/td>\n\u003Ctd>Do not guess from the number of pins\u003C/td>\n\u003Ctd>Full MPN, module circuitry, package drawing and output type\u003C/td>\n\u003C/tr>\n\u003C/tbody>\u003C/table>\n\u003Ch2>Interpret the magnetic response\u003C/h2>\n\u003Cp>The electrical output is only half the decision. The datasheet must also tell you which field produces the relevant state.\u003C/p>\n\u003Cp>Some devices respond to a specified magnetic polarity; others are designed to respond to either polarity under their stated conditions. A latch may need a particular sequence of fields. The manufacturer’s field-polarity convention, sensing location on the package and orientation of the device all matter.\u003C/p>\n\u003Cp>Record the expected relationship in plain language: which field condition should assert the output, what electrical level represents that state, and what condition should release or reset it. If firmware reads the input, ensure its interpretation matches that relationship.\u003C/p>\n\u003Cp>Avoid specifying a universal magnet distance. Field strength at the sensor depends on the magnet, orientation, spacing and surrounding assembly, while the device’s thresholds and timing come from its own specifications.\u003C/p>\n\u003Cp>The TI DRV5032 family includes unipolar and omnipolar variants as well as different output architectures. Treat those as family options, not as a combined description of every DRV5032 part.\u003C/p>\n\u003Cp>For broader context on identifying parts on a board, see \u003Ca href=\"/en/blog/circuit-board-components/\">circuit-board components\u003C/a>.\u003C/p>\n\u003Cdiv data-component=\"BlogQuickQuoteInline\">\u003C/div>\n\n\u003Ch2>Perform a bounded bench check\u003C/h2>\n\u003Cp>Once the device and wiring are verified, a controlled test can confirm whether the assembled circuit behaves as expected under a defined condition.\u003C/p>\n\u003Col>\n\u003Cli>\u003Cstrong>Inspect with power off.\u003C/strong> Compare the IC orientation, supply, ground, output and any pull-up against the documented pin map and circuit.\u003C/li>\n\u003Cli>\u003Cstrong>Set an allowed supply.\u003C/strong> Use a suitable current limit that protects the setup without preventing normal operation. Check the receiver’s supply and shared reference.\u003C/li>\n\u003Cli>\u003Cstrong>Measure the resting state.\u003C/strong> Apply power and measure the sensor supply and output at the relevant nodes. Confirm that the receiving input sees a valid level.\u003C/li>\n\u003Cli>\u003Cstrong>Apply a defined field condition.\u003C/strong> Use the intended magnet orientation and motion, or another suitable field source, in the sequence specified for that device. Record the position and condition rather than assuming a universal distance.\u003C/li>\n\u003Cli>\u003Cstrong>Observe both ends of the signal.\u003C/strong> Check the output voltage and the state reported by the receiving input. For a latch, apply the documented reset condition as well as the set condition.\u003C/li>\n\u003Cli>\u003Cstrong>Record the result and limits.\u003C/strong> Note the MPN, package, supply, pull-up if used, receiver, field arrangement and observed states.\u003C/li>\n\u003C/ol>\n\u003Cp>If the result differs from expectation, remove power before changing connections. Recheck the view, variant, field polarity, pull-up and receiver thresholds. A meter can show steady states; a suitable oscilloscope may be needed to inspect transitions, with the probe and ground connected safely.\u003C/p>\n\u003Cp>An unexpected output does not by itself establish that the IC has failed. For a broader approach to separating device, connection and circuit faults, see \u003Ca href=\"/en/blog/electronic-component-failure-modes/\">electronic component failure modes\u003C/a>.\u003C/p>\n\u003Cp>A successful static toggle confirms only the tested arrangement and conditions. It does \u003Cstrong>not\u003C/strong> prove response at the required motion speed, positional precision, noise immunity, long-term reliability or safety performance.\u003C/p>\n\u003Ch2>Pre-power checklist\u003C/h2>\n\u003Cul>\n\u003Cli>\u003Cinput disabled=\"\" type=\"checkbox\"> Manufacturer, full MPN, package and datasheet revision are recorded.\u003C/li>\n\u003Cli>\u003Cinput disabled=\"\" type=\"checkbox\"> Bare IC versus module is established; module circuitry is understood.\u003C/li>\n\u003Cli>\u003Cinput disabled=\"\" type=\"checkbox\"> Pin-one location and drawing view match the physical device and footprint.\u003C/li>\n\u003Cli>\u003Cinput disabled=\"\" type=\"checkbox\"> Supply, ground and output are mapped without assuming a universal order.\u003C/li>\n\u003Cli>\u003Cinput disabled=\"\" type=\"checkbox\"> Analog, switch or latch behavior is identified for the exact variant.\u003C/li>\n\u003Cli>\u003Cinput disabled=\"\" type=\"checkbox\"> Output architecture and active electrical polarity are recorded.\u003C/li>\n\u003Cli>\u003Cinput disabled=\"\" type=\"checkbox\"> Magnetic operate, release or reset conditions are understood.\u003C/li>\n\u003Cli>\u003Cinput disabled=\"\" type=\"checkbox\"> Supply and receiver meet recommended operating and input conditions.\u003C/li>\n\u003Cli>\u003Cinput disabled=\"\" type=\"checkbox\"> Any required pull-up is compatible with the sensor, receiver and timing.\u003C/li>\n\u003Cli>\u003Cinput disabled=\"\" type=\"checkbox\"> Decoupling, grounding and power-state behavior have been checked.\u003C/li>\n\u003Cli>\u003Cinput disabled=\"\" type=\"checkbox\"> The bench test has defined expected states and a documented scope.\u003C/li>\n\u003C/ul>\n\u003Cp>When preparing a board-related inquiry, you can \u003Ca href=\"/en/quote/\">request a quote\u003C/a> with the verified part and circuit information. A quote request does not replace the component and electrical checks above.\u003C/p>\n\u003Ch2>FAQ\u003C/h2>\n\u003C!-- faq:start -->\n\n\u003Ch3>Can I identify a Hall sensor’s pins by its three-lead package?\u003C/h3>\n\u003Cp>Not reliably. Different packages—and different devices in similar packages—can assign supply, ground and output differently. Identify the exact part and use its package drawing and stated view.\u003C/p>\n\u003Ch3>Does every Hall sensor need a pull-up resistor?\u003C/h3>\n\u003Cp>No. An open-drain or open-collector output needs a suitable pull-up path to establish a high level, but that path may already exist. A push-pull output does not inherently require one, and an analog output must be connected according to its own specifications.\u003C/p>\n\u003Ch3>Can an analog Hall output connect directly to a digital input?\u003C/h3>\n\u003Cp>Only if the complete circuit is designed to make that appropriate. Normally, use a compatible ADC or comparator for an analog signal; an ordinary digital input may interpret intermediate voltages unpredictably.\u003C/p>\n\u003Ch3>Will either pole of a magnet activate a Hall switch?\u003C/h3>\n\u003Cp>Not necessarily. Magnetic response depends on the exact device. Check its polarity convention and operate/release conditions; some variants are omnipolar, while others have different requirements.\u003C/p>\n\u003Ch3>Does a successful magnet toggle prove the sensor is ready for production?\u003C/h3>\n\u003Cp>No. It confirms behavior only for the tested circuit and field condition. Requirements such as timing, positional tolerance, noise immunity, reliability and safety need separate evidence and testing.\u003C/p>\n\u003C!-- faq:end -->\n\u003Csection class=\"related-links\" aria-label=\"Related\">\u003Ch3>Related links\u003C/h3>\u003Cul>\u003Cli>\u003Ca href=\"/en/blog/circuit-board-components/\">Circuit Board Components: Common PCB Parts, What They Do and How to Identify Them\u003C/a>\u003C/li>\u003Cli>\u003Ca href=\"/en/blog/electronic-component-failure-modes/\">Electronic Component Failure Modes: Types, Causes and Diagnosis\u003C/a>\u003C/li>\u003Cli>\u003Ca href=\"/en/quote/\">request a quote\u003C/a>\u003C/li>\u003C/ul>\u003C/section>",[15,18,21,24,27],{"question":16,"answer":17,"answerText":17},"Can I identify a Hall sensor’s pins by its three-lead package?","Not reliably. Different packages—and different devices in similar packages—can assign supply, ground and output differently. Identify the exact part and use its package drawing and stated view.",{"question":19,"answer":20,"answerText":20},"Does every Hall sensor need a pull-up resistor?","No. An open-drain or open-collector output needs a suitable pull-up path to establish a high level, but that path may already exist. A push-pull output does not inherently require one, and an analog output must be connected according to its own specifications.",{"question":22,"answer":23,"answerText":23},"Can an analog Hall output connect directly to a digital input?","Only if the complete circuit is designed to make that appropriate. Normally, use a compatible ADC or comparator for an analog signal; an ordinary digital input may interpret intermediate voltages unpredictably.",{"question":25,"answer":26,"answerText":26},"Will either pole of a magnet activate a Hall switch?","Not necessarily. Magnetic response depends on the exact device. Check its polarity convention and operate/release conditions; some variants are omnipolar, while others have different requirements.",{"question":28,"answer":29,"answerText":29},"Does a successful magnet toggle prove the sensor is ready for production?","No. It confirms behavior only for the tested circuit and field condition. Requirements such as timing, positional tolerance, noise immunity, reliability and safety need separate evidence and testing.",[31,32,33],"Hall effect sensor","sensor pinout","PCB design","hall-effect-sensor-pinout-wiring","en",[35,37,38,39,40,41],"de","it","cn","fr","ru",{"blog":43,"breadcrumb":52},{"@context":44,"@type":45,"headline":4,"description":5,"image":8,"url":46,"datePublished":6,"dateModified":6,"timeRequired":12,"keywords":47,"articleSection":7,"author":48,"publisher":51},"https://schema.org","BlogPosting","https://hilpcb.com/en/blog/hall-effect-sensor-pinout-wiring/","Hall effect sensor, sensor pinout, PCB design",{"@type":49,"name":50},"Organization","HILPCB",{"@type":49,"name":50},{"@context":44,"@type":53,"itemListElement":54},"BreadcrumbList",[55,60,64],{"@type":56,"position":57,"name":58,"item":59},"ListItem",1,"Home","https://hilpcb.com/",{"@type":56,"position":61,"name":62,"item":63},2,"Blog","https://hilpcb.com/en/blog/",{"@type":56,"position":65,"name":34,"item":46},3,1795020490780]