Electronics

Hall Effect Magnetic Sensor Module KY-035

AED 5.25

1

Description

KY-035 is a hall magnetic sensor module that houses an AH49E linear hall effect device that uses a magnetic source to operate, The module adjusts the output voltage, which is typically determined by the input supply voltage and varies inversely in relation to the strength of the magnetic field surrounding the sensor.

Package Includes:

  • 1x Hall Effect Magnetic Sensor Module KY-035

Features:

  • This Module is just like the KY-003 but with Analog output
  • compatible with Arduino Raspberry Pi And ESP32
  • Miniature Construction
    · Power Consumption of 3.5mA at VCC=5V for
  • Energy Efficiency
    · 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

Description:

KY-035 is a hall magnetic sensor module that houses an AH49E linear hall effect device that uses a magnetic source to operate, The module adjusts the output voltage, which is typically determined by the input supply voltage and varies inversely in relation to the strength of the magnetic field surrounding the sensor. The AH49E is an analog signal output Hall IC, and its output voltage changes as the magnetic field changes. Reverse voltage protection, voltage regulators, temperature compensation circuit, Hall-voltage generator, signal amplifier, and other circuit units are all built into the sensor chip. The sensor's excellent voltage regulator and temperature compensation circuit ensure stable operation over a wide voltage and temperature range, while the reverse voltage protection circuit prevents the sensor from being damaged by reverse voltage.

Principle of Work:

As the magnetic induction increases, the sensor will pass through linear, nonlinear, and saturation areas. When the "N" pole of the magnet faces the mark surface of the sensor and is gradually closed to it (B-), the output voltage begins to decrease, but the voltage does not increase with the increased magnetic field. When the "S" pole of the magnet faces the mark surface of the sensor and is gradually closed to the sensor (B+), the output voltage of the sensor begins to increase, but the voltage does not increase with the increased magnetic field.

Pinout of the Board:

  • Pin – is GND, connect to the GND of the MCU
  • The middle pin is the power VCC +5v, connect to MCU +5
  • Pin S signal, connect to MCU's Digital pin 

Applications:

  • Brushless DC electric motors to detect the position of the permanent magnet.
  • Computer printers to detect missing paper and open covers.
  • General switch applications

Circuit:

The Output of the module is going to be connected to the Analog pin A0 on Arduino and 5v and should be connected

Library: 

Code:

We will turn on the LED on pin 13 when you put a magnet near the module.

int led = 13;//LED pin
int sensor = A0; //sensor pin
int val; //numeric variable
void setup()
{
pinMode(led, OUTPUT); //set LED pin as output
}
void loop()
{
val = analogRead(sensor); //Read the sensor
if(val >400) //when magnetic field is detected, turn led on
{
digitalWrite(Led, HIGH);
}
else
{
digitalWrite(Led, LOW);
}
}

Technical Details:

  • Supply Voltage(Vcc) - 5 V
  • Output Current (IO) - 10 mA
  • Operating temperature range: -40℃ ~ 125℃;

Resources:

Tutorial

Datasheet

Comparisons:

The KY-035 is based on the AH49E IC while the KY-003 hall sensor module is based on the 3144EUA-S hall-effect sensor and operates at a voltage range of 4.5V to 24V as a result, the KY-003 module can be connected to an Arduino but not to an ESP8266 or ESP32 microcontroller board due to the low operating voltage of 3.3V while the KY-35 works form voltage of 3v which makes it good for RPi and ESP32. The KY-003 is the same size as the KY-35, the KY-003 gives a digital output while the KY-035 gives an analog output,