Hall Effect Sensor A3144

Photo of author

By Jackson Taylor

Home » Hardware » Hall Effect Sensor A3144

As an Amazon Associate we earn from qualifying purchases.

A3144 Hall Effect Sensor Overview

The A3144 is a small Hall effect switch. It detects a magnetic field and changes its output between two states: on or off. It does not measure field strength as a smooth value. That makes it a good choice for projects that only need to know whether a magnet is close or not.

It comes in a three-pin plastic package that looks like a small transistor. It is cheap, easy to find and easy to wire, so it shows up in a lot of hobby electronics and light industrial designs.

A3144 A3144 variant

Hardware Hack

Stop Buying New Batteries for Your Tech

Electronics are expensive, but their power sources don't have to be. Discover the simple engineering trick to recondition dead batteries and bring your gadgets back to 100% capacity.

Watch the Free Video

How the A3144 Works

Inside the chip, a Hall element produces a tiny voltage when a magnetic field passes through it. Built-in circuitry turns that signal into a clean digital output.

The output is an open-collector type. When a magnet’s south pole faces the printed side of the sensor and the field is strong enough, the output is pulled to ground (LOW). When the magnet moves away, the output is released and a pull-up resistor brings the line HIGH.

Two points follow from this:

  • It is polarity sensitive. The sensor responds to one pole on the marked face. If it never switches, flip the magnet over.
  • It needs a pull-up. Without a pull-up resistor the output will float when it is off, and you will read random values.

The sensor also has a little hysteresis. It switches on at a slightly stronger field than the one at which it switches off. This prevents flickering when a magnet sits right at the edge of the sensing range.

A3144 Pinout

Hold the sensor with the flat, printed face toward you and the pins pointing down. From left to right the pins are:

  1. VCC: supply voltage
  2. GND: ground
  3. OUT: open-collector output

Check this against the datasheet for your exact part before powering it. Reversing the supply pins can damage the sensor.

See also
8051

Key Characteristics

  • Output type: digital, open collector, switches to ground
  • Supply voltage: roughly 4.5 V to 24 V, so it runs directly from a 5 V Arduino supply
  • Output current: it can sink a small load, in the tens of milliamps, but is best used to drive a logic input rather than a load
  • Sensing: unipolar, meaning it responds to one magnetic pole
  • Range: short. Expect detection within a few millimetres to a couple of centimetres, depending on magnet strength

Because the minimum supply is above 3.3 V, it is not a direct fit for 3.3 V-only boards. In that case, power the sensor from 5 V and make sure the signal reaching your board stays at a safe logic level.

Wiring the A3144 to an Arduino

The wiring is simple:

  1. Connect VCC to the 5 V pin.
  2. Connect GND to ground.
  3. Connect OUT to a digital input pin, for example pin 2.
  4. Add a pull-up resistor of about 10 kΩ between OUT and 5 V, or enable the board’s internal pull-up in your code.

In the sketch, set the pin as an input (with the internal pull-up if you did not add a resistor) and read it. A LOW reading means a magnet is detected. A HIGH reading means there is none.

For counting fast events, such as a spinning wheel, attach an interrupt to the pin and count the falling edges. Polling in the main loop can miss pulses at higher speeds.

Sustainable Tech

Keep Toxic E-Waste Out of Landfills

Don't throw away your failing laptop, phone, or car batteries. Learn how to recondition them at home in just a few hours. It's better for the planet—and your wallet.

Learn How It Works

Common Uses

Speed and RPM measurement

Fix a small magnet to a wheel, fan or shaft and place the sensor next to its path. Each pass produces one pulse. If you count pulses over a known time and know how many magnets you used, you can work out revolutions per minute.

Position and limit detection

A magnet on a moving part and a sensor on the frame can signal when a door is closed, a slide has reached its end, or a lid is shut. There is no mechanical contact, so nothing wears out.

See also
PIC

Motors and flow

Hall sensors are widely used to detect rotor position in brushless DC motors. Many low-cost water flow sensors also use a small magnet and a Hall sensor to count rotor pulses.

Tips for Reliable Results

  • Test the magnet orientation first. Bring each pole toward the printed face and note which one triggers the sensor.
  • Keep the gap small and consistent. A fixed distance gives repeatable switching.
  • Add a decoupling capacitor (around 0.1 µF) close to the supply pins if you see noise, especially near motors.
  • Keep wires short or use shielded cable for long runs.
  • Avoid mixing stray magnets near the sensor, such as speakers or motors, which can cause false triggers.

When a Different Sensor Is Better

The A3144 only tells you that a magnet is present. If you need to measure the strength of a field, or detect either pole, look at a linear Hall sensor or a bipolar or omnipolar switch instead.

If your goal is to measure distance without a magnet, an ultrasonic distance sensor is a better fit. For monitoring heat in the same project, you could pair the A3144 with a temperature sensor for Arduino boards.

FAQ

Is the A3144 analog or digital?

It is digital. The output is either on (LOW) or off (HIGH). It does not give a value that changes with field strength.

Why does my A3144 not trigger?

The most common causes are the wrong magnet pole facing the sensor, no pull-up resistor, or a magnet that is too weak or too far away. Also check that VCC and GND are connected to the correct pins.

Can I use the A3144 with a 3.3 V board?

The sensor is specified for a supply starting at about 4.5 V, so a 3.3 V supply is outside its rating. Power it from 5 V and make sure the signal your board sees is at a safe level.

Do I need a resistor with the A3144?

Yes. The open-collector output needs a pull-up to a positive voltage. A 10 kΩ resistor is a common choice, and many microcontrollers have an internal pull-up you can enable instead.

See also
Composite Energy Storage System with Photovoltaic Power Generation and UPS Function

Revive Your Dead Electronics

Got a drawer full of dead gadgets or a failing car battery? Instead of paying a premium for replacements, use this simple trick to easily recondition them right from home.

See How It Works