Sensor Digital

Hall Magnetic Sensor Module

A KY-003 Hall magnetic sensor module switches its digital output when the right magnetic field is nearby.

Part images

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

What it is

A KY-003 Hall magnetic sensor module switches its digital output when the right magnetic field is nearby.

How students use it

Students use it for door sensors, wheel magnets, contactless counters, and magnet-triggered projects.

Pins and power

Signal output, VCC, and GND on common KY-003 boards.

Use module power and output levels that are safe for Pico GPIO.

The digital output changes when the Hall sensor detects a field of the expected polarity/strength.

Voltage and safety

Confirm output level before connecting to Pico.

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

Module internals

Main component: Digital Hall-effect switch.

Hall-effect sensor, support components, PCB, and header pins.

Datasheet notes

Digital Hall sensors are threshold devices, not continuous field-strength meters.

Common libraries

Use machine.Pin for the digital output.

Common mistakes

Using the wrong magnet pole, mounting too far away, expecting analog strength data, and forgetting shared ground.