Gravity: Linear / Analog Hall Effect Sensor

SKU: DFR1132

The Gravity: Linear/Analog Hall Sensor is a high-precision device designed for measuring and monitoring magnetic field strength, making it ideal for applications requiring precise magnetic field detection, such as industrial control, scientific research, security systems, and various electronic devices. It offers reliable performance and precise measurements, making it invaluable for engineers and electronics enthusiasts in their projects.

Board Overview of Gravity: Linear / Analog Hall Effect Sensor with ±1200 GS Magnetic Field Range

Downloadable Resources

  • Docs
  • Tech Specs
  • 1. Example Code for micro:bit-MakeCode Serial Print

    Place a magnet in the sensor detection area, and print the detected data via the serial port.

    2. Example Code for micro:bit-MindPlus Serial Print

    Place a magnet in the sensor detection area, and print the detected data through the MindPlus terminal.

    3. Example Code for Arduino-MindPlus Analog Read

    When the Hall circuit faces the S pole of the magnet, the analog value gradually increases. Conversely, when facing the N pole of the magnet, the analog value gradually decreases.

    4. Example Code for Arduino-Arduino IDE Analog Read

    When the Hall circuit faces the S pole of the magnet, the analog value gradually increases. Conversely, when facing the N pole of the magnet, the analog value gradually decreases.

    5. Example Code for UNIHIKER-Python Data Display

    Connect the sensor to hardware port P21 on the UNIHIKER, and then display the data detected by the sensor on the UNIHIKER.

    6. Example Code for UNIHIKER-Graphical Programming Data Display

    Connect the sensor to hardware P21 on the UNIHIKER, then display the data detected by the sensor on the UNIHIKER.

    Specification

    Parameter Details
    Operating Voltage 3.3~5V
    Power Supply Current 4.2-8 mA
    Magnetic Field Range ±1200 GS
    Onboard Indicator LED
    Detection Distance <1cm (specific detection distance depends on the intensity and direction of the magnetic field)
    Data Type Analog
    Interface Type PH2.0-3P
    Dimensions 27x32mm
    Product Weight 3.5g (total weight including packaging and sensor cable is 12g)
    Magnetic Pole Range - micro:bit and Arduino (S Pole): 520-1023
    - micro:bit and Arduino (N Pole): 0-500
    - UNIHIKER (S Pole): 2068-4095
    - UNIHIKER (N Pole): 0-2028

    Pinout

    No. Silkscreen Function Description
    1 A Output Signal
    2 VCC Power Supply (Positive)
    3 GND Power Supply (Negative)

    Was this article helpful?

    TOP