Description
A reed module is a magnetic sensor that is normally open and get closed when exposed to a magnetic field.
Under normal conditions the 2 plates do not touch creating an open circuit digital output 0 when the switch is placed in the range of a magnetic field the 2 plates are attracted to each other and touch closeing the circuit and giving digit output 1.
The KY-025 Reed Switch Module is a magnetic proximity sensor that detects the presence of a magnetic field using a reed switch, making it ideal for Arduino, Raspberry Pi, and microcontroller-based projects.
The module offers both a digital output (triggered by magnetic field presence) and an analogue output that provides finer signal variation. The digital output’s sensitivity can be adjusted via the onboard potentiometer, allowing for flexible integration in security systems, proximity alerts, or door/window sensors.
Compact, responsive, and easy to use, it’s perfect for contactless switching, home automation, or STEM electronics projects.
- Module: KY-025
- Sensor Type: Magnetic Reed Switch
- Function: Detects magnetic proximity/contact
- Output Type: Analogue (A0) & Digital (D0)
- Operating Voltage: 3.3V – 5V
- 4-Pin Interface: VCC, GND, A0 (analogue), D0 (digital)
- Digital Threshold: Adjustable via onboard potentiometer
- Module Size: Approx. 37mm x 15mm x 13mm
Key Features:
- Module: KY-025
- Function: Magnetic field detection using reed switch
- Dual Output:
- Analogue (A0) – varying signal with magnetic strength
- Digital (D0) – HIGH/LOW based on magnetic field presence
- Sensitivity: Adjustable via potentiometer
- Voltage: 3.3V – 5V
- Interface: VCC, GND, A0, D0
- Compatible with Arduino, Raspberry Pi, ESP32, etc.
- LED indicator for digital output status
What’s Included:
- 1x KY-025 Reed Switch Magnetic Sensor Module
Great For:
- Magnetic Proximity Detection
- Door/Window Open Detection
- Security & Intrusion Systems
- Contactless Magnetic Switches
- Smart Home Automation
- STEM Kits & Educational Electronics
Usage Tips:
- Use digitalRead() to detect if a magnet is near
- Adjust potentiometer to change digital trigger sensitivity
- analogRead() can give variable values based on field strength
- Mount near a door, drawer, or moving part for status detection
- Combine with magnets for simple contactless event triggers


