science tinker

Hall effect sensor (KY-003)

Detects a magnet without touching it: the S pin is HIGH normally and goes LOW when a magnet comes close.

Sensors · Elements inside: SiOCCuSn

Function: what the KY-003 does in a circuit

Detects a magnet without touching it: the S pin is HIGH normally and goes LOW when a magnet comes close.

  • Detects a magnet without contact
  • Gives a clean digital signal
  • Counts wheel turns and senses closed lids

KY-003 key facts

Supply4.5 V to 24 V (5 V on the module)
Outputdigital, LOW when a magnet is near
SensorA3144 Hall switch with a 10 kΩ pull-up
Pins−, +, S

KY-003 pinout

The legs from left to right, as the part is drawn in the simulator:

No.Name
1− (GND)
2+ (VCC)
3S (signal)

How it works

A current flows through a thin slice of silicon inside the A3144 chip. A magnetic field pushes the moving electrons to one side, which makes a tiny voltage across the slice: the Hall effect. The chip amplifies it and switches its output transistor on, pulling S to GND. A 10 kΩ resistor on the board holds S HIGH the rest of the time, and an LED lights when the magnet is detected.

What it is made of

  • Sensor chip: Silicon Hall element with amplifier and switch (A3144) Si
  • Board: Glass-fibre and epoxy circuit board SiOC
  • Legs and pads: Tinned copper CuSn

Where the materials come from: Silicon from quartz sand; copper from ores such as chalcopyrite; tin from cassiterite.

The chemistry

No chemical change happens: the magnetic force on moving charges (the Lorentz force) simply bends their path inside the silicon.

Biology connection

Some animals sense magnetic fields: migrating birds and sea turtles use the Earth’s field to find their way. Nerve impulses →

Safety and the environment

It responds to one pole of the magnet on its front face; turn the magnet over if nothing happens. It switches on and off: it does not measure how strong the field is.

Did you know? Hall sensors count wheel turns in bicycle computers and car anti-lock brakes, and tell a laptop that its lid is closed.

Try it in the simulator

Build and code a circuit with a Hall effect sensor in these practice projects:

Questions students ask

What does the KY-003 do?

Detects a magnet without touching it: the S pin is HIGH normally and goes LOW when a magnet comes close. Main functions: detects a magnet without contact; gives a clean digital signal; counts wheel turns and senses closed lids.

How do I detect a magnet with an Arduino?

Wire the Hall sensor module: − to GND, + to 5V, S to a digital pin. digitalRead() gives HIGH with no magnet and LOW when the magnet is close to the front of the sensor.

What are the connections of the KY-003?

In order: − (GND), + (VCC), S (signal).

How does the KY-003 work?

A current flows through a thin slice of silicon inside the A3144 chip. A magnetic field pushes the moving electrons to one side, which makes a tiny voltage across the slice: the Hall effect. The chip amplifies it and switches its output transistor on, pulling S to GND. A 10 kΩ resistor on the board holds S HIGH the rest of the time, and an LED lights when the magnet is detected.

What is the KY-003 made of?

Sensor chip: Silicon Hall element with amplifier and switch (A3144). Board: Glass-fibre and epoxy circuit board. Legs and pads: Tinned copper.

Is the KY-003 safe? How should it be recycled?

It responds to one pole of the magnet on its front face; turn the magnet over if nothing happens. It switches on and off: it does not measure how strong the field is.

More sensors

Know someone who would use this?

It’s free for every learner. Send it to your class, team or club.

Updated · Free, no sign-up ·

Connected tools

The same idea from another angle, across the site.