
OVERVIEW:
The KY-024 Linear magnetic Hall sensor reacts
in the presence of a magnetic field. It has a potentiometer to adjust the
sensitivity of the sensor and it provides both analogue and digital outputs.
The digital output acts as a switch that will
turn on/off when a magnet is near, similar to the KY-003. On the other hand,
the analogue output can measure the polarity and relative strength of the
magnetic field.
Specifications:
The KY-024 module consists of a 49E Linear
Hall-Effect Sensor, an LM393 Dual Differential Comparator, a potentiometer, two
LEDs and six resistors. It's compatible with popular electronics platforms like
Arduino, Raspberry Pi, Esp8266 and Teensy.
Arduino KY-024 Connection Diagram:
Connect board's power line (+) and ground (G)
to 5V and GND respectively. Connect the digital signal (D0) to pin 3 on the
Arduino and the board's analog signal (A0) to pin A0 on the Arduino.
KY-024 Example Code:
The following Arduino sketch will read values
from both digital and analog interfaces on the KY-024. The digital interface will turn on the
Arduino's LED when a magnetic field is detected.
The analog interface starts at an initial
value determined by the input voltage and the potentiometer, this value will
increase or decrease depending on the intensity and polarity of the magnetic
field.
Document:
Product Details | |
Product Name | Arduino KY-024 Linear Magnetic Hall Module |
Price | Rs. 150/- |
Frequency | |
Sensitivity | 1.0 mV/G min., 1.4 mV/G typ., 1.75 mV/G max. |
Summary | |
Operating Voltage | 2.7V to 6.5V |
General Specification | |
Dimensions | 1.5cm x 3.6cm [0.6in x 1.4in] |