Free Shipping over ₹1199

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 analog and digital outputs.

The digital output acts as a switch that will turn on/off when a magnet is near, whereas the analog output can measure the polarity and relative strength of the magnetic field.

The KY-024 module consists of a 49E Linear Hall-Effect Sensor, a LM393 Dual Differential Comparator, a potentiometer, two LEDs and six resistors. It’s compatible with popular electronics boards like Arduino, Raspberry Pi, ESP32 and ESP8266.

Features
  • Miniature Construction
  • Single Current Sourcing Output
  • Linear Output for Circuit Design Flexibility
  • Low Noise Output Virtually Eliminates the Need
    for Filtering
  • A Stable and Accurate Output
  • Temperature Range of -40oC to 85oC
  • Responds to Either Positive or Negative Gauss
/*Author : OceanLabz 
  Module : KY-024
*/

 #define DIGITAL 1
 const int LED = 13 ; // LED as Indicator
 const int digitalPin = 3; // magnetic sensor digital interface
 const int analogPin = A0; // magnetic sensor analog interface
 const int digitalVal ; // digital value readings
 const int analogVal; // analog value readings

 void setup ()
 { 
    pinMode (LED, OUTPUT);

    #if DIGITAL
       pinMode (digitalPin, INPUT);
    #else
       pinMode(analogPin, INPUT);
    #endif

    Serial.begin(9600);
 } 

 void loop ()
 { 
    #if DIGITAL
       //Read digital values
       digitalVal = digitalRead(digitalPin) ;
       // When magnetic field is present, Turn ON LED
       if (digitalVal == HIGH) 
       { 
          digitalWrite (LED, HIGH);
       } 
       else
       { 
          digitalWrite (LED, LOW);
       }
   #else
       //Read the analog values
       analogVal = analogRead(analogPin);
       // print analog value
       Serial.println(analogVal);
   #endif
       delay(100); 
}

 

Applications
  • Current Sensing
  • Motor Control
  • Position Sensing
  • Magnetic Code Reading
  • Ferrous Metal Detector
  • Vibration Sensing
  • Liquid Level Sensing
  • Weight Sensing

 

Reviews

There are no reviews yet.

Be the first to review “KY-024 Linear Magnetic Hall Effect Sensor Module”

Your email address will not be published. Required fields are marked *


Recently Viewed

  • Night Vision Sensitive Infrared Light 3W for Raspberry Pi Camera
    180.00 (incl. GST)
  • TP4056 1A Li-Ion Lithium Battery charging Module with Current Protection - Micro USB
    299.00 99.00 (incl. GST)
  • LM393 Optical Photosensitive LDR light sensor module
    199.00 99.00 (incl. GST)
  • CSR8645 Wireless 4.0 Amplifier Board 5W plus 5W APT-X Stereo Receiver Amplifier Module
    699.00 590.00 (incl. GST)
  • GPD2846A TF Card MP3 Decoder Board 2W Amplifier Module
    199.00 149.00 (incl. GST)
  • LDR Light Dependent Resistor 5mm (Pack of 2)
    55.00 (incl. GST)
Need Help?
KY-024 Linear Magnetic Hall Effect Sensor Module
149.00 99.00 (incl. GST)

3 in stock