# Analog Hall sensor, magnetic, KY-035, 5V

> Analog Hall sensor module KY-035, used to measure the intensity and polarity of a magnetic field, compatible with Arduino, ESP32 and ESP8266. Uses the 49E sensor, operates at 2.7-6V (specified input voltage 5V DC), current draw ~6mA, sensitivity 1.4-2.0mV/GS, operating temperature -40°C to 85°C, dimensions 18.5 x 15mm. Linear analog output with reference signal at half the supply voltage.

- Page: https://sigmanortec.ro/en/analog-hall-sensor-magnetic-ky-035-5v
- Price: 4.15 RON
- Availability: In stock; 1-2 zile
- Reference: 9837 · EAN: 5948388974603
- Category: Mechatronics and IoT > Sensors and Modules > Magnetic and Hall Sensors
- Specifications: Input Voltage: 5 V; Input Voltage Type: “DC” in Romanian can mean **“de ce”**, which translates to **“why”** in English.; Model: KY-035
- Package (shipping data): 0.002 kg
- Updated: 2026-09-14
- Shop: [Sigmanortec.ro](https://sigmanortec.ro/en/llms.txt)
- Prices: RON, VAT included; prices and stock as of 2026-10-22 04:14 (Europe/Bucharest)

## Description

Analog Hall module for measuring magnetic field strength and polarity, ideal for detecting magnets, position or rotation in Arduino, ESP32 and ESP8266 projects. Operates at 2.7-6V, offers linear analog output with reference signal at half the supply voltage, low consumption of approximately 6mA, compact format for easy integration.
KY-035 sensor module, analog, compatible Arduino and other development boards, which uses the Hall effect to detect and measure magnetic fields in its vicinity.
Unlike similar digital sensors, such as the KY-003, this module offers more detailed readings of magnetic field intensity and polarity, which makes it suitable for applications that require accurate information about magnetic field variations.
When it does not detect a magnetic field, the output signal of the module is approximately half of the applied supply voltage. In the presence of a magnetic field, the signal varies depending on the polarity and proximity of the magnet to the sensor, increasing or decreasing accordingly.
Being compatible with popular microcontroller platforms such as Arduino , ESP32 and ESP8266, KY-035 can be integrated into various electronic projects to detect changes in polarity and intensity of magnetic fields.
Specifications:
Operating voltage: 2.7V – 6V
Sensor used: 49E Linear Hall sensor
Power consumption: ~6mA
Sensitivity: 1.4 - 2.0mV/GS
Operating temperature: -40°C to 85°C
Dimensions mm: 18.5 x 15mm
Login:
Connect the power pin (middle pin) to +5V on the Arduino .
Connect the ground pin (-) to GND on Arduino .
Connect the signal pin (S) to A0 on Arduino .
Example code:
This simple code for reading the analog value allows reading and displaying the values of the signal detected by the KY-035 depending on the polarity and intensity of the magnetic field.
int sensorPin = A0; // Magnetic sensor connection pin
int wave; // Variable to store read values
void setup() {
pinMode(A0, INPUT); // Set analog pin as input
Serial.begin(9600); // Initialize the serial interface
}
void loop() {
val = analogRead(sensorPin); // Read the sensor value
Serial.println(wave); // Display the value in the series
delay(100);
}
To visualize more easily the variations in the intensity and polarity of the magnetic field, use the Serial Plotter function in Arduino IDE.
Observations:
For Raspberry Pi users, an external analog-to-digital conversion module is required to interpret the analog signal, this board having no analog inputs.
