Hall Effect Sensor Module

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 a digital output. The digital output acts as a switch that will turn on/off when a magnet is near.

Quick Spec

  • Operating Voltage: 2.7 ~ 6.5V
  • Sensitivity: 1.0 mV/G min., 1.4 mV/G typ., 1.75 mV/G max.
  • Current Input: 8mA
  • Output Current: 20mA
  • Response Time: 3uS
  • Board Dimensions: 15 x 36mm
  • Weight: 4g

Wiring Diagram

KY-024-004

   KY-024       Arduino   
   A0    A0
   G       GND   
   +    5V
   D0       3


Sample Code



int led = 13 ; // LED on arduino
int digitalPin = 3; // linear Hall magnetic sensor digital interface
int analogPin = A0; // linear Hall magnetic sensor analog interface
int digitalVal ; // digital readings
int analogVal; // analog readings

void setup ()
{
  pinMode (led, OUTPUT); 
  pinMode (digitalPin, INPUT); 
  //pinMode(analogPin, INPUT); 
  Serial.begin(9600);
}

void loop ()
{
  // Read the digital interface
  digitalVal = digitalRead(digitalPin) ; 
  if (digitalVal == HIGH) // When magnetic field is present, Arduino LED is on
  {
    digitalWrite (led, HIGH);
  }
  else
  {
    digitalWrite (led, LOW);
  }
  
  // Read the analog interface
  analogVal = analogRead(analogPin);
  Serial.println(analogVal); // print analog value

  delay(100);
}


Resources

Shipping List

  • 1 x Hall Effect Sensor Module


Hall Effect Sensor Module

  • Brand: Generic
  • Product Code: KY-024
  • Weight: 0.004kg
  • Product Status : Active
  • Stock

    Warehouse Stock Status Location
    Centurion No Stock
    Stellenbosch No Stock
    Bulk Location No Stock

    We ship free of charge between branches to complete your order.

  • R26.00 (Inc Tax: R29.90)


Related Products

A3144 Hall Effect Sensor (4 Pack)

A3144 Hall Effect Sensor (4 Pack)

A3144 Hall Effect Sensor (4 Pack) The A3144E is an integrated Hall effect latched sensor. This makes for a robust presence sensor. A reed sensor also works nicely, but can be limited by the glass e..

Centurion (No Stock)
Stellenbosch (No Stock)
Bulk Location (No Stock)
Part No: A3144E
Product Status : Active

R12.00 (Inc Tax: R13.80)

N35 Magnet with Hole (4 Pack)

N35 Magnet with Hole (4 Pack)

N35 Magnet with Hole (4 Pack) Usages Acoustic field: the speaker, receiver, microphone, alarm, stage audio, car audio and so on. Electronics: permanent magnetic actuator vacuum circuit ..

Centurion (In Stock)
Stellenbosch (In Stock)
Bulk Location (No Stock)
Part No: N35-MAG-KIT
Product Status : Active

R25.00 (Inc Tax: R28.75)

Round 3mm Magnet Kit (8 Pack)

Round 3mm Magnet Kit (8 Pack)

Round 3mm Magnet Kit (8 Pack) Usages Acoustic field: the speaker, receiver, microphone, alarm, stage audio, car audio and so on. Electronics: permanent magnetic actuator vacuum circuit break..

Centurion (No Stock)
Stellenbosch (No Stock)
Bulk Location (No Stock)
Part No: N30-MAG-KIT
Product Status : Active

R25.00 (Inc Tax: R28.75)

Adjustable Industrial Magnet 38 x 8mm

Adjustable Industrial Magnet 38 x 8mm

Adjustable Industrial Magnet 38 x 8mm If you need an adjustable magnet to activate your reed or magnetic switch, the 59065 might be the perfect solution for you. This small plastic barrel sensor me..

Centurion (In Stock)
Stellenbosch (In Stock)
Bulk Location (No Stock)
Part No: 57065-000
Product Status : Active

R44.00 (Inc Tax: R50.60)

Reed Switch Normally Open Length 20mm

Reed Switch Normally Open Length 20mm

Reed Switch Normally Open Length 20mm The reed switch is an electrical switch operated by an applied magnetic field. In its simplest and most common form, it consists of a pair of ferromagnetic f..

Centurion (In Stock)
Stellenbosch (In Stock)
Bulk Location (No Stock)
Part No: REED20-NO
Product Status : Active

R12.00 (Inc Tax: R13.80)

Magnetic Relay with Sensor

Magnetic Relay with Sensor

Magnetic Relay with Sensor The Magnetic Relay with Sensor is a 5V DC relay that is triggered by the magnetic door switch. It has a trimpot to adjust the delay of the relay once the magnetic switch ..

Centurion (In Stock)
Stellenbosch (In Stock)
Bulk Location (No Stock)
Part No: MAG-RELAY-MOD
Product Status : Active

R58.00 (Inc Tax: R66.70)

GPS-11B Reed Switch Normally Close (4 Pack)

GPS-11B Reed Switch Normally Close (4 Pack)

GPS-11B Reed Switch Normally Close (4 Pack) The reed switch is an electrical switch operated by an applied magnetic field. In its simplest and most common form, it consists of a pair of ferrom..

Centurion (In Stock)
Stellenbosch (In Stock)
Bulk Location (No Stock)
Part No: GPS-11B
Product Status : Active

R24.00 (Inc Tax: R27.60)

GPS-11A Reed Switch Normally Open (4 Pack)

GPS-11A Reed Switch Normally Open (4 Pack)

GPS-11A Reed Switch Normally Open (4 Pack) The reed switch is an electrical switch operated by an applied magnetic field. In its simplest and most common form, it consists of a pair of ferroma..

Centurion (In Stock)
Stellenbosch (In Stock)
Bulk Location (No Stock)
Part No: GPS-11A
Product Status : Active

R24.00 (Inc Tax: R27.60)

DF Robot Analog/Linear Hall Affect Sensor

DF Robot Analog/Linear Hall Affect Sensor

DF Robot Analog/Linear Hall Affect Sensor The DF Robot Gravity Analog/Linear Hall Effect Sensor is a high-precision tool for detecting magnetic fields, utilizing advanced Hall effect technology to ..

Centurion (In Stock)
Stellenbosch (In Stock)
Bulk Location (No Stock)
Part No: DFR1132
Product Status : Active

R58.00 (Inc Tax: R66.70)

Tags: hall, effect, sensor, reed, switch, magnet, magnetic, detect, ss49e, lm393, react, analog, digital, polarity