Component guide · Beginner · 4 min read
Hall Effect Sensor Modules

A3144 Digital Hall Board, SS49E Linear Hall, LM393 Linear Hall Boards, DFRobot, Grove, Crowtail, Waveshare and HS-S40 Omnipolar Hall Switch Modules
By Geekobot Learning Team · Updated 29 Oct 2026
On this page
Hall sensors detect a magnet without touching it. Digital modules like the A3144 switch on when a magnet's south pole comes close, so they suit RPM counters, door switches and end stops. Linear modules like the 49E give an analog voltage that rises or falls with field strength and polarity, about half the supply with no magnet. Omnipolar modules switch on either pole.
Key specs at a glance
- Digital
- A3144 unipolar, HS-S40 and DFRobot omnipolar
- Linear
- SS49E, DFRobot ±1200 G, HS-S50P
- Outputs
- DO (digital), AO (analog) on LM393 boards
- Supply
- 3.3-5V on most modules
- Range
- A few mm to 2 cm, depends on magnet
- Response
- Fast, kHz rates for speed sensing
Models in this guide
These are alternatives. Pick the one that fits your project; you only need one.
Option 1A3144 Hall Effect Magnetic Sensor Module – Digital Output₹28
Option 2DFRobot Gravity Digital Hall Sensor – Omnipolar Magnetic Detection Module₹759
Option 3DFRobot Gravity Digital Magnetic Sensor – Digital Interface₹349
Option 4DFRobot Gravity Linear Analog Hall Effect Sensor ±1200GS – PH2.0-3P Interface₹349
Option 5Elecrow Crowtail-Hall Sensor 2.0 Module – Unipolar Magnetic Switch₹159
Option 6HS-S40B Omnipolar Hall Magnetic Switch Module – 3.3V/5V Digital Output, PH2.0 4P Interface₹80
What the Hall effect sensor modules (A3144, 49E linear, omnipolar) is
Hall effect sensor modules such as the KY-003, KY-024 and A3144 boards put a Hall sensor, pull-up, LED and sometimes a comparator on a small board, so a microcontroller can detect a magnet.
For counting wheel or fan RPM, glue a small magnet to the rotating part and point a digital Hall module at it. For position or proximity sensing, a linear Hall module shows how close the magnet is, and which pole faces it.
A3144 sensors only react to the south pole on their marked face. If nothing happens, flip the magnet. Neodymium magnets give the longest range.
Hall effect sensor modules (A3144, 49E linear, omnipolar) pinout
The pins on the Hall effect sensor modules (A3144, 49E linear, omnipolar) and what each one does.
| Pin | Function |
|---|---|
| VCC | 3.3-5V |
| GND | Ground |
| DO | Digital output (LOW near magnet on most) |
| AO | Analog output on linear boards |
| Pot | Sets DO threshold on LM393 boards |
- VCC
- 3.3-5V
- GND
- Ground
- DO
- Digital output (LOW near magnet on most)
- AO
- Analog output on linear boards
- Pot
- Sets DO threshold on LM393 boards
Wiring the Hall effect sensor modules (A3144, 49E linear, omnipolar)
Bare A3144 sensors are open-collector: add a 10k pull-up from output to VCC if your board does not have one.
| Hall effect sensor modules (A3144, 49E linear, omnipolar) pin | Connection | Note |
|---|---|---|
| VCC | 5V | Or 3.3V |
| GND | GND | Common |
| DO | D2 | Interrupt pin for RPM |
| AO | A0 | Linear output |
- VCC
- Connection:
- 5V
- Note:
- Or 3.3V
- GND
- Connection:
- GND
- Note:
- Common
- DO
- Connection:
- D2
- Note:
- Interrupt pin for RPM
- AO
- Connection:
- A0
- Note:
- Linear output
Example code
With more than one magnet on the wheel, divide by the number of magnets.
const int HALL = 2;
volatile unsigned long pulses = 0;
void onPulse() { pulses++; }
void setup() {
Serial.begin(9600);
pinMode(HALL, INPUT_PULLUP);
attachInterrupt(digitalPinToInterrupt(HALL), onPulse, FALLING);
}
void loop() {
noInterrupts();
unsigned long p = pulses;
pulses = 0;
interrupts();
Serial.print("RPM: ");
Serial.println(p * 60); // one magnet, counted over one second
delay(1000);
}Setup and tuning
VCC to 5 V or 3.3 V, GND to GND, DO to a digital pin; AO, if present, to an analog pin.
most digital outputs go LOW when a magnet is near; check with the onboard LED.
on comparator modules (KY-024) turn the trimmer to set how close the magnet must be.
unipolar sensors react to one pole only; flip the magnet if nothing happens.
fix a magnet to a wheel or shaft and count pulses with an interrupt.
What you need
Shop this list16 of 17 found in our store · ₹3,249
Generic A3144 Hall Effect Magnetic Sensor Module – Digital Output: the part this guide coversA3144 Hall Effect Magnetic Sensor Module – Digital Output₹28
DFRobot Gravity Digital Hall Sensor – Omnipolar Magnetic Detection Module: another version this guide coversDFRobot Gravity Digital Hall Sensor – Omnipolar Magnetic Detection Module₹759
DFRobot Gravity Digital Magnetic Sensor – Digital Interface: another version this guide coversDFRobot Gravity Digital Magnetic Sensor – Digital Interface₹349
DFRobot Gravity Linear Analog Hall Effect Sensor ±1200GS – PH2.0-3P Interface: another version this guide coversDFRobot Gravity Linear Analog Hall Effect Sensor ±1200GS – PH2.0-3P Interface₹349
Elecrow Crowtail-Hall Sensor 2.0 Module – Unipolar Magnetic Switch: another version this guide coversElecrow Crowtail-Hall Sensor 2.0 Module – Unipolar Magnetic Switch₹159
HS-S40B Omnipolar Hall Magnetic Switch Module – 3.3V/5V Digital Output, PH2.0 4P Interface: another version this guide coversHS-S40B Omnipolar Hall Magnetic Switch Module – 3.3V/5V Digital Output, PH2.0 4P Interface₹80
HS-S40L Hall Magnetic Sensor Module – PH2.0 3-Pin Digital Output: another version this guide coversHS-S40L Hall Magnetic Sensor Module – PH2.0 3-Pin Digital Output₹128
HS-S40P Omnipolar Hall Magnetic Switch Module – PH2.0 4P Interface: another version this guide coversHS-S40P Omnipolar Hall Magnetic Switch Module – PH2.0 4P Interface₹109
Generic HS-S50P Linear Hall Sensor Module – PH2.0 Interface, 3.3V/5V: another version this guide coversHS-S50P Linear Hall Sensor Module – PH2.0 Interface, 3.3V/5V₹109
Generic LM393 Linear Hall Effect Sensor Module – Analog/Digital Output: another version this guide coversLM393 Linear Hall Effect Sensor Module – Analog/Digital Output₹36
Generic Linear Magnetic Hall Sensor Module – LM393 Comparator, Digital/Analog Output: another version this guide coversLinear Magnetic Hall Sensor Module – LM393 Comparator, Digital/Analog Output₹44
Generic SS49E Linear Hall Effect Sensor Module – Analog Output: another version this guide coversSS49E Linear Hall Effect Sensor Module – Analog Output₹32
Seeed Studio Studio Grove Hall Sensor v1.0 – Continuous-Time Hall Effect Sensor Module: another version this guide coversSeeed Studio Grove Hall Sensor v1.0 – Continuous-Time Hall Effect Sensor Module₹739Closest match, check the specs
Waveshare Hall Effect Sensor Module – Analog/Digital Output: another version this guide coversWaveshare Hall Effect Sensor Module – Analog/Digital Output₹259
K800 round NdFeB magnet: a strong test magnetK800 Round Super Circular Magnet – Axially Magnetized NdFeB₹20Closest match, check the specs- Uno R3 development board: the controller used in the wiring tableFind this part
Dupont jumper wires: for the connectionsDupont Jumper Wires (40 pcs)₹49Closest match, check the specs
Alternatives and when to choose them
- Hall effect sensor ICs: bare Honeywell parts.
- Reed switches and door sensors: no power needed.
- Hall current sensor module: measures current.
Common mistakes to avoid
- Powering the module from 5 V and feeding its output into a 3.3 V pin.
- Testing with the wrong magnet pole.
- Polling the pin too slowly to catch fast pulses.
- Mounting the magnet too far from the sensor face.
Frequently asked questions
Why does my Hall module not react to the magnet?
Try the other pole of the magnet and bring it to the marked face of the sensor.
What is the difference between DO and AO outputs?
DO switches on or off at a threshold; AO gives a voltage that rises with field strength.
Can I measure wheel RPM with a Hall module?
Yes. Fix a small magnet on the wheel and count pulses per minute with an interrupt.
Will the module work on a 3.3 V ESP32?
Most A3144 and comparator modules work at 3.3 V; power them from 3.3 V so the output is safe.
Why does the reading flicker near the threshold?
The magnet is right at the switching distance. Move it closer or adjust the trimmer.
Parts for this guide
Keep learning
Sources
Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.

