Skip to product information
1 of 2

Blue PCB Electronics

2C21 Hall Effect Magnetic Sensor Module Ky-035

2C21 Hall Effect Magnetic Sensor Module Ky-035

Regular price Dhs. 15.00
Regular price Sale price Dhs. 15.00
Sale Sold out
View full details

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.

Datasheet

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

 

Pinout of the Board:

Below is the pin configuration of the KY-035 magnetic sensor. This pin configuration can be used when connecting the module to any microcontroller.

Pin Number

Pin Type

1

Signal(Analog)

2

Vcc(+5V)

3

Ground

 

 

 

PROJECT – ARDUINO MAGNETIC FIELD DETECTOR:

After learning about the KY-035 module and the 49E IC, it is now time to build a project using the module. Our project will activate the built-in LED of an Arduino Uno when there is a magnetic field near the KY-035 module.

 

PROJECT COMPONENTS:

For this project, we need the following components:

  • Arduino Uno board (1 pc.)
  • KY-035 Magnetic Hall Sensor (1 pc.)
  • Jumper wires

 

WIRING DIAGRAM:

Figure 2 shows the connection between the Arduino Uno and the KY-035 Magnetic Hall Sensor.

 

The KY-035 module pins are connected to the Arduino Uno board as follows:

COMPONENT PIN UNO BOARD PIN
(-) GND
Middle Pin +5V
S A0

 

CODE:

Below is the Arduino sketch for our project. I have added comments to explain important parts of the code. Save the code as KY-035.ino and upload it to your Arduino board.

// Arduino and KY-035 module

void setup ()
{
Serial.begin(9600); // initialize serial
}

void loop ()
{
Serial.print(analogRead(A0)); // display analog and digital values to serial
}

 

PROJECT TEST:

Apply power to your Arduino Uno board and open the Serial Monitor. The analog value sent by the module will be displayed in the serial monitor. A value from 0~128 means a negative magnetic polarity while value from 129~255 means a positive magnetic polarity.