Robot Pi Shop

KY-021 Mini Magnetic Reed Switch Module

$1.25
Quantity

The KY-021 Magnetic Reed Switch module is a switch that is normally open and gets closed when exposed to a magnetic field, sending a digital signal. Commonly used in mechanical systems as proximity sensors.

Compatible with Arduino, Raspberry Pi, ESP32 and other microcontrollers. For analog output see the KY-025 reed switch.

KY-021 SPECIFICATIONS

This module consist of a small reed switch actuated by a magnetic field, a 10kΩ resistor, and 3 male header pins.

Operating Voltage 3.3V ~ 5V
Output Type Digital
Board Size 18.5mm x 15mm [0.728in x 0.591in]

CONNECTION DIAGRAM

Connect the module’s Power line (middle) and ground (-) to +5 and GND respectively. Connect signal (S) to pin 2 on the Arduino.

KY-021 Arduino
S Pin 2
middle +5V
GND