Skip to main content

Worldwide Shipping · Secure Payments

AI Summary

A compact linear Hall sensor that converts magnetic field strength into a stable analog voltage, detecting both north and south poles. The on-board LED and low-noise output make magnetic field monitoring simple and reliable.

Key Highlights

  • Bipolar sensing detects north and south magnetic poles
  • Linear analog output proportional to magnetic field strength
  • Low-noise output for stable, precise measurements
  • On-board LED indicator lights when a field is detected
  • 3.3 to 5V operation with PH2.0-3P interface
  • Compatible with Arduino, micro:bit, and UNIHIKER

Ideal For

  • Electronics hobbyists exploring magnetic field sensing
  • Arduino and micro:bit users adding analog sensors
  • STEM educators demonstrating the Hall effect
  • Makers building motor control or current detection projects
  • Students working on security or metal detection systems

Buying Tip

Remember that the sensor outputs an analog voltage centred around half the supply voltage, so allow for calibration in your code to map the reading to field strength.

Elecvora expert review

Our verdict

The DFRobot Gravity Linear Hall Sensor offers a straightforward way to add bipolar magnetic field detection to any project, with stable output and helpful visual feedback. Its compact size and Gravity connector make it a practical choice for rapid prototyping.

AI-assisted analysis based on the manufacturer's specifications. Not a hands-on lab test.

Pros

  • Detects both magnetic polarities
  • Low-noise, stable analog output
  • On-board LED for quick status check
  • Plug-and-play Gravity interface
  • Compact 32 x 27 mm footprint

Cons

  • Requires an analog input pin on the controller
  • Measurement range of ±1200GS may not suit very strong magnets
  • No digital interface for direct I2C or SPI use

Best for

Arduino and micro:bit users needing reliable analog magnetic field sensing

Not ideal for

Projects requiring digital output or extremely high field measurements

Specifications

Item TypeSensor
Voltage Rating (V)3.3 to 5
Interface TypePH2.0-3P
Length (mm)32
Width (mm)27
Shipping Weight0.025 kg
Shipping Dimensions6 × 5 × 3 cm

What's in the box

  • 1 x Gravity: Linear/Analog Hall Sensor
  • 1 x Gravity: Analog Sensor Cable for Arduino - 30cm

Frequently Asked Questions

What is the measurement range of this Hall sensor?
The sensor is rated for ±1200 gauss (GS), meaning it can measure magnetic flux density up to 1200 gauss in either polarity.
Can I use this sensor with a 3.3V microcontroller?
Yes, the sensor operates from 3.3V to 5V, so it is compatible with both 3.3V and 5V logic systems.
Does the sensor come with a cable?
Yes, the package includes a 30cm Gravity analog sensor cable for Arduino, which connects directly to the sensor's PH2.0-3P port.
How do I know when a magnetic field is detected?
An on-board LED indicator lights up whenever a magnetic field is present, giving you immediate visual confirmation.
What is the output voltage when no magnet is nearby?
With no magnetic field, the output sits at approximately half the supply voltage (midpoint). It rises above or falls below this midpoint depending on the pole facing the sensor.
Is this sensor compatible with micro:bit?
Yes, the sensor is designed to work with micro:bit as well as Arduino and UNIHIKER, using the Gravity analog interface.

Overview

The DFRobot Gravity Linear Analog Hall Effect Sensor ±1200GS is a high-precision module designed for measuring and monitoring magnetic field strength. At its core, advanced Hall effect circuitry converts magnetic induction directly into a linear voltage output. The sensor responds to both magnetic poles: when a south pole faces the sensing surface, the output voltage rises above the midpoint; when a north pole faces it, the output voltage falls below the midpoint. This bipolar capability, combined with low-noise output and an on-board LED indicator, makes the sensor a versatile tool for electronics projects that require reliable magnetic field detection.

Key Features

  • Bipolar Sensing: Detects both north and south magnetic fields, expanding application possibilities.
  • Low Noise Output: The integrated circuit minimises interference for cleaner readings.
  • Single Current Source Output: Maintains stable signals that are less susceptible to voltage fluctuations.
  • On-board Indicator LED: Lights up when a magnetic field is detected, giving instant visual feedback.
  • High Compatibility: Works with popular controllers such as Arduino, micro:bit, and UNIHIKER via the Gravity interface.

Specifications Explained

The sensor operates from 3.3 to 5V, making it suitable for common microcontroller logic levels. The PH2.0-3P interface ensures a secure, plug-and-play connection to Gravity-compatible boards. With a compact footprint of 32mm by 27mm, it fits easily into tight enclosures or on small robots. The ±1200GS range indicates the sensor can measure magnetic flux density up to 1200 gauss in either polarity, covering typical permanent magnet and electromagnet fields encountered in hobby and educational projects.

Compatibility and Requirements

The module is designed for use with Arduino, micro:bit, and UNIHIKER main controllers. It requires a power supply within the 3.3–5V range and connects via the included Gravity analog sensor cable. No additional libraries are strictly required for basic analog reading, though your controller must have an analog input pin. The on-board LED provides status indication without extra wiring.

Typical Uses

  • Current detection in power monitoring circuits
  • Motor control and position sensing
  • Magnetic field detection for scientific experiments
  • Metal detector projects
  • Security systems and magnetic door sensors
  • Educational demonstrations of the Hall effect

What's in the Box

  • 1 x Gravity: Linear/Analog Hall Sensor
  • 1 x Gravity: Analog Sensor Cable for Arduino – 30cm

Quick specs

Item Type
Sensor
Voltage Rating (V)
3.3 to 5
Interface Type
PH2.0-3P
Length (mm)
32
Width (mm)
27
Shipping Weight
0.025 kg
See all specifications