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
Features:
-
Reed Switch: The module is based on a Reed switch, a magnetic switch activated by a magnetic field. The switch consists of two ferromagnetic blades separated by a small gap. When a magnetic field is applied, the blades attract each other, closing the switch.
-
Comparator LM393 IC: The module contains a comparator LM393 IC, which amplifies and compares the output of the Reed switch. The comparator's output drives the LED and can also be connected to a microcontroller for further processing.
-
Resistors and Capacitor: These components set the threshold voltage of the comparator and filter out any signal noise.
-
Potentiometer: Used to adjust the sensitivity of the Reed switch.
-
Power and Status LED: The module includes a power LED indicating when the module is powered on and a status LED showing when the Reed switch is activated.
-
Wide Range of Applications: Ideal for use in photocopiers, washing machines, refrigerators, cameras, disinfection cabinets, doors, window magnetics, electromagnetic relays, electronic weighing, level meters, gas meters, water meters, and more.
-
Easy to Use: Can be easily connected to a microcontroller or other circuits.
Description:
The Reed Switch Sensor Module is based on a Reed switch, activated by a magnetic field. It features a comparator LM393 IC that amplifies and compares the Reed switch output. The comparator’s output drives the status LED and can be connected to a microcontroller for further processing. The sensitivity is adjustable via a potentiometer, and it includes power and status LEDs.
Principle of Work:
The Reed Switch Sensor Module detects a magnetic field. When the Reed switch is triggered, its blades close, and the output is amplified by the LM393 IC. The comparator compares the output to a threshold voltage set by resistors and capacitors. If the output exceeds the threshold, the comparator output goes high, signaling activation. This signal drives the status LED and can be used in a microcontroller-based system. The sensitivity is adjustable using the potentiometer.
Pinout of the Module:
-
VCC: Power supply (typically 5V DC)
-
GND: Ground connection
-
DO: Digital output pin for Reed switch status, connected to a microcontroller or circuit
-
Additional pins for connecting external components like LEDs
Applications:
-
Security Systems: Used as a security sensor for doors and windows. Triggers when opened, sending a signal to activate alarms.
-
Proximity Detection: Used in conveyor systems, robotics, and manufacturing to detect metal objects.
-
Liquid Level Sensing: Used in tanks and containers for liquid level monitoring, controlling pumps based on float movement.
-
Flow Monitoring: Used for flow detection in pipes, triggering pumps or systems when a magnetic float passes.
-
Motor Control: Used for motor speed or position control in fan speed, robotics, and machine tools.
-
Counting: Applied in counting parts on conveyor belts or other systems.
-
Lighting Control: Turns on lights when a door is opened based on Reed switch activation.
Circuit:
-
Connect the positive leg of an LED to pin 13 on the Arduino
-
Connect the negative leg to a current-limiting resistor, then to ground
-
Connect the DO pin of the Reed switch to pin 6 on the Arduino
-
Connect the GND of the Reed switch to ground and VCC to 5V
Library:
-
No library needed
Code:
int LED = 13;
int ReedSwitch = 6;
void setup() {
Serial.begin(9600);
pinMode(LED, OUTPUT);
pinMode(ReedSwitch, INPUT);
}
void loop() {
int nilai = digitalRead(ReedSwitch);
if(nilai == HIGH) {
digitalWrite(LED, HIGH);
Serial.println("Open");
} else {
digitalWrite(LED, LOW);
Serial.println("Close");
}
}
Technical Details:
-
Operating Voltage: 3.3V to 5V DC
-
Output format: Digital switching output (0 and 1)
-
LED Indicators: For output and power
-
PCB Size: 32mm x 14mm
-
LM393 Based Design
-
Operating Temperature: -40°C to 85°C
-
Operating Current: <15mA
-
Response Time: <20ms
-
PCB Material: FR-4
-
PCB Thickness: 1.6mm
-
Mounting Holes: 3mm
-
Weight: 2g
Comparisons:
-
Reed Switch Sensor Module: Based on a Reed switch, activated by a magnetic field, features a potentiometer for sensitivity adjustment, and uses LM393 IC for amplification and comparison.
-
Vibration/Tilt Sensor Module: Based on a metal ball bearing for vibration and tilt detection, also uses LM393 IC for amplification and comparison, suitable for applications like burglar alarms and smart cars.
Both modules are small, cheap, and versatile, with the Reed Switch Module being ideal for magnetic field detection and the Vibration/Tilt Module suited for motion detection.