Skip to Content

Switch Reed Magnetic Mini Sensor Module

The Reed Switch Sensor Module is a compact and versatile electronic module designed to detect the presence or absence of a magnetic field. The module comprises several components including a Reed Switch, resistors, capacitor, potentiometer, comparator LM393 IC, power, and status LED, all integrated on a single circuit board.

Package Includes:

  • 1 x Reed Switch Sensor Module

6.30 AED 6.30 AED Tax Included
6.30 AED Tax Included

Not Available For Sale

This combination does not exist.

Magnetic Switch and Sensor

Terms and Conditions
30-day money-back guarantee
Shipping: 2-3 Business Days

 

Features

  • Simple magnetic proximity detection
  • Digital output (HIGH/LOW)
  • Built-in pull-up resistor and signal conditioning circuit
  • Compact and easy to integrate
  • Compatible with Arduino, Raspberry Pi, and other microcontrollers

Specifications

Parameter Value
Operating Voltage 3.3V – 5V DC
Output Type Digital (High/Low)
Detection Method Magnetic field
Module Dimensions Approx. 32mm x 14mm
Mounting Hole Yes

Pinout

Pin Label Description
1 + VCC (3.3V to 5V power supply)
2 GND (Ground)
3 S Signal output (HIGH when no magnet, LOW when magnet is present)

Working Principle

When a magnet approaches the glass-encapsulated reed switch inside the module, the reeds are attracted to each other and close the circuit. This change is detected by the onboard circuitry and provided as a digital signal (LOW). When the magnet moves away, the reeds separate, and the output returns HIGH.

Wiring with Arduino

Reed Switch Module Arduino
+ 5V
GND
S D2 (or any digital I/O pin)

Example Arduino Code

const int reedPin = 2;  // Pin connected to the reed switch
const int ledPin = 13;  // Built-in LED

void setup() {
  pinMode(reedPin, INPUT);
  pinMode(ledPin, OUTPUT);
  Serial.begin(9600);
}

void loop() {
  int sensorState = digitalRead(reedPin);
  if (sensorState == LOW) {
    Serial.println("Magnet detected!");
    digitalWrite(ledPin, HIGH);
  } else {
    Serial.println("No magnet.");
    digitalWrite(ledPin, LOW);
  }
  delay(200);
}

Applications

  • Door/window position detection
  • Security alarm systems
  • Robotics position feedback
  • Reed relay triggering
  • Speed sensors (when combined with rotating magnets)

Comparison with Similar Sensors

Sensor Detection Method Output Use Case
Reed Switch Module Magnetism Digital Simple proximity or magnetic detection
Hall Effect Sensor Magnetic field strength Analog or Digital More precise magnetic field measurement
PIR Motion Sensor Infrared radiation Digital Human/animal motion detection

Notes

  • Ensure proper orientation of the magnet relative to the sensor.
  • Avoid exposure to strong mechanical shocks that may damage the reed tube.
  • Use pull-up or pull-down resistors if needed for specific microcontroller configurations.