Sensor Analog

Analog Hall Magnetic Sensor

A KY-035 analog Hall magnetic sensor outputs a changing voltage as magnetic field strength changes.

Part images

KY-035 Module Photo. Module Photo for the KY-035 Analog Hall Magnetic Sensor. Image source: Joy-IT SensorKit KY-035 module documentation
KY-035 Pinout / Module Diagram. Pinout / Module Diagram for the KY-035 Analog Hall Magnetic Sensor. Image source: Joy-IT SensorKit KY-035 module documentation
KY-035 Arduino Wiring Diagram. Arduino Wiring Diagram for the KY-035 Analog Hall Magnetic Sensor. Image source: Joy-IT SensorKit KY-035 module documentation
KY-035 Raspberry Pi Wiring Diagram. Raspberry Pi Wiring Diagram for the KY-035 Analog Hall Magnetic Sensor. Image source: Joy-IT SensorKit KY-035 module documentation

What it is

A KY-035 analog Hall magnetic sensor outputs a changing voltage as magnetic field strength changes.

How students use it

Students use it for magnet-distance graphs, polarity experiments, wheels with magnets, and analog calibration practice.

Pins and power

Analog signal, VCC, and GND on common KY-035 boards.

Use module power that keeps the analog output inside Pico ADC limits.

Read the signal with ADC and compare values as a magnet moves closer, farther, or flips polarity.

Voltage and safety

Keep analog output at or below 3.3V.

Keep strong magnets away from cards, drives, and medical devices.

Module internals

Main component: Analog Hall-effect sensor.

Hall sensor IC, support components, PCB, and header pins.

Datasheet notes

Analog Hall readings need calibration and are affected by magnet type and placement.

Common libraries

Use machine.ADC for readings.

Common mistakes

Using 5V analog output, reading without calibration, mounting near metal, and confusing it with a digital Hall switch.